rio_alloc_net(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

rio_alloc_net(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual page for rio_alloc_net(9) β€” it's giving "small function, big RIO network setup energy" and I'm kind of obsessed. πŸ¦‹ This is the one that gets a new RIO network data structure all cute and ready, and the details are literally right here. ✨


✨ NAME ✨

rio_alloc_net β€” allocate and initialize a new RIO network data structure. πŸŽ€

πŸ¦‹ SYNOPSIS πŸ¦‹

struct rio_net * rio_alloc_net (struct rio_mport *mport );

πŸ’… ARGUMENTS πŸ’…

  • mport β€” the Master port associated with the RIO network. That's the whole argument list, bestie β€” one icon, one job. πŸ’…

πŸ”₯ DESCRIPTION πŸ”₯

okay so here's the tea: rio_alloc_net allocates a RIO network structure, initializes per-network list heads, and adds the associated master port to the network list of associated master ports. It's giving "set up the network bookkeeping so everything can slay later" energy. 🧚

It returns a RIO network pointer on success, or NULL on failure. No cap β€” that's the success/failure situation, and NULL is the "nope, didn't work" vibe. 😭

🌈 SEE ALSO 🌈

the kernel file is ./drivers/rapidio/rio.c, and the SEE ALSO squad is long, iconic, and fully listed here so nobody gets left out: πŸ‘‘


xoxo, your kernel bestie 🫢 β€” source/version: ./drivers/rapidio, date: October 2026.

πŸ“¦ where this page comes from