blk_set_pm_only(9)
π 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 astruct 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:
blk_queue_flag_set(9)blk_queue_flag_clear(9)blk_op_str(9)blk_sync_queue(9)blk_put_queue(9)blk_queue_enter(9)blk_get_queue(9)submit_bio_noacct(9)submit_bio(9)bio_poll(9)bio_start_io_acct(9)blk_lld_busy(9)blk_start_plug(9)blk_finish_plug(9)
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
- 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