Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 8 files:
- drivers/accel/amdxdna/amdxdna_pci_drv.c, line 312
- drivers/accel/ivpu/ivpu_drv.c, line 583
- drivers/gpu/drm/drm_file.c, line 962
- drivers/gpu/drm/etnaviv/etnaviv_drv.c, line 494
- drivers/gpu/drm/msm/msm_drv.c, line 824
- drivers/gpu/drm/panfrost/panfrost_drv.c, line 787
- drivers/gpu/drm/panthor/panthor_drv.c, line 1749
- drivers/gpu/drm/v3d/v3d_drv.c, line 237
Smatch caller information:
drivers/gpu/drm/etnaviv/etnaviv_drv.c etnaviv_show_fdinfo() -> drm_show_memory_stats()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4543128836824109056 |
| PARAM_VALUE | 0 | p->printfn | 4096-ptr_max |
| PARAM_VALUE | 1 | file | 4096-ptr_max |
| PARAM_VALUE | 1 | file->client_name_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | file->client_name_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | file->client_name_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | file->client_name_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | file->client_name_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 1 | file->client_name_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 1 | file->client_name_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 1 | file->client_name_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 1 | file->client_name_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | file->client_name_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | file->minor | 4096-ptr_max |
| PARAM_VALUE | 1 | file->minor->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | file->minor->dev->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | file->minor->dev->driver | 4096-ptr_max |
| PARAM_VALUE | 1 | file->minor->dev->driver->show_fdinfo | 1-u64max |
| BUF_SIZE | 1 | file | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | file | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | p | $0 |
| DATA_SOURCE | 1 | file | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &m->lock | ||
| LOCK2 | global &drm_unplug_srcu | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/gpu/drm/panfrost/panfrost_drv.c panfrost_show_fdinfo() -> drm_show_memory_stats()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4543128836824109056 |
| PARAM_VALUE | 0 | p->printfn | 4096-ptr_max |
| PARAM_VALUE | 1 | file | 4096-ptr_max |
| PARAM_VALUE | 1 | file->client_name_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | file->client_name_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | file->client_name_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | file->client_name_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | file->client_name_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 1 | file->client_name_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 1 | file->client_name_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 1 | file->client_name_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 1 | file->client_name_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | file->client_name_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | file->minor | 4096-ptr_max |
| PARAM_VALUE | 1 | file->minor->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | file->minor->dev->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | file->minor->dev->driver | 4096-ptr_max |
| PARAM_VALUE | 1 | file->minor->dev->driver->show_fdinfo | 1-u64max |
| BUF_SIZE | 1 | file | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | file | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | p | $0 |
| DATA_SOURCE | 1 | file | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &m->lock | ||
| LOCK2 | global &drm_unplug_srcu | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/gpu/drm/panthor/panthor_drv.c panthor_show_fdinfo() -> drm_show_memory_stats()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4543128836824109056 |
| PARAM_VALUE | 0 | p->printfn | 4096-ptr_max |
| PARAM_VALUE | 1 | file | 4096-ptr_max |
| PARAM_VALUE | 1 | file->client_name_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | file->client_name_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | file->client_name_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | file->client_name_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | file->client_name_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 1 | file->client_name_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 1 | file->client_name_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 1 | file->client_name_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 1 | file->client_name_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | file->client_name_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | file->driver_priv | 4096-ptr_max |
| PARAM_VALUE | 1 | file->minor | 4096-ptr_max |
| PARAM_VALUE | 1 | file->minor->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | file->minor->dev->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | file->minor->dev->driver | 4096-ptr_max |
| PARAM_VALUE | 1 | file->minor->dev->driver->show_fdinfo | 1-u64max |
| BUF_SIZE | 1 | file | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | file | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | p | $0 |
| DATA_SOURCE | 1 | file | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &m->lock | ||
| LOCK2 | global &drm_unplug_srcu | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/gpu/drm/msm/msm_drv.c msm_show_fdinfo() -> drm_show_memory_stats()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4543128836824109056 |
| PARAM_VALUE | 0 | p->printfn | 4096-ptr_max |
| PARAM_VALUE | 1 | file | 4096-ptr_max |
| PARAM_VALUE | 1 | file->client_name_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | file->client_name_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | file->client_name_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | file->client_name_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | file->client_name_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 1 | file->client_name_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 1 | file->client_name_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 1 | file->client_name_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 1 | file->client_name_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | file->client_name_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | file->driver_priv | 4096-ptr_max |
| PARAM_VALUE | 1 | file->minor | 4096-ptr_max |
| PARAM_VALUE | 1 | file->minor->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | file->minor->dev->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | file->minor->dev->driver | 4096-ptr_max |
| PARAM_VALUE | 1 | file->minor->dev->driver->show_fdinfo | 1-u64max |
| BUF_SIZE | 1 | file | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | file | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | p | $0 |
| DATA_SOURCE | 1 | file | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &m->lock | ||
| LOCK2 | global &drm_unplug_srcu | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/gpu/drm/v3d/v3d_drv.c v3d_show_fdinfo() -> drm_show_memory_stats()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4543128836824109056 |
| PARAM_VALUE | 0 | p->printfn | 4096-ptr_max |
| PARAM_VALUE | 1 | file | 4096-ptr_max |
| PARAM_VALUE | 1 | file->client_name_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | file->client_name_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | file->client_name_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | file->client_name_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | file->client_name_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 1 | file->client_name_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 1 | file->client_name_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 1 | file->client_name_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 1 | file->client_name_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | file->client_name_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | file->minor | 4096-ptr_max |
| PARAM_VALUE | 1 | file->minor->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | file->minor->dev->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | file->minor->dev->driver | 4096-ptr_max |
| PARAM_VALUE | 1 | file->minor->dev->driver->show_fdinfo | 1-u64max |
| BUF_SIZE | 1 | file | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | file | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | p | $0 |
| DATA_SOURCE | 1 | file | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &m->lock | ||
| LOCK2 | global &drm_unplug_srcu | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/accel/amdxdna/amdxdna_pci_drv.c amdxdna_show_fdinfo() -> drm_show_memory_stats()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4543128836824109056 |
| PARAM_VALUE | 0 | p->printfn | 4096-ptr_max |
| PARAM_VALUE | 1 | file | 4096-ptr_max |
| PARAM_VALUE | 1 | file->client_name_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | file->client_name_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | file->client_name_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | file->client_name_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | file->client_name_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 1 | file->client_name_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 1 | file->client_name_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 1 | file->client_name_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 1 | file->client_name_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | file->client_name_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | file->driver_priv | 4096-ptr_max |
| PARAM_VALUE | 1 | file->minor | 4096-ptr_max |
| PARAM_VALUE | 1 | file->minor->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | file->minor->dev->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | file->minor->dev->driver | 4096-ptr_max |
| PARAM_VALUE | 1 | file->minor->dev->driver->show_fdinfo | 1-u64max |
| BUF_SIZE | 1 | file | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | file | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | p | $0 |
| DATA_SOURCE | 1 | file | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &m->lock | ||
| LOCK2 | global &drm_unplug_srcu | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/gpu/drm/drm_file.c drm_show_fdinfo() -> (struct drm_driver)->show_fdinfo()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4543128836824109056 |
| PARAM_VALUE | 0 | p->printfn | 4096-ptr_max |
| PARAM_VALUE | 1 | file | 4096-ptr_max |
| PARAM_VALUE | 1 | file->client_name_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | file->client_name_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | file->client_name_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | file->client_name_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | file->client_name_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 1 | file->client_name_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 1 | file->client_name_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 1 | file->client_name_lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 1 | file->client_name_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 1 | file->client_name_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | file->client_name_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | file->minor | 4096-ptr_max |
| PARAM_VALUE | 1 | file->minor->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | file->minor->dev->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | file->minor->dev->driver | 4096-ptr_max |
| PARAM_VALUE | 1 | file->minor->dev->driver->show_fdinfo | 1-u64max |
| PARAM_VALUE | 1 | file->minor->dev->unplugged | 0 |
| BUF_SIZE | 1 | file | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | file | s32min-(-2),1-s32max |
| CAPPED_DATA | 1 | &file->client_name_lock | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &m->lock | ||
| LOCK2 | global &drm_unplug_srcu | ||
| TYPE_LOCK | (struct seq_file)->lock |