STRUCT SMEM_PTABLE_ENTRY(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay so bestie, welcome to the struct smem_ptable_entry(9) page from the Kernel API Manual πŸ’… this struct is literally one entry in the @smem_ptable list β€” that's the whole name vibe, no cap.


🧚 SYNOPSIS 🧚

here's the exact struct layout, bestie β€” copy it with your whole chest:

       struct smem_ptable_entry {
           __le32 offset;
           __le32 size;
           __le32 flags;
           __le16 host0;
           __le16 host1;
           __le32 cacheline;
           __le32 reserved[7];
        };

πŸŽ€ Members πŸŽ€

  • offset β€” the offset, within the main shared memory region, of the partition. it's giving "where this partition lives" ✨
  • size β€” the size of the partition. periodt.
  • flags β€” flags for the partition (currently unused). lowkey just sitting there for now.
  • host0 β€” the first processor/host with access to this partition 🫢
  • host1 β€” the second processor/host with access to this partition 🫢
  • cacheline β€” the alignment for "cached" entries. keep the quotes, bestie.
  • reserved β€” reserved entries for later use. future-proofing icon behavior πŸ’…

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./drivers/soc/qcom/smem.c is the main-character file, and these are the other pages you should absolutely peek at:


mwah πŸ’‹ this page came from source/version ./drivers/soc/qcom, dated October 2026, and it's struct smem_ptable_entry(9) β€” source/version + date noted, bestie 🫢

πŸ“¦ where this page comes from