msgb_init(9)
β¨ NAME β msgb_init(9) β¨
From the Kernel API Manual, bestie π: msgb_init initializes the given message buffer struct. That's the whole vibe β setup era, no drama, just getting your message buffer struct ready. π«Ά
πΈ SYNOPSIS πΈ
The signature is literally this, character for character:
void msgb_init (struct msgbuf *msgb , u8 *ptr , size_t cap );
π ARGUMENTS π
msgbβ the buffer struct to initialize π«Άptrβ pointer to the underlying memory by which the buffer will be backed.capβ size of the underlying memory.
π¦ DESCRIPTION π¦
Okay so this is the setup moment: initialize the given message buffer struct using the provided memory as backing. No cap, that's it. β¨
π SEE ALSO π
The squad and the kernel file are all here, bestie:
- Kernel file
./drivers/platform/surface/aggregator/ssh_msgb.h struct msgbuf(9)msgb_bytes_used(9)msgb_push_u16(9)msgb_push_syn(9)msgb_push_buf(9)msgb_push_crc(9)msgb_push_frame(9)msgb_push_ack(9)msgb_push_nak(9)msgb_push_cmd(9)
Bye bestie! π
β¨ This page comes from the ./drivers/platform/surface/agg... source/version and is dated October 2026 β msgb_init(9), out! π«Ά
π¦ 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