ib_remove_ucap(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 πŸ‘€


xoxo, your Kernel API Manual bestie πŸ’– β€” source/version: ./drivers/infiniband/core; date: October 2026 ✨ periodt.

πŸ“¦ where this page comes from