pvr_kccb_us...count_locked(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ pvr_kccb_used_slot_count_locked(9) ✨

okay so bestie, we're in the Kernel API Manual today and this little function is genuinely one of the cutest lil helpers in the whole pvr_ccb.c file πŸ’– it's giving "just tells you how many slots are taken" and honestly? we love a low-drama queen πŸ‘‘


🌸 NAME 🌸

pvr_kccb_used_slot_count_locked β€” get the number of used slots πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

u32 pvr_kccb_used_slot_count_locked (struct pvr_device *pvr_dev );

πŸŽ€ ARGUMENTS πŸŽ€

  • pvr_dev β€” device pointer. that's it, that's the whole arg ✨ your struct pvr_device * main character 🫢

⭐ DESCRIPTION ⭐

KCCB lock must be held. πŸ”’ like, must must. no cap. hold the lock before you call this or you're gonna have a bad time 😭


πŸ”₯ RETURN πŸ”₯

  • The number of slots currently used. πŸ’€ that's the whole return value, and she ate πŸ‘‘

🌈 SEE ALSO 🌈

kernel file ./drivers/gpu/drm/imagination/pvr_ccb.c β€” and here's the whole friend group, iykyk 🧚:


bestie reminder: this one's a _locked function, so the lock is your job, not hers πŸ™ˆ

and that's the page!! πŸ’œ brought to you by ./drivers/gpu/drm/imagination, October 2026 β€” periodt, slay, go hold that lock πŸŽ€βœ¨

πŸ“¦ where this page comes from