shared_max         65 drivers/dma-buf/dma-resv.c static struct dma_resv_list *dma_resv_list_alloc(unsigned int shared_max)
shared_max         69 drivers/dma-buf/dma-resv.c 	list = kmalloc(offsetof(typeof(*list), shared[shared_max]), GFP_KERNEL);
shared_max         73 drivers/dma-buf/dma-resv.c 	list->shared_max = (ksize(list) - offsetof(typeof(*list), shared)) /
shared_max        157 drivers/dma-buf/dma-resv.c 	if (old && old->shared_max) {
shared_max        158 drivers/dma-buf/dma-resv.c 		if ((old->shared_count + num_fences) <= old->shared_max)
shared_max        162 drivers/dma-buf/dma-resv.c 				  old->shared_max * 2);
shared_max        249 drivers/dma-buf/dma-resv.c 	BUG_ON(fobj->shared_count >= fobj->shared_max);
shared_max        425 drivers/dma-buf/dma-resv.c 			sz += sizeof(*shared) * fobj->shared_max;
shared_max        232 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c 	new = kmalloc(offsetof(typeof(*new), shared[old->shared_max]),
shared_max        251 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c 	new->shared_max = old->shared_max;
shared_max         61 include/linux/dma-resv.h 	u32 shared_count, shared_max;
shared_max        225 include/linux/dma-resv.h 		fence->shared_max = fence->shared_count;