rdmacg_uncharge_hierarchy(9)
π 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 withstop_cgcgroup, stop uncharging. itβs giving βyou shall not passβ but for cgroups. πindexβ index of the resource to uncharge incgin 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:
uncharge_cg_locked(9)rdmacg_event_locked(9)rdmacg_uncharge(9)rdmacg_try_charge(9)rdmacg_register_device(9)rdmacg_unregister_device(9)rdmacg_css_offline(9)
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
- 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