Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/md/
Ddm-bufio.c149 unsigned hold_count; member
796 BUG_ON(b->hold_count); in __make_buffer_clean()
823 if (!b->hold_count) { in __get_unclaimed_buffer()
837 if (!b->hold_count) { in __get_unclaimed_buffer()
1037 b->hold_count = 1; in __bufio_new()
1065 b->hold_count++; in __bufio_new()
1105 if (b && b->hold_count == 1) in new_read()
1210 BUG_ON(!b->hold_count); in dm_bufio_release()
1212 b->hold_count--; in dm_bufio_release()
1213 if (!b->hold_count) { in dm_bufio_release()
[all …]
/Linux-v6.1/drivers/gpu/drm/i915/
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()
Di915_vma_resource.h79 refcount_t hold_count; member
220 GEM_BUG_ON(refcount_read(&vma_res->hold_count) != 1); in i915_vma_resource_fini()
/Linux-v6.1/drivers/media/platform/qcom/venus/
Dhfi_helper.h1150 u32 hold_count; member
1155 ((ver) == HFI_VERSION_4XX ? 0 : (bufreq)->hold_count)
1157 ((ver) == HFI_VERSION_4XX ? (bufreq)->hold_count : (bufreq)->count_min)
1165 u32 hold_count; member
Dhfi_plat_bufs_v6.c1223 bufreq->hold_count = 1; in bufreq_dec()
1289 bufreq->hold_count = 1; in bufreq_enc()
Dhfi_cmds.c481 count->hold_count = in->hold_count; in pkt_session_set_property_1x()