rproc_del(9)
π rproc_del(9) β from the Kernel API Manual, bestie
okay so you found the page for rproc_del(9), the little "actually, never mind" button for a remote processor. Sit down, hydrate, let's get into it π«Ά
β¨ NAME β¨
rproc_del β unregister a remote processor πΈ
β¨ SYNOPSIS β¨
int rproc_del (struct rproc *rproc );
β¨ ARGUMENTS β¨
rprocβ therprochandle you wanna unregister. like, the actual handle. not a vibe, an actual handle π
β¨ DESCRIPTION β¨
So this is the function you call when your platform-specific rproc implementation has decided it's time to remove the rproc device. Girl, this is the breakup scene π
the one rule bestie: it should _only_ be called if a previous invocation ofrproc_addhas completed successfully. no successfulrproc_add? norproc_del. that's the whole vibe check. β
And here's the plot twist β after rproc_del returns, rproc isn't freed yet. Not even a little. Why? because of the outstanding reference created by rproc_alloc. So to decrement that one last refcount, you still need to call rproc_free. It's giving "part one of a two-part finale" π
β¨ RETURN β¨
0on success π-EINVALifrprocisn't valid π
β¨ SEE ALSO β¨
Kernel file ./drivers/remoteproc/remoteproc_core.c, plus the whole friend group:
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_put(9)devm_rproc_alloc(9)rproc_add_subdev(9)rproc_remove_subdev(9)rproc_get_by_child(9)rproc_report_crash(9)
that's the whole page, no cap β¨ this one lives under ./drivers/remoteproc and it's dated October 2026 β so like, mark your calendar bestie, mwah π π¦ π
π¦ 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