rproc_put(9)
π rproc_put(9) β Kernel API Manual π
okay bestie, welcome to the kernel API manual, this one's rproc_put(9) and it's honestly a little emo but in a slay way π
β¨ NAME β¨
rproc_put β release rproc reference π«Ά
πΈ SYNOPSIS πΈ
void rproc_put (struct rproc *rproc );
like yes that's the whole signature, she's tidy π
π ARGUMENTS π
rprocβ the remote processor handle π (this is the one you're letting go of, be gentle)
π¦ DESCRIPTION π¦
So here's the vibe: this function decrements the rproc dev refcount. That's it. That's the whole job. β¨
And then β and this is the main character moment β if no one holds any reference to rproc anymore, then its refcount would now drop to zero, and it would be freed. π So like, after this call your handle might literally not exist anymore, no cap. act accordingly π
π SEE ALSO π
the whole friend group fr fr, all in the kernel file ./drivers/remoteproc/remoteproc_core.c:
rproc_da_to_va(9)rproc_find_carveout_by_name(9)rproc_check_carveout_da(9)rproc_handle_vdev(9)rproc_handle_trace(9)rproc_handle_devmem(9)rproc_alloc_carveout(9)rproc_release_carveout(9)rproc_handle_carveout(9)rproc_add_carveout(9)rproc_mem_entry_init(9)rproc_of_resm_mem_entry_init(9)rproc_of_parse_firmware(9)rproc_alloc_registered_carveouts(9)rproc_resource_cleanup(9)rproc_trigger_recovery(9)rproc_crash_handler_work(9)rproc_boot(9)rproc_shutdown(9)rproc_detach(9)rproc_get_by_phandle(9)rproc_set_firmware(9)rproc_add(9)devm_rproc_add(9)rproc_type_release(9)rproc_alloc(9)rproc_free(9)rproc_del(9)devm_rproc_alloc(9)rproc_add_subdev(9)rproc_remove_subdev(9)rproc_get_by_child(9)rproc_report_crash(9)
bestie reminder: this page lives in./drivers/remoteproc, dated October 2026, and it's filed underrproc_put(9). that's the whole lore ππ§
k that's it, go forth and decrement responsibly πβ¨
π¦ 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