STRUCT SMEM_PTABLE_ENTRY(9)
πΈ 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:
struct smem_proc_comm(9)struct smem_global_entry(9)struct smem_header(9)struct smem_ptable(9)struct smem_partition_header(9)struct smem_partition(9)struct smem_private_entry(9)struct smem_info(9)struct smem_region(9)struct qcom_smem(9)qcom_smem_bust_hwspin_lock_by_host(9)qcom_smem_is_available(9)qcom_smem_alloc(9)qcom_smem_get(9)qcom_smem_get_free_space(9)qcom_smem_virt_to_phys(9)qcom_smem_get_soc_id(9)qcom_smem_get_feature_code(9)
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
- 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