Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/dma-buf/dma-buf.c, line 1767
- drivers/dma-buf/dma-resv.c, line 772
- drivers/gpu/drm/amd/amdgpu/amdgpu_object.c, line 1702
- drivers/gpu/drm/etnaviv/etnaviv_gem.c, line 463
- drivers/gpu/drm/msm/msm_gem.c, line 1013
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c amdgpu_bo_print_info() -> dma_resv_describe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 4096-ptr_max |
| PARAM_VALUE | 1 | seq | 4096-ptr_max |
| PARAM_VALUE | 1 | seq->buf | 1-u64max |
| PARAM_VALUE | 1 | seq->from | 0 |
| PARAM_VALUE | 1 | seq->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | seq->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | seq->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | seq->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 1 | seq->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | seq->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | seq->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | seq->op | 4096-ptr_max |
| BUF_SIZE | 1 | seq | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | seq | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | seq->buf | (-1)-2147479552 |
| CAPPED_DATA | 1 | seq->size | 1 |
| DATA_SOURCE | 1 | seq | $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | seq->read_pos | 0-13442450941 |
| LOCK2 | &dev->filelist_mutex | ||
| LOCK2 | 0 | obj | |
| LOCK2 | 1 | &seq->lock | |
| HALF_LOCKED2 | &file->table_lock | ||
| HALF_LOCKED2 | vm->root.bo->tbo.base.resv | ||
| TYPE_LOCK | (struct drm_device)->filelist_mutex | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/dma-buf/dma-buf.c dma_buf_debug_show() -> dma_resv_describe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj->lock.base.first_waiter | 0,4096-5159360019465732095,5159360019465732097-ptr_max |
| PARAM_VALUE | 0 | obj->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | obj->lock.base.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | seq | 4096-ptr_max |
| PARAM_VALUE | 1 | seq->buf | 1-u64max |
| PARAM_VALUE | 1 | seq->from | 0 |
| PARAM_VALUE | 1 | seq->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | seq->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | seq->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | seq->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | seq->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | seq->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | seq->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | seq->op | 4096-ptr_max |
| BUF_SIZE | 1 | seq | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | seq | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | seq->buf | (-1)-2147479552 |
| CAPPED_DATA | 1 | seq->size | 1 |
| DATA_SOURCE | 1 | seq | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | seq->read_pos | 0-13442450941 |
| LOCK2 | global &dmabuf_list_mutex | ||
| LOCK2 | 0 | obj | |
| LOCK2 | 1 | &seq->lock | |
| TYPE_LOCK | (struct seq_file)->lock |
drivers/gpu/drm/etnaviv/etnaviv_gem.c etnaviv_gem_describe() -> dma_resv_describe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj->lock.base.first_waiter | 0,4096-5159360019465732095,5159360019465732097-ptr_max |
| PARAM_VALUE | 0 | obj->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | obj->lock.base.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | seq | 4096-ptr_max |
| PARAM_VALUE | 1 | seq->buf | 1-u64max |
| PARAM_VALUE | 1 | seq->from | 0 |
| PARAM_VALUE | 1 | seq->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | seq->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | seq->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | seq->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 1 | seq->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | seq->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | seq->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | seq->op | 4096-ptr_max |
| PARAM_VALUE | 1 | seq->private | 4096-ptr_max |
| BUF_SIZE | 1 | seq | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | seq | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | seq->buf | (-1)-2147479552 |
| CAPPED_DATA | 1 | seq->size | 1 |
| DATA_SOURCE | 1 | seq | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | seq->read_pos | 0-11442450941[c] |
| LOCK2 | &priv->gem_lock | ||
| LOCK2 | 0 | obj | |
| LOCK2 | 1 | &seq->lock | |
| TYPE_LOCK | (struct etnaviv_drm_private)->gem_lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/gpu/drm/msm/msm_gem.c msm_gem_describe() -> dma_resv_describe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 4096-ptr_max |
| PARAM_VALUE | 1 | seq | 4096-ptr_max |
| PARAM_VALUE | 1 | seq->buf | 1-u64max |
| PARAM_VALUE | 1 | seq->from | 0 |
| PARAM_VALUE | 1 | seq->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | seq->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | seq->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | seq->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 1 | seq->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | seq->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | seq->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | seq->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | seq->op | 4096-ptr_max |
| PARAM_VALUE | 1 | seq->private | 4096-ptr_max |
| BUF_SIZE | 1 | seq | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | seq | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | seq->buf | (-1)-2147479552 |
| CAPPED_DATA | 1 | seq->size | 1 |
| DATA_SOURCE | 1 | seq | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | seq->read_pos | 0-11442450941[c] |
| LOCK2 | obj->resv | ||
| LOCK2 | 1 | &seq->lock | |
| HALF_LOCKED2 | &priv->obj_lock | ||
| TYPE_LOCK | (struct seq_file)->lock |