svc_proc_name(9)
π svc_proc_name π
okay so real talk, this is a page from the Kernel API Manual, section 9 β yes bestie, the big-kid kernel developer section, we're in the sunrpc part of the tree and it's giving very much "I read ./net/sunrpc/svc.c for fun" energy β¨
πΈ NAME πΈ
svc_proc_name β returns the RPC procedure name, but as a string π
β¨ SYNOPSIS β¨
const char * svc_proc_name (const struct svc_rqst *rqstp );
that's it. one function. one argument. zero drama. slay π«Ά
π¦ ARGUMENTS π¦
rqstpβ thesvc_rqstyou wanna operate on, that's the whole vibe π
π DESCRIPTION π
so like, the return value is a pointer to a NUL-terminated string β that's the entire description, no cap, the manpage said what it said and dipped π
pointer. NUL-terminated string. periodt. π
ngl bestie, that's literally all the source gives us β no extra lore, no secret behaviour, we're not out here inventing facts π
π₯ SEE ALSO π₯
the whole sunrpc friend group showed up for this one, and honestly? iconic π
- Kernel file
./net/sunrpc/svc.c sunrpc_get_pool_mode(9)svc_serv_nrpools(9)svc_pool_for_cpu(9)svc_create(9)svc_create_pooled(9)svc_pool_wake_idle_thread(9)svc_new_thread(9)svc_set_pool_threads(9)svc_set_num_threads(9)svc_serv_maxthreads(9)svc_rqst_replace_page(9)svc_rqst_release_pages(9)svc_exit_thread(9)svc_register(9)svc_stat_alloc_counts(9)svc_stat_free_counts(9)svc_process(9)svc_process_bc(9)svc_max_payload(9)svc_encode_result_payload(9)svc_fill_symlink_pathname(9)
go read them all, i'll wait π
π§ sign-off π§
this lil masterpiece lives under ./net/sunrpc and got stamped October 2026 β so go forth, call svc_proc_name, get your string, and remember: it's NUL-terminated, bestie, just like we like it ππ
thanks for coming to my ted talk, mwah π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms