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/gpu/drm/amd/amdgpu/amdgpu_userq.c amdgpu_userq_create() -> drm_file_err()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | fmt | 4541546420396085248 |
| BUF_SIZE | 1 | fmt | 57 |
| STR_LEN | 0 | file_priv | 56 |
| TERMINATED | 1 | fmt | 1 |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c amdgpu_userq_create() -> drm_file_err()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_priv->client_name_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file_priv->client_name_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | file_priv->client_name_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | file_priv->client_name_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file_priv->client_name_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | file_priv->client_name_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | fmt | 4793655586052726784 |
| BUF_SIZE | 1 | fmt | 34 |
| STR_LEN | 0 | file_priv | 33 |
| TERMINATED | 1 | fmt | 1 |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c amdgpu_userq_create() -> drm_file_err()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | fmt | 3560855930589061120 |
| BUF_SIZE | 1 | fmt | 24 |
| STR_LEN | 0 | file_priv | 23 |
| TERMINATED | 1 | fmt | 1 |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c amdgpu_userq_create() -> drm_file_err()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | fmt | 5033898954089979904 |
| BUF_SIZE | 1 | fmt | 21 |
| STR_LEN | 0 | file_priv | 20 |
| TERMINATED | 1 | fmt | 1 |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c amdgpu_userq_evict_all() -> drm_file_err()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | fmt | 6697018565302337536 |
| PARAM_VALUE | 2 | $ | (-110),(-22),(-12) |
| BUF_SIZE | 1 | fmt | 55 |
| STR_LEN | 0 | file_priv | 54 |
| BIT_INFO | 2 | $ | 0x0,0x0 |
| TERMINATED | 1 | fmt | 1 |
| NOCHECK_CALL | |||
| LOCK2 | &uq_mgr->userq_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct amdgpu_userq_mgr)->userq_mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c amdgpu_userq_get_doorbell_index() -> drm_file_err()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | fmt | 7321786662504239104 |
| BUF_SIZE | 1 | fmt | 36 |
| STR_LEN | 0 | file_priv | 35 |
| TERMINATED | 1 | fmt | 1 |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c amdgpu_userq_get_doorbell_index() -> drm_file_err()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | fmt | 2537534071710453760 |
| BUF_SIZE | 1 | fmt | 49 |
| STR_LEN | 0 | file_priv | 48 |
| TERMINATED | 1 | fmt | 1 |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c amdgpu_userq_get_doorbell_index() -> drm_file_err()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | fmt | 2537534071710453760 |
| BUF_SIZE | 1 | fmt | 49 |
| STR_LEN | 0 | file_priv | 48 |
| TERMINATED | 1 | fmt | 1 |
| NOCHECK_CALL | |||
| LOCK2 | db_obj->obj->tbo.base.resv |
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c amdgpu_userq_get_doorbell_index() -> drm_file_err()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | fmt | 588698009313366016 |
| BUF_SIZE | 1 | fmt | 37 |
| STR_LEN | 0 | file_priv | 36 |
| TERMINATED | 1 | fmt | 1 |
| NOCHECK_CALL | |||
| USER_DATA | 2 | $ | 0-2[u] |
| LOCK2 | db_obj->obj->tbo.base.resv |
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c amdgpu_userq_input_args_validate() -> drm_file_err()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | file_priv->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file_priv->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | file_priv->minor->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | fmt | 3459826469668380672 |
| PARAM_VALUE | 2 | $ | 3-u32max |
| BUF_SIZE | 0 | file_priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file_priv | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | fmt | 43 |
| DATA_SOURCE | 0 | file_priv | $2 |
| STR_LEN | 0 | file_priv | 42 |
| TERMINATED | 1 | fmt | 1 |
| NOCHECK_CALL | |||
| USER_DATA | 2 | $ | 3-u32max[u] |
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c amdgpu_userq_input_args_validate() -> drm_file_err()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | file_priv->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file_priv->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | file_priv->minor->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | fmt | 6003230456033574912 |
| BUF_SIZE | 0 | file_priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file_priv | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | fmt | 45 |
| DATA_SOURCE | 0 | file_priv | $2 |
| STR_LEN | 0 | file_priv | 44 |
| TERMINATED | 1 | fmt | 1 |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c amdgpu_userq_input_args_validate() -> drm_file_err()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | file_priv->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file_priv->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | file_priv->minor->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | fmt | 8715857488922714112 |
| BUF_SIZE | 0 | file_priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file_priv | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | fmt | 35 |
| DATA_SOURCE | 0 | file_priv | $2 |
| STR_LEN | 0 | file_priv | 34 |
| TERMINATED | 1 | fmt | 1 |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c amdgpu_userq_input_args_validate() -> drm_file_err()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | file_priv->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file_priv->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | file_priv->minor->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | fmt | 6872995400155246592 |
| BUF_SIZE | 0 | file_priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file_priv | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | fmt | 33 |
| DATA_SOURCE | 0 | file_priv | $2 |
| STR_LEN | 0 | file_priv | 32 |
| TERMINATED | 1 | fmt | 1 |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c amdgpu_userq_input_args_validate() -> drm_file_err()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | file_priv->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file_priv->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | file_priv->minor->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | fmt | 1200442484717531136 |
| BUF_SIZE | 0 | file_priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file_priv | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | fmt | 46 |
| DATA_SOURCE | 0 | file_priv | $2 |
| STR_LEN | 0 | file_priv | 45 |
| TERMINATED | 1 | fmt | 1 |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c amdgpu_userq_input_args_validate() -> drm_file_err()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | file_priv->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file_priv->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | file_priv->minor->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | fmt | 7257224738955780096 |
| BUF_SIZE | 0 | file_priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file_priv | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | fmt | 37 |
| DATA_SOURCE | 0 | file_priv | $2 |
| STR_LEN | 0 | file_priv | 36 |
| TERMINATED | 1 | fmt | 1 |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c amdgpu_userq_ioctl() -> drm_file_err()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | file_priv->driver_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | file_priv->driver_priv->userq_mgr.file->client_name_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file_priv->driver_priv->userq_mgr.file->client_name_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | file_priv->driver_priv->userq_mgr.file->client_name_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | file_priv->driver_priv->userq_mgr.file->client_name_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | file_priv->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file_priv->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | file_priv->minor->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | fmt | 8286668538756755456 |
| BUF_SIZE | 0 | file_priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file_priv | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | fmt | 33 |
| DATA_SOURCE | 0 | file_priv | $2 |
| STR_LEN | 0 | file_priv | 32 |
| TERMINATED | 1 | fmt | 1 |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c amdgpu_userq_kref_destroy() -> drm_file_err()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | fmt | 9007401036844998656 |
| PARAM_VALUE | 2 | $ | (-110),(-22),(-12) |
| BUF_SIZE | 1 | fmt | 37 |
| DATA_SOURCE | 2 | $ | r amdgpu_userq_destroy |
| STR_LEN | 0 | file_priv | 36 |
| BIT_INFO | 2 | $ | 0x0,0x0 |
| TERMINATED | 1 | fmt | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &drm_unplug_srcu |
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c amdgpu_userq_restore_all() -> drm_file_err()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | fmt | 6383240781539000320 |
| BUF_SIZE | 1 | fmt | 41 |
| STR_LEN | 0 | file_priv | 40 |
| TERMINATED | 1 | fmt | 1 |
| NOCHECK_CALL | |||
| LOCK2 | &uq_mgr->userq_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct amdgpu_userq_mgr)->userq_mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c amdgpu_userq_restore_all() -> drm_file_err()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | fmt | 3284756243894083584 |
| PARAM_VALUE | 2 | $ | (-110),(-22),(-12) |
| BUF_SIZE | 1 | fmt | 53 |
| STR_LEN | 0 | file_priv | 52 |
| BIT_INFO | 2 | $ | 0x0,0x0 |
| TERMINATED | 1 | fmt | 1 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c amdgpu_userq_restore_worker() -> drm_file_err()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_priv->client_name_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file_priv->client_name_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | file_priv->client_name_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | file_priv->client_name_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file_priv->client_name_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | file_priv->client_name_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | fmt | 7334040341700874240 |
| PARAM_VALUE | 2 | $ | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | fmt | 42 |
| DATA_SOURCE | 2 | $ | r amdgpu_userq_vm_validate_and_restore_queue |
| STR_LEN | 0 | file_priv | 41 |
| TERMINATED | 1 | fmt | 1 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c amdgpu_userq_vm_validate_and_restore_queue() -> drm_file_err()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | fmt | 4137264496769630208 |
| PARAM_VALUE | 3 | $ | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | fmt | 58 |
| CAPPED_DATA | 3 | $ | 1 |
| DATA_SOURCE | 3 | $ | r amdgpu_ttm_alloc_gart |
| STR_LEN | 0 | file_priv | 57 |
| TERMINATED | 1 | fmt | 1 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c amdgpu_userq_vm_validate_and_restore_queue() -> drm_file_err()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | fmt | 2711339091804585984 |
| BUF_SIZE | 1 | fmt | 34 |
| STR_LEN | 0 | file_priv | 33 |
| TERMINATED | 1 | fmt | 1 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |