STRUCT P9_REQ_T(9)
π NAME π
struct p9_req_t β request slots. This page is from the Kernel API Manual, and yes bestie, we're getting you comfy with this whole request-slot situation π
β¨
π¦ SYNOPSIS π¦
okay so here's the struct in all its glory β copied exactly, no edits, no cap:
struct p9_req_t {
int status;
int t_err;
refcount_t refcount;
wait_queue_head_t wq;
struct p9_fcall tc;
struct p9_fcall rc;
struct list_head req_list;
};
πΈ Members πΈ
statusβ the status of this request slot, iykyk.t_errβ transport error. if the transport is having a moment, this is where that lives.wqβ the wait queue (wait_queue_head_t) for the client to block on for this request. literally its whole job is "wait here, bestie" π€tcβ the request fcall structure.rcβ the response fcall structure.req_listβ the link for higher-level objects to chain requests. iconic chain-building behavior π
Also: the struct has refcount as a refcount_t, but the original Members rundown doesn't give it a separate description. So I'm just flagging that it's there β not inventing extra lore, periodt π
π SEE ALSO π
Kernel file ./include/net/9p/client.h, plus these absolute cuties:
enum p9_trans_status(9)enum p9_req_status_t(9)struct p9_client(9)struct p9_fd_opts(9)struct p9_rdma_opts(9)struct p9_session_opts(9)struct p9_dirent(9)
okay bye bestie β this little beauty lives at ./include/net/9p, dated October 2026 π«Άβ¨π
π¦ 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