blk_set_pm_only(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… blk_set_pm_only

okay so bestie, welcome to the blk_set_pm_only(9) page β€” a Kernel API Manual moment, brought to you from the ./block corner of the kernel ✨


🌸 NAME 🌸

blk_set_pm_only β€” increment pm_only counter πŸŽ€

Like, that's the whole job. It increments the pm_only counter. Iconic, lowkey minimalist, we love a function with a clear purpose πŸ’–


✨ SYNOPSIS ✨

void blk_set_pm_only (struct request_queue *q );

That's it, that's the whole signature. Returns void, so don't be out here expecting a return value, bestie β€” it's giving "I do my thing and I leave" πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • q β€” request queue pointer 🌈 (literally a pointer to a struct request_queue, that's the vibe)

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./block/blk-core.c, plus the whole friend group of block-layer functions β€” go say hi to all of them fr fr:


ngl this page is short and sweet β€” one function, one pointer, one counter increment. No cap, sometimes that's all you need 🫢

mwah πŸ’œ written under ./block, from the October 2026 edition of the Kernel API Manual. go increment something, bestie βœ¨πŸŽ€

πŸ“¦ where this page comes from