STRUCT QCOM_SMD_ALLOC_ENTRY(9)
π struct qcom_smd_alloc_entry(9) β a Kernel API Manual moment π
okay so bestie, this is the manual page for struct qcom_smd_alloc_entry(9) and honestly? it's giving "small but mighty." it's a channel allocation entry and we're gonna get into it. β¨
πΈ NAME πΈ
struct qcom_smd_alloc_entry β channel allocation entry
like literally that's the whole vibe. it's an entry. for allocating a channel. no cap. π
π¦ SYNOPSIS π¦
struct qcom_smd_alloc_entry {
u8 name[20];
__le32 cid;
__le32 flags;
__le32 ref_count;
};
so this is the whole struct, exactly as it lives, and yes we're keeping the slightly off-kilter indentation of that closing brace because it's canon. don't @ me. π₯
π Members π
nameβ channel name π« β and heads up, it's au8 name[20], so it's a fixed twenty-byte situation, not some infinite string nonsense.cidβ channel index π (a__le32, little-endian, respect the endianness bestie)flagsβ channel flags and edge id π¦ β both things, one field, we love a multitaskerref_countβ reference count of the channel β β it's counting refs, that's the whole job, and it's doing it iconically
π SEE ALSO π
- Kernel file
./drivers/rpmsg/qcom_smd.cβ like, the actual source, go read it iykyk π struct qcom_smd_edge(9)struct qcom_smd_channel(9)__qcom_smd_send(9)qcom_smd_register_edge(9)qcom_smd_unregister_edge(9)
all of these are the friend group, they all hang out in the same corner of the kernel, go say hi π«Ά
π real talk: this page is short, but every field matters βname,cid,flags,ref_count, all four, don't skip a single one. periodt.
and that's the whole page bestie! πΈ this cutie pie of a manpage lives in ./drivers/rpmsg, and it's stamped October 2026 β yeah, the future, she's ahead of her time. π§ββοΈβ¨ love that for her. bye babes! ππ
π¦ 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