STRUCT IPC_TASK_QUEUE_ARGS(9)
β¨ struct ipc_task_queue_args(9) β¨
okay bestie, welcome to the Kernel API Manual π this one's all about struct ipc_task_queue_args β literally just the struct that Task queue elements are made of. no cap, that's the whole vibe.
πΈ NAME πΈ
struct ipc_task_queue_args β Struct for Task queue elements π
π¦ SYNOPSIS π¦
struct ipc_task_queue_args {
struct iosm_imem *ipc_imem;
void *msg;
struct completion *completion;
int (*func)(struct iosm_imem *ipc_imem, int arg, void *msg, size_t size);
int arg;
size_t size;
int response;
u8 is_copy:1;
};
π Members π
okay so here's the cast of this struct, each one doing its little main character thing:
ipc_imemβ Pointer tostruct iosm_imemβ¨msgβ Message argument for the tasklet function. it's optional, bestie β can beNULLπ«Άcompletionβ OS object used to wait for the tasklet function to finish, for synchronous calls βfuncβ Function to be called in tasklet (tl) context π₯argβ Generic integer argument for the tasklet function (optional) πsizeβ Message size argument for the tasklet function (optional) πresponseβ Return code of the tasklet function, for synchronous calls πis_copyβ Is true ifmsgcontains a pointer to a copy of the originalmsg, for async. calls that needs to be freed once the tasklet returns π (yes, it needs freeing β don't forget, iykyk)
π SEE ALSO π
go check out the kernel file ./drivers/net/wwan/iosm/iosm_ipc_task_queue.h, plus these iconic siblings:
struct ipc_task_queue(9)struct ipc_task(9)ipc_task_init(9)ipc_task_deinit(9)ipc_task_queue_send_task(9)
and that's the whole page, bestie, you ate that π mwah π
source: ./drivers/net/wwan/iosm β dated October 2026 π§ββοΈ slay, go read the kernel now π
π¦ 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