STRUCT P9_REQ_T(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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