Defined in 1 files as a member:
Defined in 4 files as a function:
- arch/x86/kernel/cpu/mce/severity.c, line 430 (as a function)
- kernel/kallsyms.c, line 740 (as a function)
- kernel/trace/trace.c, line 2691 (as a function)
- kernel/trace/trace_events.c, line 1640 (as a function)
Referenced in 6 files:
- arch/x86/kernel/cpu/mce/severity.c, line 450
- drivers/spi/spi-mtk-snfi.c
- fs/lockd/svcshare.c
- kernel/kallsyms.c
- kernel/trace/trace.c
- kernel/trace/trace_events.c
Smatch caller information:
kernel/trace/trace.c s_start() -> s_next()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | f | 4096-ptr_max |
| PARAM_VALUE | 0 | f->buf | 1-u64max |
| PARAM_VALUE | 0 | f->count | 0-999999999 |
| PARAM_VALUE | 0 | f->from | 0 |
| PARAM_VALUE | 0 | f->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | f->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | f->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | f->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | f->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | f->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | f->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | f->op | 4096-ptr_max |
| PARAM_VALUE | 0 | f->private | 4096-ptr_max |
| PARAM_VALUE | 1 | data | 4096-ptr_max |
| PARAM_VALUE | 2 | pos | 5111872494551818240 |
| PARAM_VALUE | 2 | *pos | s64min-9223372036854775806 |
| BUF_SIZE | 0 | f | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | f | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | f->buf | (-1)-2147479552 |
| BUF_SIZE | 1 | data | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | data | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | f | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | f->read_pos | 0-13442450941 |
| UNITS | 1 | data | unit_array_size |
| LOCK2 | 0 | &f->lock | |
| TYPE_LOCK | (struct seq_file)->lock |
kernel/trace/trace.c s_start() -> s_next()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | f | 4096-ptr_max |
| PARAM_VALUE | 0 | f->buf | 1-u64max |
| PARAM_VALUE | 0 | f->count | 0-999999999 |
| PARAM_VALUE | 0 | f->from | 0 |
| PARAM_VALUE | 0 | f->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | f->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | f->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | f->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | f->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | f->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | f->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | f->op | 4096-ptr_max |
| PARAM_VALUE | 0 | f->private | 4096-ptr_max |
| PARAM_VALUE | 1 | data | 0 |
| PARAM_VALUE | 2 | pos | 5111872494551818240 |
| BUF_SIZE | 0 | f | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | f | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | f->buf | (-1)-2147479552 |
| DATA_SOURCE | 0 | f | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | f->read_pos | 0-13442450941 |
| LOCK2 | 0 | &f->lock | |
| TYPE_LOCK | (struct seq_file)->lock |
kernel/trace/trace_events.c s_start() -> s_next()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | f | 4096-ptr_max |
| PARAM_VALUE | 0 | f->buf | 1-u64max |
| PARAM_VALUE | 0 | f->count | 0-999999999 |
| PARAM_VALUE | 0 | f->from | 0 |
| PARAM_VALUE | 0 | f->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | f->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | f->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | f->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | f->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | f->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | f->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | f->op | 4096-ptr_max |
| PARAM_VALUE | 1 | data | 4096-ptr_max |
| PARAM_VALUE | 2 | pos | 3264756643828920320 |
| BUF_SIZE | 0 | f | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | f | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | f->buf | (-1)-2147479552 |
| BUF_SIZE | 1 | data | 16,24,32,40,48,1234,8192,u64max |
| DATA_SOURCE | 0 | f | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | f->read_pos | 0-13442450941 |
| LOCK2 | global &event_mutex | ||
| LOCK2 | 0 | &f->lock | |
| TYPE_LOCK | (struct seq_file)->lock |
kernel/bpf/bpf_iter.c bpf_seq_read() -> (struct seq_operations)->next()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | f | 4096-ptr_max |
| PARAM_VALUE | 0 | f->buf | 1-u64max |
| PARAM_VALUE | 0 | f->count | 0 |
| PARAM_VALUE | 0 | f->from | 0 |
| PARAM_VALUE | 0 | f->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | f->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | f->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | f->lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | f->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | f->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | f->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | f->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | f->op | 4096-ptr_max |
| PARAM_VALUE | 1 | data | 1-ptr_max |
| PARAM_VALUE | 2 | pos | 4096-ptr_max |
| BUF_SIZE | 0 | f | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | f | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | f->buf | 32768,u64max |
| CAPPED_DATA | 0 | &f->lock | 1 |
| CONTAINER | 0 | -16-208+0 | $(-1) |
| CONTAINER | 2 | -16-208+40 | $(-1) |
| PARAM_COMPARE | 0 | f->count | <= $0->size |
| LOCK2 | 0 | &f->lock | |
| TYPE_LOCK | (struct seq_file)->lock |
fs/seq_file.c seq_read_iter() -> (struct seq_operations)->next()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | f | 4096-ptr_max |
| PARAM_VALUE | 0 | f->buf | 1-u64max |
| PARAM_VALUE | 0 | f->count | 0 |
| PARAM_VALUE | 0 | f->from | 0 |
| PARAM_VALUE | 0 | f->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | f->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | f->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | f->lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | f->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | f->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | f->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | f->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | f->op | 4096-ptr_max |
| PARAM_VALUE | 1 | data | 1-ptr_max |
| PARAM_VALUE | 2 | pos | 4096-ptr_max |
| BUF_SIZE | 0 | f | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | f | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | f->buf | (-1)-2147479552 |
| CAPPED_DATA | 0 | &f->lock | 1 |
| CONTAINER | 0 | -16-208+0 | $(-1) |
| CONTAINER | 2 | -16-208+40 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | f->read_pos | 0-13442450941[c] |
| LOCK2 | 0 | &f->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
fs/seq_file.c seq_read_iter() -> (struct seq_operations)->next()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | f | 4096-ptr_max |
| PARAM_VALUE | 0 | f->buf | 1-u64max |
| PARAM_VALUE | 0 | f->count | 0-999999999 |
| PARAM_VALUE | 0 | f->from | 0 |
| PARAM_VALUE | 0 | f->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | f->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | f->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | f->lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | f->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | f->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | f->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | f->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | f->op | 4096-ptr_max |
| PARAM_VALUE | 1 | data | 1-ptr_max |
| PARAM_VALUE | 2 | pos | 4096-ptr_max |
| BUF_SIZE | 0 | f | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | f | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | f->buf | (-1)-2147479552 |
| CAPPED_DATA | 0 | &f->lock | 1 |
| CONTAINER | 0 | -16-208+0 | $(-1) |
| CONTAINER | 2 | -16-208+40 | $(-1) |
| PARAM_COMPARE | 0 | f->count | != $0->size |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | f->read_pos | 0-13442450941[c] |
| LOCK2 | 0 | &f->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
fs/seq_file.c traverse() -> (struct seq_operations)->next()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | f | 4096-ptr_max |
| PARAM_VALUE | 0 | f->buf | 1-u64max |
| PARAM_VALUE | 0 | f->count | 0 |
| PARAM_VALUE | 0 | f->from | 0 |
| PARAM_VALUE | 0 | f->index | 0 |
| PARAM_VALUE | 0 | f->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | f->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | f->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | f->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | f->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | f->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | f->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | f->op | 4096-ptr_max |
| PARAM_VALUE | 0 | f->size | 1-u64max |
| PARAM_VALUE | 1 | data | 1-ptr_max |
| PARAM_VALUE | 2 | pos | 4096-ptr_max |
| PARAM_VALUE | 2 | *pos | 0 |
| BUF_SIZE | 0 | f | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | f | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | f->buf | (-1)-2147479552 |
| DATA_SOURCE | 0 | f | $0 |
| FUZZY_MAX | 0 | f->size | 4096 |
| CONTAINER | 0 | -16-208+0 | $(-1) |
| CONTAINER | 2 | -16-208+40 | $(-1) |
| PARAM_COMPARE | 0 | f->count | < $0->size |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &f->lock | |
| TYPE_LOCK | (struct seq_file)->lock |