iowait_pio_pending(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

Okay bestie, welcome to the iowait_pio_pending(9) page from the Kernel API Manual β€” yes, that one. This function’s whole personality is return pio pending count. That’s the gig. Literally it. πŸ’…βœ¨

✨ SYNOPSIS ✨

int iowait_pio_pending (struct iowait *wait );

Look at that signature: int return, struct iowait *wait argument, and yes, the space before the closing paren is staying, because we keep code exactly as it is in this house. 🫢

πŸ¦‹ ARGUMENTS πŸ¦‹

  • wait β€” the iowait structure. Bestie, this is the struct iowait * from the synopsis, and that’s what you pass in. No cap, it’s the iowait structure. πŸŽ€

πŸŽ€ SEE ALSO πŸŽ€

The kernel file for this one is ./drivers/infiniband/hw/hfi1/iowait.h β€” go look, it’s right there. And the whole iowait friend group is linked below, fr fr:

That’s the whole page β€” tiny, iconic, and very β€œutility function that knows exactly what it is.” πŸ˜­πŸ‘‘

source/version: ./drivers/infiniband/hw/hfi1 Β· date: October 2026 Β· page: iowait_pio_pending(9) β€” mwah πŸ’–

πŸ“¦ where this page comes from