Lines Matching refs:shared_max
54 list->shared_max = n; in objlist_tryalloc()
65 list->shared_max = n; in objlist_alloc()
73 uint32_t n = list->shared_max; in objlist_free()
345 if (n <= list->shared_max) in dma_resv_reserve_shared()
355 if (n <= prealloc->shared_max) in dma_resv_reserve_shared()
649 KASSERT(list->shared_count < list->shared_max); in dma_resv_add_shared_fence()
682 KASSERT(shared_count < prealloc->shared_max); in dma_resv_add_shared_fence()
701 KASSERT(prealloc->shared_count < prealloc->shared_max); in dma_resv_add_shared_fence()
792 KASSERT(shared_count <= list->shared_max); in dma_resv_get_fences_rcu()
793 if (list->shared_max == UINT_MAX) in dma_resv_get_fences_rcu()
802 shared_alloc = list->shared_max + 1; in dma_resv_get_fences_rcu()
818 } else if (shared_alloc < list->shared_max + 1) { in dma_resv_get_fences_rcu()
824 shared_alloc = list->shared_max + 1; in dma_resv_get_fences_rcu()
936 if (dst_list == NULL || dst_list->shared_max < shared_count) { in dma_resv_copy_fences()