Searched refs:hold_count (Results 1 – 5 of 5) sorted by relevance
104 refcount_t hold_count; member237 GEM_BUG_ON(refcount_read(&vma_res->hold_count) != 1); in i915_vma_resource_fini()
107 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()
1170 u32 hold_count; member1177 u32 hold_count; member1191 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()
481 count->hold_count = in->hold_count; in pkt_session_set_property_1x()
339 atomic_t hold_count; member608 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 …]