Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 12 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c amdgpu_cs_fence_to_handle_ioctl() -> sync_file_create()

Type Parameter Key Value
PARAM_VALUE 0 fence 1-ptr_max

drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c eb_composite_fence_create() -> sync_file_create()

Type Parameter Key Value
PARAM_VALUE 0 fence 4096-ptr_max
PARAM_VALUE 0 fence->cb_list.next 4096-ptr_max
PARAM_VALUE 0 fence->cb_list.prev 4096-ptr_max
PARAM_VALUE 0 fence->error 1
PARAM_VALUE 0 fence->extern_lock 1-u64max
PARAM_VALUE 0 fence->flags 1,3,5,7
PARAM_VALUE 0 fence->ops 4821872604090163200
PARAM_VALUE 0 fence->refcount.refcount.refs.counter 1
PARAM_VALUE 0 fence->seqno 0-u32max

drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c eb_fences_add() -> sync_file_create()

Type Parameter Key Value
PARAM_VALUE 0 fence 4096-ptr_max

drivers/gpu/drm/msm/msm_gem_vma.c msm_ioctl_vm_bind() -> sync_file_create()

Type Parameter Key Value
PARAM_VALUE 0 fence 4096-ptr_max
DATA_SOURCE 0 fence r dma_fence_get
LOCK2 &queue->lock
TYPE_LOCK (struct msm_gpu_submitqueue)->lock

drivers/gpu/drm/msm/msm_gem_submit.c msm_ioctl_gem_submit() -> sync_file_create()

Type Parameter Key Value
PARAM_VALUE 0 fence 4096-ptr_max
DATA_SOURCE 0 fence r dma_fence_get
LOCK2 &queue->lock
TYPE_LOCK (struct msm_gpu_submitqueue)->lock

drivers/gpu/drm/drm_atomic_uapi.c setup_out_fence() -> sync_file_create()

Type Parameter Key Value
PARAM_VALUE 0 fence 4096-ptr_max
PARAM_VALUE 0 fence->cb_list.next 4096-ptr_max
PARAM_VALUE 0 fence->cb_list.next->next 4096-ptr_max
PARAM_VALUE 0 fence->cb_list.prev 4096-ptr_max
PARAM_VALUE 0 fence->cb_list.prev->next 4096-ptr_max
PARAM_VALUE 0 fence->cb_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 fence->context 0-u32max
PARAM_VALUE 0 fence->error 0
PARAM_VALUE 0 fence->extern_lock 1-u64max
PARAM_VALUE 0 fence->flags 1,3,5,7
PARAM_VALUE 0 fence->ops 7723030000292237312,8193441854424391680
PARAM_VALUE 0 fence->ops->enable_signaling 0
PARAM_VALUE 0 fence->ops->get_driver_name 3363436408362790912,4645149514951733248
PARAM_VALUE 0 fence->ops->get_timeline_name 3299058498623315968,6420902320419815424
PARAM_VALUE 0 fence->ops->release 0
PARAM_VALUE 0 fence->ops->set_deadline 0
PARAM_VALUE 0 fence->ops->signaled 0
PARAM_VALUE 0 fence->ops->wait 0
PARAM_VALUE 0 fence->refcount.refcount.refs.counter 1
BUF_SIZE 0 fence 128
DATA_SOURCE 0 fence $1

drivers/dma-buf/dma-buf.c dma_buf_export_sync_file() -> sync_file_create()

Type Parameter Key Value
PARAM_VALUE 0 fence 1-u64max
PARAM_VALUE 0 fence->error s32min-s32max
PARAM_VALUE 0 fence->refcount.refcount.refs.counter s32min-s32max

drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c etnaviv_ioctl_gem_submit() -> sync_file_create()

Type Parameter Key Value
PARAM_VALUE 0 fence 4096-ptr_max
PARAM_VALUE 0 fence->ops->set_deadline 0,2004285741546172416,2071105144755478528,2853440610722889728,3558081686514302976,5221404334427111424
PARAM_VALUE 0 fence->ops->wait 0,3162960082638938112,3576649960670945280,4783308308267675648,5257098353859239936

drivers/dma-buf/sw_sync.c sw_sync_ioctl_create_fence() -> sync_file_create()

Type Parameter Key Value
PARAM_VALUE 0 fence 4096-ptr_max
USER_DATA 0 fence->seqno 0-u32max

drivers/gpu/drm/virtio/virtgpu_submit.c virtio_gpu_init_submit() -> sync_file_create()

Type Parameter Key Value
PARAM_VALUE 0 fence 0,4096-ptr_max
PARAM_VALUE 0 fence->cb_list.next 4096-ptr_max
PARAM_VALUE 0 fence->cb_list.prev 4096-ptr_max
PARAM_VALUE 0 fence->error 0
PARAM_VALUE 0 fence->extern_lock 1-u64max
PARAM_VALUE 0 fence->flags 1,3,5,7
PARAM_VALUE 0 fence->ops 5370990546352951296
PARAM_VALUE 0 fence->refcount.refcount.refs.counter 1
PARAM_VALUE 0 fence->seqno 0
USER_DATA 0 fence->seqno 0

drivers/gpu/drm/drm_syncobj.c drm_syncobj_export_sync_file() -> sync_file_create()

Type Parameter Key Value
PARAM_VALUE 0 fence 1-u64max
PARAM_VALUE 0 fence->node.node.next 0
PARAM_VALUE 0 fence->node.node.prev 0
PARAM_VALUE 0 fence->ops->set_deadline 0,2004285741546172416,2071105144755478528,2853440610722889728,3558081686514302976,5221404334427111424
PARAM_VALUE 0 fence->ops->wait 0,3162960082638938112,3576649960670945280,4783308308267675648,5257098353859239936
PARAM_VALUE 0 fence->rcu.entry.next s64max
PARAM_VALUE 0 fence->rcu.flags 0-4294967295
PARAM_VALUE 0 fence->rcu.is_hard 0-1
PARAM_VALUE 0 fence->rcu.is_lazy 0-1
PARAM_VALUE 0 fence->rcu.is_queued 0-1
PARAM_VALUE 0 fence->rcu.is_soft 0-1

drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c vmw_execbuf_process() -> sync_file_create()

Type Parameter Key Value
PARAM_VALUE 0 fence 0,4096-ptr_max
PARAM_VALUE 0 fence->error 0
PARAM_VALUE 0 fence->flags 1,3,5,7
PARAM_VALUE 0 fence->refcount.refcount.refs.counter 1
PARAM_VALUE 0 fence->seqno 0-u32max
LOCK2 &dev_priv->cmdbuf_mutex
TYPE_LOCK (struct vmw_private)->cmdbuf_mutex