Defined in 5 files as a function:
- fs/namespace.c, line 1536 (as a function)
- fs/proc/task_mmu.c, line 308 (as a function)
- fs/proc/task_nommu.c, line 192 (as a function)
- kernel/module/procfs.c, line 49 (as a function)
- kernel/user_namespace.c, line 676 (as a function)
Referenced in 11 files:
- arch/x86/platform/efi/memmap.c
- drivers/gpu/drm/omapdrm/dss/pll.c
- drivers/i2c/busses/i2c-at91-master.c
- drivers/video/fbdev/omap2/omapfb/dss/pll.c
- fs/namespace.c, line 1581
- fs/proc/task_mmu.c
- fs/proc/task_nommu.c, line 246
- kernel/module/procfs.c, line 113
- kernel/user_namespace.c
- mm/memblock.c
- tools/perf/arch/s390/util/machine.c
Smatch caller information:
kernel/user_namespace.c gid_m_start() -> m_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m | 4096-ptr_max |
| PARAM_VALUE | 1 | ppos | 4096-ptr_max |
| PARAM_VALUE | 2 | map | 4096-ptr_max |
| BUF_SIZE | 0 | m | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | m | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | m->buf | (-1)-2147479552 |
| DATA_SOURCE | 0 | m | $0 |
| DATA_SOURCE | 1 | ppos | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | m->read_pos | 0-13442450941 |
| LOCK2 | 0 | &m->lock | |
| TYPE_LOCK | (struct seq_file)->lock |
kernel/user_namespace.c projid_m_start() -> m_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m | 4096-ptr_max |
| PARAM_VALUE | 1 | ppos | 4096-ptr_max |
| PARAM_VALUE | 2 | map | 4096-ptr_max |
| BUF_SIZE | 0 | m | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | m | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | m->buf | (-1)-2147479552 |
| DATA_SOURCE | 0 | m | $0 |
| DATA_SOURCE | 1 | ppos | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | m->read_pos | 0-13442450941 |
| LOCK2 | 0 | &m->lock | |
| TYPE_LOCK | (struct seq_file)->lock |
kernel/user_namespace.c uid_m_start() -> m_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m | 4096-ptr_max |
| PARAM_VALUE | 1 | ppos | 4096-ptr_max |
| BUF_SIZE | 0 | m | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | m | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | m->buf | (-1)-2147479552 |
| DATA_SOURCE | 0 | m | $0 |
| DATA_SOURCE | 1 | ppos | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | m->read_pos | 0-13442450941 |
| LOCK2 | 0 | &m->lock | |
| TYPE_LOCK | (struct seq_file)->lock |
kernel/bpf/bpf_iter.c bpf_seq_read() -> (struct seq_operations)->start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m | 4096-ptr_max |
| PARAM_VALUE | 0 | m->buf | 1-u64max |
| PARAM_VALUE | 0 | m->count | 0 |
| PARAM_VALUE | 0 | m->from | 0 |
| PARAM_VALUE | 0 | m->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | m->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | m->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | m->lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | m->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | m->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | m->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | m->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | m->op | 4096-ptr_max |
| PARAM_VALUE | 1 | ppos | 4096-ptr_max |
| BUF_SIZE | 0 | m | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | m | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | m->buf | 32768,u64max |
| CAPPED_DATA | 0 | &m->lock | 1 |
| CONTAINER | 0 | -0-208+0 | $(-1) |
| CONTAINER | 1 | -0-208+40 | $(-1) |
| LOCK2 | 0 | &m->lock | |
| TYPE_LOCK | (struct seq_file)->lock |
fs/seq_file.c seq_read_iter() -> (struct seq_operations)->start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m | 4096-ptr_max |
| PARAM_VALUE | 0 | m->buf | 1-u64max |
| PARAM_VALUE | 0 | m->count | 0 |
| PARAM_VALUE | 0 | m->from | 0 |
| PARAM_VALUE | 0 | m->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | m->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | m->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | m->lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | m->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | m->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | m->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | m->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | m->op | 4096-ptr_max |
| PARAM_VALUE | 1 | ppos | 4096-ptr_max |
| BUF_SIZE | 0 | m | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | m | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | m->buf | (-1)-2147479552 |
| CAPPED_DATA | 0 | &m->lock | 1 |
| CONTAINER | 0 | -0-208+0 | $(-1) |
| CONTAINER | 1 | -0-208+40 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | m->read_pos | 0-13442450941[c] |
| LOCK2 | 0 | &m->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
fs/seq_file.c seq_read_iter() -> (struct seq_operations)->start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m | 4096-ptr_max |
| PARAM_VALUE | 0 | m->buf | 1-18446744073709551614 |
| PARAM_VALUE | 0 | m->count | 0 |
| PARAM_VALUE | 0 | m->from | 0 |
| PARAM_VALUE | 0 | m->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | m->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | m->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | m->lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | m->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | m->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | m->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | m->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | m->op | 4096-ptr_max |
| PARAM_VALUE | 0 | m->size | 0,2-18446744073709551614 |
| PARAM_VALUE | 1 | ppos | 4096-ptr_max |
| BUF_SIZE | 0 | m | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | m | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | m->buf | 0-2147479552 |
| CAPPED_DATA | 0 | &m->lock | 1 |
| CONTAINER | 0 | -0-208+0 | $(-1) |
| CONTAINER | 1 | -0-208+40 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | m->read_pos | 0-13442450941[c] |
| LOCK2 | 0 | &m->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
fs/seq_file.c traverse() -> (struct seq_operations)->start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m | 4096-ptr_max |
| PARAM_VALUE | 0 | m->buf | 1-u64max |
| PARAM_VALUE | 0 | m->count | 0 |
| PARAM_VALUE | 0 | m->from | 0 |
| PARAM_VALUE | 0 | m->index | 0 |
| PARAM_VALUE | 0 | m->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | m->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | m->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | m->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | m->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | m->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | m->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | m->op | 4096-ptr_max |
| PARAM_VALUE | 1 | ppos | 4096-ptr_max |
| PARAM_VALUE | 1 | *ppos | 0 |
| BUF_SIZE | 0 | m | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | m | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | m->buf | (-1)-2147479552 |
| DATA_SOURCE | 0 | m | $0 |
| CONTAINER | 0 | -0-208+0 | $(-1) |
| CONTAINER | 1 | -0-208+40 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &m->lock | |
| TYPE_LOCK | (struct seq_file)->lock |
kernel/user_namespace.c m_next() -> (struct seq_operations)->start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m | 4096-ptr_max |
| PARAM_VALUE | 0 | m->buf | 1-u64max |
| PARAM_VALUE | 0 | m->count | 0-999999999 |
| PARAM_VALUE | 0 | m->from | 0 |
| PARAM_VALUE | 0 | m->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | m->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | m->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | m->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | m->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | m->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | m->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | m->op | 4096-ptr_max |
| PARAM_VALUE | 1 | ppos | 4096-ptr_max |
| BUF_SIZE | 0 | m | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | m | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | m->buf | (-1)-2147479552 |
| DATA_SOURCE | 0 | m | $0 |
| DATA_SOURCE | 1 | ppos | $2 |
| CONTAINER | 0 | -0-208+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | m->read_pos | 0-13442450941 |
| LOCK2 | 0 | &m->lock | |
| TYPE_LOCK | (struct seq_file)->lock |