ib_remove_ucap(9)
π ib_remove_ucap(9) π
okay bestie, welcome to the Kernel API Manual page for ib_remove_ucap(9) β the little cleanup queen for ucap character devices π. Sheβs giving βremove and releaseβ main character energy, and weβre gonna get you fluent, fr fr.
πΈ NAME πΈ
ib_remove_ucap β remove a ucap character device
β¨ SYNOPSIS β¨
void ib_remove_ucap (enum rdma_user_cap type );
π ARGUMENTS π
typeβ the User cap type, aka which kind of ucap weβre removing. no cap, it matters π
π¦ DESCRIPTION π¦
So hereβs the tea: ib_remove_ucap removes the ucap character device according to type. The device is completely removed from the filesystem when its reference count reaches 0 β like, fully gone from the filesystem, not just ghosting the directory πβ¨.
bestie note: the reference count hitting 0 is the moment the removal actually completes, so donβt expect the filesystem to let go before then π«Ά
π SEE ALSO π
- Kernel file
./drivers/infiniband/core/ucaps.c ib_ucaps_init(9)ib_create_ucap(9)ib_get_ucaps(9)
xoxo, your Kernel API Manual bestie π β source/version: ./drivers/infiniband/core; date: October 2026 β¨ periodt.
π¦ 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