ib_umem_get_desc(9)
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:
ib_umem_find_best_pgsz(9)ib_umem_get_attr(9)ib_umem_get_attr_or_va(9)ib_umem_get_cq_buf(9)ib_umem_get_cq_buf_or_va(9)ib_umem_release(9)
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
- 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