pvr_kccb_us...count_locked(9)
β¨ 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 β¨ yourstruct 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 π§:
pvr_ccb_init(9)pvr_ccb_fini(9)pvr_ccb_slot_available_locked(9)pvr_fwccb_process(9)pvr_kccb_capacity(9)pvr_kccb_send_cmd_reserved_powered(9)pvr_kccb_try_reserve_slot(9)pvr_kccb_reserve_slot_sync(9)pvr_kccb_send_cmd_powered(9)pvr_kccb_send_cmd(9)pvr_kccb_wait_for_completion(9)pvr_kccb_is_idle(9)struct pvr_kccb_fence(9)pvr_kccb_wake_up_waiters(9)pvr_kccb_fini(9)pvr_kccb_init(9)pvr_kccb_fence_alloc(9)pvr_kccb_fence_put(9)pvr_kccb_reserve_slot(9)pvr_kccb_release_slot(9)pvr_fwccb_init(9)
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
- 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