dprc_get_attributes(9)
β¨ dprc_get_attributes(9) β¨
ok so this one's a page from the Kernel API Manual β section 9, kernel developer vibes only, bestie π β and it's literally just one little function that goes and gets you the container attributes. That's it. That's the whole gig. π
πΈ NAME πΈ
dprc_get_attributes β obtains container attributes. no cap, that's exactly what it does π«Ά
π¦ SYNOPSIS π¦
int dprc_get_attributes (struct fsl_mc_io *mc_io , u32 cmd_flags , u16
token , struct dprc_attributes *attr );
it returns an int, and honestly that's the whole synopsis. copy it exactly if you're typing it out, okay? π
π ARGUMENTS π
four of them, all main-character energy, let's go:
mc_ioβ pointer to the MC portal's I/O object π₯ this is your portal handle, the whole vibe of the call runs through itcmd_flagsβ command flags; one or more of'MC_CMD_FLAG_'π© (yes, plural β one or more, bestie)tokenβ token of the DPRC object ποΈ that's your little ticket saying "this specific container, pls"attrβ returned container attributes π this is where the good stuff lands, it's the out-param
π RETURN π
soβ¦ the page's RETURN section is literally empty on this one π like, nothing listed, not even a word. the function returns int in the synopsis, and that's genuinely all the source gives us. ngl, we're not gonna invent error codes that aren't written down here π
not me noticing the RETURN section having zero content β if you need the actual return semantics, the source file below is your girl π
π§ SEE ALSO π§
kernel file ./drivers/bus/fsl-mc/dprc.c π β and the whole DPRC friend group, all iconically cross-referenced:
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_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)
bestie really said "here's my entire contact list" ππ
ok that's the whole page!! sourced from./drivers/bus/fsl-mc, dated October 2026, and yeah it's stilldprc_get_attributes(9)in the Kernel API Manual β slay, go read the C file for the juicy bits, periodt πβ¨
π¦ 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