rpc_find_or...e_dir_object(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so the header on this page is rpc_find_or...e_dir_object(9) β€” that's the Kernel API Manual label β€” and the actual function name is rpc_find_or_alloc_pipe_dir_object. it's giving lowkey short-and-mysterious, bestie, because this manpage is minimal. we're keeping every crumb though πŸ’…

πŸŽ€ NAME πŸŽ€

rpc_find_or_alloc_pipe_dir_object β€” and that's literally the whole vibe. the original line is just the function name, a space, a dash, and then nothing. no description, no extra words, just a lonely little - doing its best. no cap, that's the whole NAME section. periodt. πŸ’€

✨ SYNOPSIS ✨

here's the signature, exactly as written, because code does not get a makeover:

       struct rpc_pipe_dir_object * rpc_find_or_alloc_pipe_dir_object (struct
       net *net , struct rpc_pipe_dir_head *pdh , int (*match)(struct
       rpc_pipe_dir_object *, void *) , struct rpc_pipe_dir_object
       *(*alloc)(void *) , void *data );

🫢 ARGUMENTS 🫢

the cast of characters is five, and they are exactly:

  • net β€” a pointer to struct net. that's the whole description, bestie.
  • pdh β€” a pointer to struct rpc_pipe_dir_head. iconic struct name, no notes.
  • match β€” the match-y callback: it matches a struct rpc_pipe_dir_object to data. literally what the manpage says.
  • alloc β€” the allocation callback: it allocates a new struct rpc_pipe_dir_object. slay.
  • data β€” user defined data for match and alloc. it's giving pass-through energy.

🌈 SEE ALSO 🌈

the source file is ./net/sunrpc/rpc_pipe.c β€” yes, the manpage says Kernel file ./net/sunrpc/rpc_pipe.c β€” and the related function squad is:

go read them if you want the full lore πŸ”₯


okay that's the whole page, bestie 🫢 β€” signing off from the source/version ./net/sunrpc, October 2026. mwah πŸ’‹

πŸ“¦ where this page comes from