ubi_put_device(9)
π ubi_put_device(9) β from the Kernel API Manual π
okay so bestie, welcome to ubi_put_device(9) β this one's a little one-page icon in the kernel API manual, and honestly? she's short, she's sweet, she does exactly one thing. let's get into it π¦
β¨ NAME β¨
ubi_put_device β drop an UBI device reference. that's it. that's the whole job. you're releasing a reference you were holding, no cap π
πΈ SYNOPSIS πΈ
void ubi_put_device (struct ubi_device *ubi );
literally one line, zero drama, returns void (so likeβ¦ nothing comes back, she just does) π
π¦ ARGUMENTS π¦
ubiβ the UBI device description object. this is the device you're dropping a reference on, bestie. hand her over and let her go π«Ά
β SEE ALSO β
the whole friend group shows up here, so let me introduce you:
Kernel file ./drivers/mtd/ubi/build.cstruct mtd_dev_param(9)ubi_volume_notify(9)ubi_notify_all(9)ubi_enumerate_volumes(9)ubi_get_device(9)ubi_get_by_major(9)ubi_major2num(9)kill_volumes(9)uif_init(9)uif_close(9)ubi_free_volumes_from(9)ubi_free_all_volumes(9)ubi_free_internal_volumes(9)io_init(9)autoresize(9)ubi_attach_mtd_dev(9)ubi_detach_mtd_dev(9)open_mtd_by_chdev(9)open_mtd_device(9)bytes_str_to_int(9)ubi_mtd_param_parse(9)
like, that's the entire UBI mtd crew right there. iykyk πβ¨
ngl, this page is giving "short and iconic" β no warnings, no exit statuses, no environment variables, just vibes and a reference count going down. periods. π©·
and that's the whole page, bestie!! π§ββοΈ this little beauty lives in ./drivers/mtd/ubi and the version we're reading is from October 2026 β so yeah, future-iconic fr fr ππ«
π¦ 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