rdma_hold_gid_attr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

rdma_hold_gid_attr β€” Get reference to existing GID attribute 🌟

okay so this is rdma_hold_gid_attr(9), straight out of the Kernel API Manual, and it's literally the β€œget a reference to an existing GID attribute” page. Bestie, it's giving reference-count realness. πŸ’…

✨ SYNOPSIS ✨

void rdma_hold_gid_attr (const struct ib_gid_attr *attr );

🫢 ARGUMENTS 🫢

  • attr β€” pointer to the GID attribute whose reference needs to be taken. You're pointing at the GID attribute, and the reference is what we're taking here. No cap.

πŸ’– DESCRIPTION πŸ’–

This increases the reference count to a GID attribute to keep it from being freed. It's the hold-onto-it move, and it's lowkey important. πŸ¦‹

Callers are required to already be holding a reference to attribute. Yes, that's a requirement, bestie β€” don't skip it. 🫢

πŸ¦‹ SEE ALSO πŸ¦‹

All the cross-refs, bestie:


Mwah πŸ’‹ β€” this page is from ./drivers/infiniband/core, dated October 2026, and it's literally rdma_hold_gid_attr(9). Byeee 🫢

πŸ“¦ where this page comes from