rvt_dereg_clean_qps(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… rvt_dereg_clean_qps(9)

okay bestie, welcome to the Kernel API Manual ✨ this one's a lil function page, rvt_dereg_clean_qps β€” and yes it's as niche as it sounds, but we're gonna slay it together 🫢


✨ NAME ✨

rvt_dereg_clean_qps β€” find QPs for reference cleanup πŸ”

like, the whole vibe is: go hunt down the QPs so the references can get cleaned up. periodt.


πŸŽ€ SYNOPSIS πŸŽ€

void rvt_dereg_clean_qps (struct rvt_mregion *mr );

that's it, that's the whole signature πŸ’€ returns void, takes one thing. no cap.


🌸 ARGUMENTS 🌸

  • mr β€” the MR that's being deregistered. that's the memory region we're saying bye to πŸ‘‹πŸ’”

πŸ’– DESCRIPTION πŸ’–

so what does it actually do? bestie. this routine iterates RC QPs looking for references to the lkey noted in mr πŸ”₯

that's the whole bit β€” it walks the RC QPs, checks 'em for refs to the lkey that lives in mr, and that's how it finds the QPs that need reference cleanup. it's giving main character energy for the cleanup process ngl πŸ’…

no weird edge cases here, no return value to check β€” it's void, so literally nothing comes back at you 😌

πŸ¦‹ SEE ALSO πŸ¦‹

like, the whole mr.c friend group fr fr 🌈 go read 'em, they're all icons πŸ‘‘


and that's a wrap!! this page lives with the source in ./drivers/infiniband/sw/rdmavt and it's dated October 2026 β€” so go forth, deregister those QPs, and remember: reference cleanup is self care πŸ§–β€β™€οΈπŸ’œ slay πŸ¦‹βœ¨

πŸ“¦ where this page comes from