dprc_reset_container(9)
π dprc_reset_container β the Kernel API Manual page, bestie edition
okay so this is dprc_reset_container(9) from the Kernel API Manual, and honestly? it's giving "cleanup era." it's the routine that tells a child container "hey girl, you're getting reset, wrap it up π". let's get into it.
β¨ NAME β¨
dprc_reset_container β Reset child container. that's it, that's the whole vibe.
π¦ SYNOPSIS π¦
int dprc_reset_container (struct fsl_mc_io *mc_io , u32 cmd_flags , u16
token , int child_container_id , u32 options );
like yes, that's a lot of args, but we're gonna go through every single one, no cap π
πΈ ARGUMENTS πΈ
mc_ioβ Pointer to MC portal's I/O object. it's the portal's whole I/O situation, so to speak β¨cmd_flagsβ Command flags; one or more ofMC_CMD_FLAG_. yes, literally that constant, plural flags, pick your faves.tokenβ Token of DPRC object. gotta have the token, iykyk πchild_container_idβ ID of the container to reset. this is the main character of the whole call ngl πoptionsβ 32 bit options, and there are exactly two moods:0(no bits set) β all the objects inside the container are reset. The child containers are entered recursively and the objects reset. All the objects (including the child containers) are closed. full send, deep clean, everything gets closed out π§Ή- bit 0 set β all the objects inside the container are reset. However the child containers are not entered recursively. This option is supported for API versions >=
6.5. In case a software context crashes or becomes non-responsive, the parent may wish to reset its resources container before the software context is restarted. so it's the "shallow clean, don't go digging into the children" option π«Ά
π DESCRIPTION π
This routine informs all objects assigned to the child container that the container is being reset, so they may perform any cleanup operations that are needed. All objects handles that were owned by the child container shall be closed. everybody gets the memo, everybody does their little cleanup ritual, and every handle the child container owned gets closed. periodt. π
Note that such request may be submitted even if the child software context has not crashed, but the resulting object cleanup operations will not be aware of that.
π«£ lowkey important: you can fire this off even when the child software context hasn't crashed β the call won't stop you β but the cleanup operations that result won't know that's the situation. so it's not gonna magically be aware. just so you know, fr fr.
π RETURN π
(the original page has nothing listed here β yes, the section exists and yes it's empty, and we're keeping it that way, no notes π)
π SEE ALSO π
Kernel file ./drivers/bus/fsl-mc/dprc.c, plus the whole friend group:
dprc_open(9)dprc_close(9)dprc_set_irq(9)dprc_set_irq_enable(9)dprc_set_irq_mask(9)dprc_get_irq_status(9)dprc_clear_irq_status(9)dprc_get_attributes(9)dprc_get_obj_count(9)dprc_get_obj(9)dprc_set_obj_irq(9)dprc_get_obj_region(9)dprc_get_api_version(9)dprc_get_container_id(9)dprc_get_connection(9)
go read those too, they ate π₯
and that's the page!! sign-off time: this one lives under ./drivers/bus/fsl-mc, dated October 2026, and it's dprc_reset_container(9) all the way through. mwah, go reset something 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