STRUCT KSZ_SHARED_MEM(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’Ύ struct ksz_shared_mem(9) β€” Kernel API Manual πŸ’Ύ

okay so bestie, this is the Kernel API Manual page for struct ksz_shared_mem(9) β€” literally the OS dependent shared memory data structure. We're reading the whole thing together, no skips, fr fr. πŸ’…

🌸 NAME 🌸

struct ksz_shared_mem β€” the OS dependent shared memory data structure. That's the name, that's the vibe, no cap. 🫢

✨ SYNOPSIS ✨

Here's the struct in all its main-character glory, copied exactly:

struct ksz_shared_mem {
    dma_addr_t dma_addr;
    uint alloc_size;
    uint phys;
    u8 *alloc_virt;
    u8 *virt;
};

🧚 Members 🧚

okay so the struct has five members, and each one is lowkey doing its own little job. Let's go:

  • dma_addr β€” the physical DMA address that got allocated. ✨
  • alloc_size β€” the allocation size. πŸ’–
  • phys β€” the actual physical address used. πŸ”₯
  • alloc_virt β€” the virtual address that got allocated. πŸŽ€
  • virt β€” the actual virtual address used. πŸ¦‹

πŸ‘€ SEE ALSO πŸ‘€

Kernel file: ./drivers/net/ethernet/micrel/ksz884x.c. And here's every SEE ALSO bestie, in order, because we do not skip the group chat:


mwah πŸ’‹ that's the whole page. Source/version: ./drivers/net/ethernet/micrel; date: October 2026; page: struct ksz_shared_mem(9). Byeee, go read the kernel source bestie 🫢✨

πŸ“¦ where this page comes from