Defined in 3 files as a function:
- drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c, line 1828 (as a function)
- kernel/locking/lockdep_proc.c, line 60 (as a function)
- tools/power/x86/turbostat/turbostat.c, line 2889 (as a function)
Referenced in 6 files:
- drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c
- drivers/net/ethernet/3com/3c59x.c
- drivers/net/fddi/defxx.c
- fs/dlm/debug_fs.c
- kernel/locking/lockdep_proc.c
- tools/power/x86/turbostat/turbostat.c
Smatch caller information:
kernel/locking/lockdep_proc.c l_show() -> print_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->buf | 1-u64max |
| PARAM_VALUE | 0 | p->from | 0 |
| PARAM_VALUE | 0 | p->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | p->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | p->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | p->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | p->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | p->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | p->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | p->op | 4096-ptr_max |
| PARAM_VALUE | 1 | fmt | 4096-ptr_max |
| BUF_SIZE | 0 | p | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | p | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | p->buf | (-1)-2147479552 |
| CAPPED_DATA | 0 | p->size | 1 |
| DATA_SOURCE | 0 | p | $0 |
| DATA_SOURCE | 1 | fmt | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | p->read_pos | 0-13442450941 |
| LOCK2 | 0 | &p->lock | |
| TYPE_LOCK | (struct seq_file)->lock |
kernel/locking/lockdep_proc.c l_show() -> print_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->buf | 1-u64max |
| PARAM_VALUE | 0 | p->from | 0 |
| PARAM_VALUE | 0 | p->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | p->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | p->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | p->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | p->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | p->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | p->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | p->op | 4096-ptr_max |
| PARAM_VALUE | 1 | fmt | 4096-ptr_max |
| BUF_SIZE | 0 | p | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | p | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | p->buf | (-1)-2147479552 |
| CAPPED_DATA | 0 | p->size | 1 |
| DATA_SOURCE | 0 | p | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | p->read_pos | 0-13442450941 |
| LOCK2 | 0 | &p->lock | |
| TYPE_LOCK | (struct seq_file)->lock |
kernel/locking/lockdep_proc.c lc_show() -> print_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->buf | 1-u64max |
| PARAM_VALUE | 0 | p->from | 0 |
| PARAM_VALUE | 0 | p->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | p->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | p->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | p->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | p->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | p->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | p->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | p->op | 4096-ptr_max |
| PARAM_VALUE | 1 | fmt | 4096-ptr_max |
| PARAM_VALUE | 1 | fmt->key | 1-u64max |
| BUF_SIZE | 0 | p | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | p | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | p->buf | (-1)-2147479552 |
| CAPPED_DATA | 0 | p->size | 1 |
| DATA_SOURCE | 0 | p | $0 |
| DATA_SOURCE | 1 | fmt | r lock_chain_get_class |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | p->read_pos | 0-13442450941 |
| LOCK2 | 0 | &p->lock | |
| TYPE_LOCK | (struct seq_file)->lock |
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c a6xx_show_cluster() -> print_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 5464231574911172608,8052268384035061760 |
| PARAM_VALUE | 0 | p->printfn | 4096-ptr_max |
| PARAM_VALUE | 1 | fmt | 5808034970821844992 |
| BUF_SIZE | 1 | fmt | 19 |
| DATA_SOURCE | 0 | p | $1 |
| STR_LEN | 0 | p | 18 |
| TERMINATED | 1 | fmt | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &gpu->lock | ||
| HALF_LOCKED2 | &m->lock | ||
| HALF_LOCKED2 | &of->mutex |
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c a6xx_show_dbgahb_cluster() -> print_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 5464231574911172608,8052268384035061760 |
| PARAM_VALUE | 0 | p->printfn | 4096-ptr_max |
| PARAM_VALUE | 1 | fmt | 5808034970821844992 |
| BUF_SIZE | 1 | fmt | 19 |
| DATA_SOURCE | 0 | p | $1 |
| STR_LEN | 0 | p | 18 |
| TERMINATED | 1 | fmt | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &gpu->lock | ||
| HALF_LOCKED2 | &m->lock | ||
| HALF_LOCKED2 | &of->mutex |
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c a6xx_show_debugbus_block() -> print_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 5464231574911172608,8052268384035061760 |
| PARAM_VALUE | 0 | p->printfn | 4096-ptr_max |
| PARAM_VALUE | 1 | fmt | 4089996350552666112 |
| BUF_SIZE | 1 | fmt | 21 |
| DATA_SOURCE | 0 | p | $2 |
| STR_LEN | 0 | p | 20 |
| TERMINATED | 1 | fmt | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &gpu->lock | ||
| HALF_LOCKED2 | &m->lock | ||
| HALF_LOCKED2 | &of->mutex |
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c a6xx_show_indexed_regs() -> print_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 5464231574911172608,8052268384035061760 |
| PARAM_VALUE | 0 | p->printfn | 4096-ptr_max |
| PARAM_VALUE | 1 | fmt | 6127683871227793408 |
| BUF_SIZE | 1 | fmt | 16 |
| DATA_SOURCE | 0 | p | $1 |
| STR_LEN | 0 | p | 15 |
| TERMINATED | 1 | fmt | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &gpu->lock | ||
| HALF_LOCKED2 | &m->lock | ||
| HALF_LOCKED2 | &of->mutex |
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c a6xx_show_shader() -> print_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 5464231574911172608,8052268384035061760 |
| PARAM_VALUE | 0 | p->printfn | 4096-ptr_max |
| PARAM_VALUE | 1 | fmt | 7223207770428755968 |
| BUF_SIZE | 1 | fmt | 11 |
| DATA_SOURCE | 0 | p | $1 |
| STR_LEN | 0 | p | 10 |
| TERMINATED | 1 | fmt | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &gpu->lock | ||
| HALF_LOCKED2 | &m->lock | ||
| HALF_LOCKED2 | &of->mutex |
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c a7xx_show_cluster() -> print_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 5464231574911172608,8052268384035061760 |
| PARAM_VALUE | 0 | p->printfn | 4096-ptr_max |
| PARAM_VALUE | 1 | fmt | 8479791217712553984 |
| BUF_SIZE | 1 | fmt | 11 |
| DATA_SOURCE | 0 | p | $1 |
| STR_LEN | 0 | p | 10 |
| TERMINATED | 1 | fmt | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &gpu->lock | ||
| HALF_LOCKED2 | &m->lock | ||
| HALF_LOCKED2 | &of->mutex |
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c a7xx_show_cluster() -> print_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 5464231574911172608,8052268384035061760 |
| PARAM_VALUE | 0 | p->arg->remain | 0-s64max |
| PARAM_VALUE | 0 | p->printfn | 4096-ptr_max |
| PARAM_VALUE | 0 | *p->arg->data | 0-255 |
| PARAM_VALUE | 1 | fmt | 4161327475439009792 |
| BUF_SIZE | 1 | fmt | 21 |
| DATA_SOURCE | 0 | p | $1 |
| STR_LEN | 0 | p | 20 |
| TERMINATED | 1 | fmt | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &gpu->lock | ||
| HALF_LOCKED2 | &m->lock | ||
| HALF_LOCKED2 | &of->mutex |
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c a7xx_show_dbgahb_cluster() -> print_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 5464231574911172608,8052268384035061760 |
| PARAM_VALUE | 0 | p->printfn | 4096-ptr_max |
| PARAM_VALUE | 1 | fmt | 8479791217712553984 |
| BUF_SIZE | 1 | fmt | 11 |
| DATA_SOURCE | 0 | p | $1 |
| STR_LEN | 0 | p | 10 |
| TERMINATED | 1 | fmt | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &gpu->lock | ||
| HALF_LOCKED2 | &m->lock | ||
| HALF_LOCKED2 | &of->mutex |
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c a7xx_show_dbgahb_cluster() -> print_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 5464231574911172608,8052268384035061760 |
| PARAM_VALUE | 0 | p->arg->remain | 0-s64max |
| PARAM_VALUE | 0 | p->printfn | 4096-ptr_max |
| PARAM_VALUE | 0 | *p->arg->data | 0-255 |
| PARAM_VALUE | 1 | fmt | 4161327475439009792 |
| BUF_SIZE | 1 | fmt | 21 |
| DATA_SOURCE | 0 | p | $1 |
| STR_LEN | 0 | p | 20 |
| TERMINATED | 1 | fmt | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &gpu->lock | ||
| HALF_LOCKED2 | &m->lock | ||
| HALF_LOCKED2 | &of->mutex |
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c a7xx_show_shader() -> print_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 5464231574911172608,8052268384035061760 |
| PARAM_VALUE | 0 | p->printfn | 4096-ptr_max |
| PARAM_VALUE | 1 | fmt | 7223207770428755968 |
| BUF_SIZE | 1 | fmt | 11 |
| DATA_SOURCE | 0 | p | $1 |
| STR_LEN | 0 | p | 10 |
| TERMINATED | 1 | fmt | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &gpu->lock | ||
| HALF_LOCKED2 | &m->lock | ||
| HALF_LOCKED2 | &of->mutex |
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c a7xx_show_shader() -> print_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 5464231574911172608,8052268384035061760 |
| PARAM_VALUE | 0 | p->arg->remain | 0-s64max |
| PARAM_VALUE | 0 | p->printfn | 4096-ptr_max |
| PARAM_VALUE | 0 | *p->arg->data | 0-255 |
| PARAM_VALUE | 1 | fmt | 2164578698649214976 |
| BUF_SIZE | 1 | fmt | 13 |
| DATA_SOURCE | 0 | p | $1 |
| STR_LEN | 0 | p | 12 |
| TERMINATED | 1 | fmt | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &gpu->lock | ||
| HALF_LOCKED2 | &m->lock | ||
| HALF_LOCKED2 | &of->mutex |