ib_dealloc_pd(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ib_dealloc_pd β€” the kernel API manual, section 9, bestie πŸ’…

okay so real talk, this one's a lil page from the kernel API manual (that's section 9, iykyk) and it's all about saying bye-bye to a kernel PD. short page, iconic behavior, let's go πŸŽ€


✨ NAME ✨

ib_dealloc_pd β€” literally deallocates a kernel PD. that's it. that's the whole vibe check πŸ¦‹


🌸 SYNOPSIS 🌸

void ib_dealloc_pd (struct ib_pd *pd );

no cap, that's the entire signature. returns nothing, takes one thing. clean. minimal. ate. πŸ‘‘


πŸ’– ARGUMENTS πŸ’–

  • pd β€” the protection domain. yes that protection domain. the one you're sending off into the void 🫢

πŸŽ€ NOTE πŸŽ€

okay bestie this is the important part, listen up πŸ™ˆ

for user PD use ib_dealloc_pd_user with valid udata!

like. if it's a user PD you do not come through here, you go to ib_dealloc_pd_user and you bring a valid udata with you. no valid udata? no. do not pass go. do not collect $200. πŸ’€


🌈 SEE ALSO 🌈

bestie the guest list for this function's party is long, so buckle up, we're listing every single one of them, no skipping, no summarising, i would never 😭

kernel file ./include/rdma/ib_verbs.h, plus:

like i said. the whole guest list. every single name, present and accounted for, slay πŸ’…βœ¨


and that's the page!! tysm for reading, mwah 🫢 this one lives in ./include/rdma and it's dated October 2026, so yeah β€” see you in the future bestie, stay deallocated πŸ’œπŸ§šβ€β™€οΈ

πŸ“¦ where this page comes from