Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/dma-buf/sync_file.c sync_file_ioctl_fence_info() -> dma_fence_unwrap_first()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cursor | 694345730725404672 |
drivers/dma-buf/sync_file.c sync_file_ioctl_fence_info() -> dma_fence_unwrap_first()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 0,4096-ptr_max |
| PARAM_VALUE | 1 | cursor | 694345730725404672 |
| PARAM_VALUE | 1 | cursor->array | 0,4096-ptr_max |
| PARAM_VALUE | 1 | cursor->chain | 0,4096-ptr_max |
| PARAM_VALUE | 1 | cursor->index | 0 |
drivers/dma-buf/dma-buf.c dma_buf_import_sync_file() -> dma_fence_unwrap_first()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 4096-ptr_max |
| PARAM_VALUE | 1 | cursor | 8671868251875659776 |
| DATA_SOURCE | 0 | head | r sync_file_get_fence |
drivers/dma-buf/dma-buf.c dma_buf_import_sync_file() -> dma_fence_unwrap_first()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 4096-ptr_max |
| PARAM_VALUE | 1 | cursor | 8671868251875659776 |
| PARAM_VALUE | 1 | cursor->array | 0,4096-ptr_max |
| PARAM_VALUE | 1 | cursor->chain | 0,4096-ptr_max |
| PARAM_VALUE | 1 | cursor->index | 0 |
| DATA_SOURCE | 0 | head | r sync_file_get_fence |
| LOCK2 | dmabuf->resv |
drivers/dma-buf/st-dma-fence-unwrap.c test_unwrap_array() -> dma_fence_unwrap_first()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 4096-ptr_max |
| PARAM_VALUE | 0 | head->cb_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | head->cb_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | head->error | 1 |
| PARAM_VALUE | 0 | head->extern_lock | 1-u64max |
| PARAM_VALUE | 0 | head->flags | 1,3,5,7 |
| PARAM_VALUE | 0 | head->ops | 4821872604090163200 |
| PARAM_VALUE | 0 | head->refcount.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | head->seqno | 1 |
| PARAM_VALUE | 1 | cursor | 7431052422738968576 |
| BUF_SIZE | 0 | head | 128 |
| DATA_SOURCE | 0 | head | r mock_array |
| NO_OVERFLOW_SIMPLE | 0 | head->num_fences | |
| NO_OVERFLOW_SIMPLE | 0 | head->num_pending.counter |
drivers/dma-buf/st-dma-fence-unwrap.c test_unwrap_chain() -> dma_fence_unwrap_first()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 4096-ptr_max |
| PARAM_VALUE | 0 | head->cb_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | head->cb_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | head->error | 0 |
| PARAM_VALUE | 0 | head->extern_lock | 1-u64max |
| PARAM_VALUE | 0 | head->flags | 1,3,5,7 |
| PARAM_VALUE | 0 | head->ops | 21838082508599296 |
| PARAM_VALUE | 0 | head->refcount.refcount.refs.counter | 1 |
| PARAM_VALUE | 1 | cursor | 2498936378883887104 |
| BUF_SIZE | 0 | head | 128 |
| DATA_SOURCE | 0 | head | r mock_chain |
drivers/dma-buf/st-dma-fence-unwrap.c test_unwrap_chain_array() -> dma_fence_unwrap_first()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 4096-ptr_max |
| PARAM_VALUE | 0 | head->cb_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | head->cb_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | head->error | 0 |
| PARAM_VALUE | 0 | head->extern_lock | 1-u64max |
| PARAM_VALUE | 0 | head->flags | 1,3,5,7 |
| PARAM_VALUE | 0 | head->ops | 21838082508599296 |
| PARAM_VALUE | 0 | head->refcount.refcount.refs.counter | 1 |
| PARAM_VALUE | 1 | cursor | 5125219949584355328 |
| BUF_SIZE | 0 | head | 128 |
| DATA_SOURCE | 0 | head | r mock_chain |
drivers/dma-buf/st-dma-fence-unwrap.c test_unwrap_merge() -> dma_fence_unwrap_first()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 1-u64max |
| PARAM_VALUE | 0 | head->ops->enable_signaling | 0,4096-ptr_max |
| PARAM_VALUE | 0 | head->ops->get_driver_name | 0,4096-ptr_max |
| PARAM_VALUE | 0 | head->ops->get_timeline_name | 0,4096-ptr_max |
| PARAM_VALUE | 0 | head->ops->release | 0,4096-ptr_max |
| PARAM_VALUE | 0 | head->ops->set_deadline | 0,4096-ptr_max |
| PARAM_VALUE | 0 | head->ops->signaled | 0,4096-ptr_max |
| PARAM_VALUE | 0 | head->ops->wait | 0,4096-ptr_max |
| PARAM_VALUE | 1 | cursor | 5440063522883133440 |
| BUF_SIZE | 0 | head | (-1)-0,32-s32max |
| BUF_SIZE | 0 | head | (-1)-0,32-s32max |
| DATA_SOURCE | 0 | head | r __dma_fence_unwrap_merge |
| NO_OVERFLOW_SIMPLE | 0 | head->num_fences | |
| NO_OVERFLOW_SIMPLE | 0 | head->num_pending.counter |
drivers/dma-buf/st-dma-fence-unwrap.c test_unwrap_merge_complex() -> dma_fence_unwrap_first()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 1-u64max |
| PARAM_VALUE | 0 | head->ops->enable_signaling | 0,4096-ptr_max |
| PARAM_VALUE | 0 | head->ops->get_driver_name | 0,4096-ptr_max |
| PARAM_VALUE | 0 | head->ops->get_timeline_name | 0,4096-ptr_max |
| PARAM_VALUE | 0 | head->ops->release | 0,4096-ptr_max |
| PARAM_VALUE | 0 | head->ops->set_deadline | 0,4096-ptr_max |
| PARAM_VALUE | 0 | head->ops->signaled | 0,4096-ptr_max |
| PARAM_VALUE | 0 | head->ops->wait | 0,4096-ptr_max |
| PARAM_VALUE | 1 | cursor | 7968714043681837056 |
| BUF_SIZE | 0 | head | (-1)-0,32-s32max |
| BUF_SIZE | 0 | head | (-1)-0,32-s32max |
| DATA_SOURCE | 0 | head | r __dma_fence_unwrap_merge |
| NO_OVERFLOW_SIMPLE | 0 | head->num_fences | |
| NO_OVERFLOW_SIMPLE | 0 | head->num_pending.counter |
drivers/dma-buf/st-dma-fence-unwrap.c test_unwrap_merge_complex_seqno() -> dma_fence_unwrap_first()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 1-u64max |
| PARAM_VALUE | 0 | head->ops->enable_signaling | 0,4096-ptr_max |
| PARAM_VALUE | 0 | head->ops->get_driver_name | 0,4096-ptr_max |
| PARAM_VALUE | 0 | head->ops->get_timeline_name | 0,4096-ptr_max |
| PARAM_VALUE | 0 | head->ops->release | 0,4096-ptr_max |
| PARAM_VALUE | 0 | head->ops->set_deadline | 0,4096-ptr_max |
| PARAM_VALUE | 0 | head->ops->signaled | 0,4096-ptr_max |
| PARAM_VALUE | 0 | head->ops->wait | 0,4096-ptr_max |
| PARAM_VALUE | 1 | cursor | 8690536983112597504 |
| BUF_SIZE | 0 | head | (-1)-0,32-s32max |
| BUF_SIZE | 0 | head | (-1)-0,32-s32max |
| DATA_SOURCE | 0 | head | r __dma_fence_unwrap_merge |
| NO_OVERFLOW_SIMPLE | 0 | head->num_fences | |
| NO_OVERFLOW_SIMPLE | 0 | head->num_pending.counter |
drivers/dma-buf/st-dma-fence-unwrap.c test_unwrap_merge_duplicate() -> dma_fence_unwrap_first()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 1-u64max |
| PARAM_VALUE | 0 | head->ops->enable_signaling | 0,4096-ptr_max |
| PARAM_VALUE | 0 | head->ops->get_driver_name | 0,4096-ptr_max |
| PARAM_VALUE | 0 | head->ops->get_timeline_name | 0,4096-ptr_max |
| PARAM_VALUE | 0 | head->ops->release | 0,4096-ptr_max |
| PARAM_VALUE | 0 | head->ops->set_deadline | 0,4096-ptr_max |
| PARAM_VALUE | 0 | head->ops->signaled | 0,4096-ptr_max |
| PARAM_VALUE | 0 | head->ops->wait | 0,4096-ptr_max |
| PARAM_VALUE | 1 | cursor | 6547580295440572416 |
| BUF_SIZE | 0 | head | (-1)-0,32-s32max |
| BUF_SIZE | 0 | head | (-1)-0,32-s32max |
| DATA_SOURCE | 0 | head | r __dma_fence_unwrap_merge |
| NO_OVERFLOW_SIMPLE | 0 | head->num_fences | |
| NO_OVERFLOW_SIMPLE | 0 | head->num_pending.counter |
drivers/dma-buf/st-dma-fence-unwrap.c test_unwrap_merge_order() -> dma_fence_unwrap_first()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head->ops->enable_signaling | 0,4096-ptr_max |
| PARAM_VALUE | 0 | head->ops->get_driver_name | 0,4096-ptr_max |
| PARAM_VALUE | 0 | head->ops->get_timeline_name | 0,4096-ptr_max |
| PARAM_VALUE | 0 | head->ops->release | 0,4096-ptr_max |
| PARAM_VALUE | 0 | head->ops->set_deadline | 0,4096-ptr_max |
| PARAM_VALUE | 0 | head->ops->signaled | 0,4096-ptr_max |
| PARAM_VALUE | 0 | head->ops->wait | 0,4096-ptr_max |
| PARAM_VALUE | 1 | cursor | 3660963187531243520 |
| BUF_SIZE | 0 | head | (-1)-0,32-s32max |
| BUF_SIZE | 0 | head | (-1)-0,32-s32max |
| DATA_SOURCE | 0 | head | r __dma_fence_unwrap_merge |
| NO_OVERFLOW_SIMPLE | 0 | head->num_fences | |
| NO_OVERFLOW_SIMPLE | 0 | head->num_pending.counter |
drivers/dma-buf/st-dma-fence-unwrap.c test_unwrap_merge_seqno() -> dma_fence_unwrap_first()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 1-u64max |
| PARAM_VALUE | 0 | head->ops->enable_signaling | 0,4096-ptr_max |
| PARAM_VALUE | 0 | head->ops->get_driver_name | 0,4096-ptr_max |
| PARAM_VALUE | 0 | head->ops->get_timeline_name | 0,4096-ptr_max |
| PARAM_VALUE | 0 | head->ops->release | 0,4096-ptr_max |
| PARAM_VALUE | 0 | head->ops->set_deadline | 0,4096-ptr_max |
| PARAM_VALUE | 0 | head->ops->signaled | 0,4096-ptr_max |
| PARAM_VALUE | 0 | head->ops->wait | 0,4096-ptr_max |
| PARAM_VALUE | 1 | cursor | 4890090025195872256 |
| BUF_SIZE | 0 | head | (-1)-0,32-s32max |
| BUF_SIZE | 0 | head | (-1)-0,32-s32max |
| DATA_SOURCE | 0 | head | r __dma_fence_unwrap_merge |
| NO_OVERFLOW_SIMPLE | 0 | head->num_fences | |
| NO_OVERFLOW_SIMPLE | 0 | head->num_pending.counter |
drivers/gpu/drm/virtio/virtgpu_submit.c virtio_gpu_dma_fence_wait() -> dma_fence_unwrap_first()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 1-u64max |
| PARAM_VALUE | 1 | cursor | 6922836229685735424 |
| DATA_SOURCE | 0 | head | $1 |
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c amdgpu_userq_wait_count_fences() -> dma_fence_unwrap_first()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 1-u64max |
| PARAM_VALUE | 0 | head->ops->set_deadline | 0,2004285741546172416,2071105144755478528,2853440610722889728,3558081686514302976,5221404334427111424 |
| PARAM_VALUE | 0 | head->ops->wait | 0,3162960082638938112,3576649960670945280,4783308308267675648,5257098353859239936 |
| PARAM_VALUE | 1 | cursor | 2512646742074470400 |
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c amdgpu_userq_wait_return_fence_info() -> dma_fence_unwrap_first()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 1-u64max |
| PARAM_VALUE | 0 | head->ops->set_deadline | 0,2004285741546172416,2071105144755478528,2853440610722889728,3558081686514302976,5221404334427111424 |
| PARAM_VALUE | 0 | head->ops->wait | 0,3162960082638938112,3576649960670945280,4783308308267675648,5257098353859239936 |
| PARAM_VALUE | 1 | cursor | 8323179869879910400 |
drivers/dma-buf/dma-fence-unwrap.c __dma_fence_unwrap_merge() -> dma_fence_unwrap_first()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cursor | 4096-ptr_max |
| HALF_LOCKED2 | &queue->lock | ||
| HALF_LOCKED2 | &v3d->sched_lock |
drivers/dma-buf/dma-fence-unwrap.c __dma_fence_unwrap_merge() -> dma_fence_unwrap_first()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cursor | 4096-ptr_max |
| HALF_LOCKED2 | &queue->lock | ||
| HALF_LOCKED2 | &v3d->sched_lock |