STRUCT MSM_VM_MAP_OP(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct msm_vm_map_op(9) πŸ’…

okay bestie, welcome to the Kernel API Manual β€” this page is all about struct msm_vm_map_op, the lil struct for create new pgtable mapping. No cap, it’s giving β€œone job, but make it carry every detail.” ✨

🌸 NAME 🌸

  • struct msm_vm_map_op β€” create new pgtable mapping

✨ SYNOPSIS ✨

struct msm_vm_map_op {
    uint64_t iova;
    uint64_t range;
    uint64_t offset;
    struct sg_table *sgt;
    int prot;
    int queue_id;
 };

πŸŽ€ Members πŸŽ€

okay, let’s do a vibe check on every member β€” yes, all six, we are not skipping any πŸ’–

  • iova β€” start address for mapping. That’s the opening act, fr fr.
  • range β€” size of the region to map. The way it just tells you how much πŸŽ€
  • offset β€” offset into sgt to map.
  • sgt β€” pages to map, or NULL for a PRR mapping. Iconic.
  • prot β€” the mapping protection flags.
  • queue_id β€” The id of the submitqueue the operation is performed on, or zero for (in particular) UNMAP ops triggered outside of a submitqueue (ie. process cleanup).

πŸ¦‹ SEE ALSO πŸ¦‹

if you’re doing a deep dive, bestie, these are the pages and the kernel file to hit next:


🫢 that’s the whole page, no notes: source spot is ./drivers/gpu/drm/msm, dated October 2026, and it’s filed under the Kernel API Manual as struct msm_vm_map_op(9). mwah πŸ’‹

πŸ“¦ where this page comes from