anon_transp...ass_register(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME

anon_transport_class_register β€” bestie, this is the one that registers an anonymous class πŸ’…

(this page lives in the Kernel API Manual, and the header up top is stylin' it as anon_transp...ass_register(9) β€” she's long, she got clipped, it's fine πŸŽ€)


✨ SYNOPSIS

void anon_transport_class_register (struct anon_transport_class *atc );

🫢 ARGUMENTS

  • atc β€” the anon transport class you wanna register. that's her. that's the one πŸ¦‹

πŸ’– DESCRIPTION

okay so picture this: the anonymous transport class is literally holding two things at once β€” a transport class and a container. multitasking icon πŸ‘‘

but here's the whole ~vibe~ of the anonymous class: she never actually has any device attributes associated with her (and honestly? that saves on container storage, we love an efficient queen πŸ’€). so the only thing she can be used for is triggering events. that's it. that's her whole job. main character energy but make it a single purpose ✨

so what you gotta do is: prezero first 🧚, and then use DECLARE_ANON_TRANSPORT_CLASS to initialise the anon transport class storage. no skipping steps, no cap πŸ™ˆ

ngl, don't try to get device attributes out of her β€” she doesn't have any, that's the entire point of the "anonymous" thing πŸ’…

πŸ”₯ SEE ALSO

she's got a whole friend group, fr fr 🌈


okay that's the page!! πŸ’œ source lives over at ./drivers/base, dated October 2026, and yep the footer is still repping anon_transp...ass_register(9) because she's iconic like that ⭐ mwah, go register something πŸ’‹

πŸ“¦ where this page comes from