ib_umem_get_desc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

hiii bestie πŸ’– welcome to ib_umem_get_desc(9) from the Kernel API Manual β€” this page is literally about pinning a umem from a buffer descriptor, and it's giving kernel-core realness ✨

🌸 NAME 🌸

ib_umem_get_desc β€” pin a umem from a buffer descriptor. That's the whole name, no cap πŸŽ€

✨ SYNOPSIS ✨

       struct ib_umem * ib_umem_get_desc (struct ib_device *device , const
       struct ib_uverbs_buffer_desc *desc , int access );

that's the signature, bestie β€” keep it exact πŸ‘‘

πŸŽ€ ARGUMENTS πŸŽ€

  • device β€” the IB device, periodt.
  • desc β€” a buffer descriptor; it can be VA or DMABUF, iykyk.
  • access β€” the IB access flags, literally.

πŸ’– RETURN πŸ’–

On success? You get a caller-owned umem πŸ’…. On error? It's ERR_PTR(...) 😭. No in-between energy.

πŸ¦‹ SEE ALSO πŸ¦‹

Go check the kernel file ./drivers/infiniband/core/umem.c and these besties:


okay that's the whole page! this cutie's source/version is ./drivers/infiniband/core, and the date on it is October 2026 β€” ib_umem_get_desc(9), signing off πŸ’œπŸ«Ά

πŸ“¦ where this page comes from