Home
last modified time | relevance | path

Searched refs:hold_count (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/i915/
Di915_vma_resource.h104 refcount_t hold_count; member
237 GEM_BUG_ON(refcount_read(&vma_res->hold_count) != 1); in i915_vma_resource_fini()
Di915_vma_resource.c107 if (!refcount_dec_and_test(&vma_res->hold_count)) in __i915_vma_resource_unhold()
165 bool held = refcount_inc_not_zero(&vma_res->hold_count); in i915_vma_resource_hold()
267 refcount_set(&vma_res->hold_count, 1); in __i915_vma_resource_init()
/linux-6.12.1/drivers/media/platform/qcom/venus/
Dhfi_helper.h1170 u32 hold_count; member
1177 u32 hold_count; member
1191 return req->hold_count; in hfi_bufreq_get_hold_count()
1198 return req->hold_count; in hfi_bufreq_get_count_min()
1218 req->hold_count = val; in hfi_bufreq_set_hold_count()
1225 req->hold_count = val; in hfi_bufreq_set_count_min()
Dhfi_cmds.c481 count->hold_count = in->hold_count; in pkt_session_set_property_1x()
/linux-6.12.1/drivers/md/
Ddm-bufio.c339 atomic_t hold_count; member
608 atomic_inc(&b->hold_count); in __cache_inc_buffer()
638 BUG_ON(!atomic_read(&b->hold_count)); in cache_put()
639 r = atomic_dec_and_test(&b->hold_count); in cache_put()
671 if (atomic_read(&b->hold_count)) in __evict_pred()
856 BUG_ON(atomic_read(&b->hold_count) != 1); in cache_insert()
879 if (atomic_read(&b->hold_count) != 1) { in cache_remove()
935 if (atomic_read(&b->hold_count)) in __remove_range()
1486 BUG_ON(atomic_read(&b->hold_count)); in __make_buffer_clean()
1787 atomic_set(&b->hold_count, 1); in __bufio_new()
[all …]