libie_cp_can_send_onstack(9)
π libie_cp_can_send_onstack(9) β Kernel API Manual π
okay bestie, welcome to the Kernel API Manual page for libie_cp_can_send_onstack(9). This one is short, sweet, and honestly kind of iconic: it answers one very specific question about whether a message can be sent using a stack variable. no cap. π«Ά
β¨ NAME β¨
libie_cp_can_send_onstack β can a message be sent using a stack variable? yes, that is literally the whole assignment. π
πΈ SYNOPSIS πΈ
bool libie_cp_can_send_onstack (u32 size );
π ARGUMENTS π
sizeβ ctlq data buffer size. that's the vibe, that's the input. π
π¦ RETURN π¦
It returns true if the message size is small enough for the caller to pass an on-stack buffer, and false if kmalloc is needed. so, yes: this function is out here doing a little size vibe check for you. β¨
π SEE ALSO π
start at the kernel file ./include/linux/net/intel/libie/controlq.h, then follow the enum libie_ctlq_type(9) rabbit hole. the whole crew is linked up:
enum libie_ctlq_type(9)struct libie_ctlq_ctx(9)struct libie_ctlq_reg(9)struct libie_cp_dma_mem(9)struct libie_ctlq_msg(9)struct libie_ctlq_create_info(9)struct libie_ctlq_info(9)struct libie_ctlq_desc(9)struct libie_ctlq_clean_params(9)libie_ctlq_release_rx_buf(9)enum libie_ctlq_xn_state(9)struct libie_ctlq_xn(9)struct libie_ctlq_xn_manager(9)struct libie_ctlq_xn_send_params(9)struct libie_ctlq_xn_recv_params(9)struct libie_ctlq_xn_init_params(9)
and that's the whole page, bestie. this little baddie is serving source/version ./include/linux/net/intel/libie energy, dated October 2026, and it's literally titled libie_cp_can_send_onstack(9). bye and slay πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms