STRUCT MEMREF(9)
okay bestie, meet struct memref(9) from the Kernel API Manual β sheβs the memory reference structure and sheβs lowkey iconic. π
β¨
π NAME π
struct memref β memory reference structure. Thatβs the whole name, no cap. π«Ά
π SYNOPSIS π
struct memref {
u32 buf_id;
u32 offset;
u32 size;
};
Three u32 fields, and thatβs the vibe. π
π«Ά Members π«Ά
buf_idβ buffer ID of the buffer mapped byTEE_CMD_ID_MAP_SHARED_MEM. πoffsetβ offset in bytes from beginning of the buffer. πΈsizeβ data size in bytes. π
π SEE ALSO π
- Kernel file
./drivers/tee/amdtee/amdtee_if.h struct tee_sg_desc(9)struct tee_cmd_map_shared_mem(9)struct tee_cmd_unmap_shared_mem(9)struct tee_cmd_load_ta(9)struct tee_cmd_unload_ta(9)struct tee_cmd_open_session(9)struct tee_cmd_close_session(9)struct tee_cmd_invoke_cmd(9)
mwah π β this cutie is from ./drivers/tee/amdtee, dated October 2026, and the title stays struct memref(9). 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