rpc_queue_upcall(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay so this is rpc_queue_upcall, straight out of the Kernel API Manual, and it does exactly what it says on the tin, bestie: it queues an upcall message to userspace. iconic behavior, no cap πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

int rpc_queue_upcall (struct rpc_pipe *pipe , struct rpc_pipe_msg *msg
);

πŸŽ€ ARGUMENTS πŸŽ€

  • pipe β€” the upcall pipe on which to queue the given message 🫢
  • msg β€” the message to queue ✨

πŸ’… DESCRIPTION πŸ’…

So you call this with an inode created by rpc_mkpipe to queue an upcall. That's the whole vibe.

Then, later, a userspace process may read the upcall β€” literally by performing a read on an open file for this inode. cute, right? 😌

And listen: it is up to the caller to initialize the fields of msg appropriately. Every field except msg->list, okay? That one is not your problem. The rest? You better have them set up correctly, fr fr πŸŽ€


🌈 SEE ALSO 🌈

Kernel file ./net/sunrpc/rpc_pipe.c, and the whole bestie lineup:


okay bye bestie, this was rpc_queue_upcall(9) from source/version ./net/sunrpc, dated October 2026 β€” periodt πŸ’–βœ¨

πŸ“¦ where this page comes from