rproc_release_carveout(9)
π rproc_release_carveout(9)
okay bestie, welcome to the Kernel API Manual β¨ β this one's a little one, but she's important, so let's get into it π«Ά
πΈ NAME πΈ
rproc_release_carveout β release acquired carveout π
Like, you grabbed it, now let it go. Closure! We love to see it π
β¨ SYNOPSIS β¨
int rproc_release_carveout (struct rproc *rproc , struct rproc_mem_entry *mem );
π ARGUMENTS π
rprocβ the rproc handle π (your main character, the remote processor in question)memβ the memory entry to release π¦ (the one you're letting go of)
π DESCRIPTION π
So here's the tea β: this function releases the specified memory entry mem that was allocated via the rproc_alloc_carveout function by rproc.
That's it. That's the whole vibe. She's a cleanup girlie π§Ήβ¨ What was acquired gets released, no cap π₯
β RETURN β
0on success π- or an appropriate error code otherwise π (iykyk, check it fr fr)
π¦ SEE ALSO π¦
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_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)rproc_del(9)devm_rproc_alloc(9)rproc_add_subdev(9)rproc_remove_subdev(9)rproc_get_by_child(9)rproc_report_crash(9)
ngl that's a long guest list but they're all invited π the whole ./drivers/remoteproc friend group showed up π
mwah π that's the whole page β brought to you by the ./drivers/remoteproc girlies, October 2026 edition πβ¨ slay responsibly, bestie π«Ά
π¦ 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