STRUCT MBOX_CHAN(9)
struct mbox_chan(9)
okay bestie, welcome to the Kernel API Manual page for struct mbox_chan β the s/w side of a communication chan, and it is literally giving kernel-core cutie energy. π This struct is the kernel API's whole vibe for representing a communication channel, and we are gonna roll call every single member. no cap. β¨
πΈ NAME πΈ
struct mbox_chan β s/w representation of a communication chan π
β¨ SYNOPSIS β¨
struct mbox_chan {
struct mbox_controller *mbox;
unsigned txdone_method;
struct mbox_client *cl;
struct completion tx_complete;
int tx_status;
void *active_req;
unsigned msg_count, msg_free;
void *msg_data[MBOX_TX_QUEUE_LEN];
spinlock_t lock;
void *con_priv;
};
π Members π
okay so this struct is lowkey a whole lineup of fields, and every one has a job. let's go, bestie:
mboxβ Pointer to the parent/provider of this channel. Like, who owns this chan? this pointer knows. πtxdone_methodβ Way to detect TXDone chosen by the API. That's the API's chosen TXDone-detection method. π₯clβ Pointer to the current owner of this channel. The current main character, basically. πtx_completeβ Transmission completion. The transmission-completion field, periodt. β¨tx_statusβ Transmission status. The receipts on the transmission. π§Ύactive_reqβ Currently active request hook. The request hook that's active right now. π¦msg_countβ No. of mssg currently queued. Count 'em, bestie. πmsg_freeβ Index of next available mssg slot. The next free mssg slot index. πmsg_dataβ Hook for data packet. Data packet hook, slay. πlockβ Serialise access to the channel. Keeps access to the channel serialised. πcon_privβ Hook for controller driver to attach private data. Controller driver's private-data hook. π
π SEE ALSO π
- Kernel file
./include/linux/mailbox_controller.hstruct mbox_chan_ops(9),struct mbox_controller(9)
π«Ά that's the whole struct, bestie. source/version path: ./include/linux; date: October 2026 β struct mbox_chan(9) signing off! periodt. π
π¦ 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