fobj 200 drivers/dma-buf/dma-buf.c struct dma_resv_list *fobj; fobj 221 drivers/dma-buf/dma-buf.c fobj = rcu_dereference(resv->fence); fobj 222 drivers/dma-buf/dma-buf.c if (fobj) fobj 223 drivers/dma-buf/dma-buf.c shared_count = fobj->shared_count; fobj 283 drivers/dma-buf/dma-buf.c struct dma_fence *fence = rcu_dereference(fobj->shared[i]); fobj 1160 drivers/dma-buf/dma-buf.c struct dma_resv_list *fobj; fobj 1196 drivers/dma-buf/dma-buf.c fobj = rcu_dereference(robj->fence); fobj 1197 drivers/dma-buf/dma-buf.c shared_count = fobj ? fobj->shared_count : 0; fobj 1210 drivers/dma-buf/dma-buf.c fence = rcu_dereference(fobj->shared[i]); fobj 119 drivers/dma-buf/dma-resv.c struct dma_resv_list *fobj; fobj 130 drivers/dma-buf/dma-resv.c fobj = rcu_dereference_protected(obj->fence, 1); fobj 131 drivers/dma-buf/dma-resv.c dma_resv_list_free(fobj); fobj 226 drivers/dma-buf/dma-resv.c struct dma_resv_list *fobj; fobj 234 drivers/dma-buf/dma-resv.c fobj = dma_resv_get_list(obj); fobj 235 drivers/dma-buf/dma-resv.c count = fobj->shared_count; fobj 242 drivers/dma-buf/dma-resv.c old = rcu_dereference_protected(fobj->shared[i], fobj 249 drivers/dma-buf/dma-resv.c BUG_ON(fobj->shared_count >= fobj->shared_max); fobj 254 drivers/dma-buf/dma-resv.c RCU_INIT_POINTER(fobj->shared[i], fence); fobj 256 drivers/dma-buf/dma-resv.c smp_store_mb(fobj->shared_count, count); fobj 410 drivers/dma-buf/dma-resv.c struct dma_resv_list *fobj; fobj 423 drivers/dma-buf/dma-resv.c fobj = rcu_dereference(obj->fence); fobj 424 drivers/dma-buf/dma-resv.c if (fobj) fobj 425 drivers/dma-buf/dma-resv.c sz += sizeof(*shared) * fobj->shared_max; fobj 451 drivers/dma-buf/dma-resv.c shared_count = fobj ? fobj->shared_count : 0; fobj 453 drivers/dma-buf/dma-resv.c shared[i] = rcu_dereference(fobj->shared[i]); fobj 529 drivers/dma-buf/dma-resv.c struct dma_resv_list *fobj = rcu_dereference(obj->fence); fobj 531 drivers/dma-buf/dma-resv.c if (fobj) fobj 532 drivers/dma-buf/dma-resv.c shared_count = fobj->shared_count; fobj 535 drivers/dma-buf/dma-resv.c struct dma_fence *lfence = rcu_dereference(fobj->shared[i]); fobj 615 drivers/dma-buf/dma-resv.c struct dma_resv_list *fobj = rcu_dereference(obj->fence); fobj 617 drivers/dma-buf/dma-resv.c if (fobj) fobj 618 drivers/dma-buf/dma-resv.c shared_count = fobj->shared_count; fobj 621 drivers/dma-buf/dma-resv.c struct dma_fence *fence = rcu_dereference(fobj->shared[i]); fobj 457 drivers/gpu/drm/etnaviv/etnaviv_gem.c struct dma_resv_list *fobj; fobj 467 drivers/gpu/drm/etnaviv/etnaviv_gem.c fobj = rcu_dereference(robj->fence); fobj 468 drivers/gpu/drm/etnaviv/etnaviv_gem.c if (fobj) { fobj 469 drivers/gpu/drm/etnaviv/etnaviv_gem.c unsigned int i, shared_count = fobj->shared_count; fobj 472 drivers/gpu/drm/etnaviv/etnaviv_gem.c fence = rcu_dereference(fobj->shared[i]); fobj 705 drivers/gpu/drm/msm/msm_gem.c struct dma_resv_list *fobj; fobj 709 drivers/gpu/drm/msm/msm_gem.c fobj = dma_resv_get_list(obj->resv); fobj 710 drivers/gpu/drm/msm/msm_gem.c if (!fobj || (fobj->shared_count == 0)) { fobj 720 drivers/gpu/drm/msm/msm_gem.c if (!exclusive || !fobj) fobj 723 drivers/gpu/drm/msm/msm_gem.c for (i = 0; i < fobj->shared_count; i++) { fobj 724 drivers/gpu/drm/msm/msm_gem.c fence = rcu_dereference_protected(fobj->shared[i], fobj 803 drivers/gpu/drm/msm/msm_gem.c struct dma_resv_list *fobj; fobj 845 drivers/gpu/drm/msm/msm_gem.c fobj = rcu_dereference(robj->fence); fobj 846 drivers/gpu/drm/msm/msm_gem.c if (fobj) { fobj 847 drivers/gpu/drm/msm/msm_gem.c unsigned int i, shared_count = fobj->shared_count; fobj 850 drivers/gpu/drm/msm/msm_gem.c fence = rcu_dereference(fobj->shared[i]); fobj 338 drivers/gpu/drm/nouveau/nouveau_fence.c struct dma_resv_list *fobj; fobj 349 drivers/gpu/drm/nouveau/nouveau_fence.c fobj = dma_resv_get_list(resv); fobj 352 drivers/gpu/drm/nouveau/nouveau_fence.c if (fence && (!exclusive || !fobj || !fobj->shared_count)) { fobj 371 drivers/gpu/drm/nouveau/nouveau_fence.c if (!exclusive || !fobj) fobj 374 drivers/gpu/drm/nouveau/nouveau_fence.c for (i = 0; i < fobj->shared_count && !ret; ++i) { fobj 378 drivers/gpu/drm/nouveau/nouveau_fence.c fence = rcu_dereference_protected(fobj->shared[i], fobj 60 drivers/gpu/drm/qxl/qxl_debugfs.c struct dma_resv_list *fobj; fobj 64 drivers/gpu/drm/qxl/qxl_debugfs.c fobj = rcu_dereference(bo->tbo.base.resv->fence); fobj 65 drivers/gpu/drm/qxl/qxl_debugfs.c rel = fobj ? fobj->shared_count : 0; fobj 457 drivers/gpu/drm/ttm/ttm_bo.c struct dma_resv_list *fobj; fobj 461 drivers/gpu/drm/ttm/ttm_bo.c fobj = dma_resv_get_list(&bo->base._resv); fobj 466 drivers/gpu/drm/ttm/ttm_bo.c for (i = 0; fobj && i < fobj->shared_count; ++i) { fobj 467 drivers/gpu/drm/ttm/ttm_bo.c fence = rcu_dereference_protected(fobj->shared[i],