Home
last modified time | relevance | path

Searched refs:shared_max (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/drivers/dma-buf/
Dreservation.c76 if (old && old->shared_max) { in reservation_object_reserve_shared()
77 if (old->shared_count < old->shared_max) { in reservation_object_reserve_shared()
83 max = old->shared_max * 2; in reservation_object_reserve_shared()
97 fobj->shared_max = max; in reservation_object_reserve_shared()
144 BUG_ON(fobj->shared_count >= fobj->shared_max); in reservation_object_add_shared_inplace()
177 for (i = 0, j = 0, k = fobj->shared_max; i < old->shared_count; ++i) { in reservation_object_add_shared_replace()
208 for (i = k; i < fobj->shared_max; ++i) { in reservation_object_add_shared_replace()
317 dst_list->shared_max = shared_count; in reservation_object_copy_fences()
407 sz += sizeof(*shared) * fobj->shared_max; in reservation_object_get_fences_rcu()
/Linux-v4.19/include/linux/
Dreservation.h61 u32 shared_count, shared_max; member
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/
Damdgpu_amdkfd_gpuvm.c225 new = kmalloc(offsetof(typeof(*new), shared[old->shared_max]), in amdgpu_amdkfd_remove_eviction_fence()
245 new->shared_max = old->shared_max; in amdgpu_amdkfd_remove_eviction_fence()