sunrpc_nl_un..._reqs_dumpit(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

sunrpc_nl_un..._reqs_dumpit(9)

okay so bestie, this page is from the Kernel API Manual, and it’s giving β€œtiny but important kernel netlink dump function” energy. let’s get into it πŸ’…

πŸ’– NAME πŸ’–

sunrpc_nl_unix_gid_get_reqs_dumpit β€” dump pending unix_gid requests. no cap, that’s the whole name 🫢

✨ SYNOPSIS ✨

int sunrpc_nl_unix_gid_get_reqs_dumpit (struct sk_buff *skb , struct
       netlink_callback *cb );

πŸŽ€ ARGUMENTS πŸŽ€

  • skb β€” the reply buffer. that’s where the reply goes πŸ’Œ
  • cb β€” netlink metadata and command arguments. it’s carrying the netlink context, bestie 🧚

🌸 DESCRIPTION 🌸

So this one walks the unix_gid cache’s pending request list and creates a netlink message with a nested entry for each cache_request, and each of those entries contains the seqno and uid. it’s literally making one cute nested entry per pending request πŸ”₯

It uses cb->args[0] as a seqno cursor for dump continuation across multiple netlink messages β€” yes, that’s how it keeps its place when the dump spills over into more messages. iconic behavior, honestly ✨

And the return? It returns the size of the reply or a negative errno. that’s it. that’s the vibe check πŸ’€

πŸ¦‹ SEE ALSO πŸ¦‹


okay that’s the whole page, bestie β€” source/version is ./net/sunrpc, dated October 2026. mwah πŸ’‹πŸŽ€βœ¨

πŸ“¦ where this page comes from