dprc_get_container_id(9)
π dprc_get_container_id π
okay so bestie, welcome to the Kernel API Manual entry for dprc_get_container_id β it's a tiny little function that goes and fetches the container ID that belongs to a given portal. that's the whole vibe. short, sweet, slays, done β¨
πΈ NAME πΈ
dprc_get_container_id β literally "Get container ID associated with a given portal." that's it, that's the mission statement π
β¨ SYNOPSIS β¨
int dprc_get_container_id (struct fsl_mc_io *mc_io , u32 cmd_flags , int *container_id );
she takes three things and returns an int, periodt π
π ARGUMENTS π
mc_ioβ pointer to the Mc portal's I/O object. this is the portal bestie in question, the whole reason we're here π«Άcmd_flagsβ the command flags, and the manual says it's one or more of'MC_CMD_FLAG_'. yes that trailing underscore is doing its own thing, we don't question the source, we just report it π§container_idβ the requested container id. this is theint *you hand over so the answer has somewhere cute to live π¦
ngl the original text for container_id is just "Requested container id" and honestly? iconic minimalism. no filler, no fluff, just vibes.
π¦ RETURN π¦
soβ¦ this section exists in the manual, but it is empty. like, genuinely blank. the manpage does not describe the return value here, and i'm not about to make one up for you, bestie β that would be a lie and lying about kernel APIs is not the move π
so: the function returns int per the synopsis, and the RETURN section gives you zero further detail. the way that the docs just said "figure it out" π
π SEE ALSO π
the kernel file lives at ./drivers/bus/fsl-mc/dprc.c, and if you want the whole friend group, here's everyone:
dprc_open(9)dprc_close(9)dprc_reset_container(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_connection(9)
and that's the page! π this little gem comes to you from ./drivers/bus/fsl-mc, dated October 2026 β go read the neighbors, stay hydrated, and may your container IDs always be the one you asked for ππ
π¦ 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