rdmacg_uncharge_hierarchy(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌈 rdmacg_uncharge_hierarchy(9) 🌈

okay bestie, welcome to the Kernel API Manual page for rdmacg_uncharge_hierarchy(9) β€” yes, the whole function name is a mouthful, and yes, it’s iconic. πŸ’…


πŸ’– NAME πŸ’–

hierarchically uncharge rdma resource count β€” that’s the whole vibe, no cap. ✨


✨ SYNOPSIS ✨

void rdmacg_uncharge_hierarchy (struct rdma_cgroup *cg , struct rdmacg_device *device , struct rdma_cgroup *stop_cg , enum rdmacg_resource_type index );

it returns void, so don’t go looking for a return value, bestie. 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • cg β€” pointer to the cg to uncharge, plus all its parents in the hierarchy. yes, the whole family tree gets the uncharge treatment. 🌳✨
  • device β€” pointer to the rdmacg device. πŸŽ€
  • stop_cg β€” while traversing the hierarchy, when you meet with stop_cg cgroup, stop uncharging. it’s giving β€œyou shall not pass” but for cgroups. πŸ’€
  • index β€” index of the resource to uncharge in cg in the given resource pool. 🧚

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./kernel/cgroup/rdma.c is where the magic lives β€” and you should also go say hi to these icons:

mwah πŸ’‹ β€” this page lives under ./kernel/cgroup and it’s dated October 2026. now go uncharge that hierarchy, bestie, and remember: read the source, not just the vibe. 🫢✨

πŸ“¦ where this page comes from