sq_to_tg(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to sq_to_tg(9) from the Kernel API Manual πŸ’– this one is short, sweet, and lowkey iconic β€” we're checking which throttle group a service queue belongs to. periodt ✨

πŸ’– NAME πŸ’–

sq_to_tg β€” return the throl_grp the specified service queue belongs to. no cap, that's the exact spelling from the page, and we're keeping it 🫢

✨ SYNOPSIS ✨

struct throtl_grp * sq_to_tg (struct throtl_service_queue *sq );

πŸŽ€ ARGUMENTS πŸŽ€

  • sq β€” the throtl_service_queue of interest πŸ‘€ aka the queue we're asking about.

πŸ¦‹ DESCRIPTION πŸ¦‹

Return the throtl_grp that sq belongs to. that's the whole vibe ✨

But bestie, plot twist: if sq is the top-level one embedded in throtl_data, then NULL is returned πŸ’€ so NULL is literally the whole answer in that case.

🌈 SEE ALSO 🌈

Kernel file ./block/blk-throttle.c is the main character here β€” go peek at these besties for the full lore:


okurrr that's the whole page πŸŽ€ this lil manpage lives under ./block, dated October 2026, and it's serving sq_to_tg(9) realness πŸ’…βœ¨

πŸ“¦ where this page comes from