Defined in 1 files as a member:
Defined in 1 files as a macro:
Defined in 23 files as a function:
- arch/alpha/kernel/setup.c, line 1321 (as a function)
- arch/arc/kernel/setup.c, line 614 (as a function)
- arch/arm/kernel/setup.c, line 1325 (as a function)
- arch/arm64/kernel/cpuinfo.c, line 287 (as a function)
- arch/csky/kernel/cpu-probe.c, line 61 (as a function)
- arch/hexagon/kernel/setup.c, line 95 (as a function)
- arch/loongarch/kernel/proc.c, line 110 (as a function)
- arch/m68k/kernel/setup_mm.c, line 458 (as a function)
- arch/m68k/kernel/setup_no.c, line 198 (as a function)
- arch/microblaze/kernel/cpu/mb.c, line 136 (as a function)
- arch/mips/kernel/proc.c, line 308 (as a function)
- arch/openrisc/kernel/setup.c, line 317 (as a function)
- arch/parisc/kernel/setup.c, line 146 (as a function)
- arch/powerpc/kernel/setup-common.c, line 334 (as a function)
- arch/riscv/kernel/cpu.c, line 308 (as a function)
- arch/s390/kernel/processor.c, line 364 (as a function)
- arch/sh/kernel/cpu/proc.c, line 133 (as a function)
- arch/sparc/kernel/cpu.c, line 413 (as a function)
- arch/um/kernel/um_arch.c, line 100 (as a function)
- arch/x86/kernel/cpu/proc.c, line 159 (as a function)
- arch/xtensa/kernel/setup.c, line 697 (as a function)
- crypto/proc.c, line 21 (as a function)
- fs/proc/consoles.c, line 71 (as a function)
Referenced in 25 files:
- arch/alpha/kernel/setup.c, line 1339
- arch/arc/kernel/setup.c
- arch/arm/kernel/setup.c, line 1341
- arch/arm/mach-rpc/ecard.c
- arch/arm64/kernel/cpuinfo.c
- arch/csky/kernel/cpu-probe.c, line 75
- arch/hexagon/kernel/setup.c
- arch/loongarch/kernel/proc.c
- arch/m68k/kernel/setup_mm.c, line 471
- arch/m68k/kernel/setup_no.c
- arch/microblaze/kernel/cpu/mb.c
- arch/mips/kernel/proc.c
- arch/openrisc/kernel/setup.c
- arch/parisc/kernel/setup.c
- arch/powerpc/kernel/setup-common.c
- arch/riscv/kernel/cpu.c
- arch/s390/kernel/processor.c, line 382
- arch/sh/kernel/cpu/proc.c
- arch/sparc/kernel/cpu.c
- arch/um/kernel/um_arch.c
- arch/x86/kernel/cpu/proc.c
- arch/xtensa/kernel/setup.c
- crypto/proc.c, line 89
- drivers/crypto/chelsio/chcr_algo.h
- fs/proc/consoles.c, line 105
Smatch caller information:
arch/x86/kernel/cpu/proc.c c_next() -> c_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m | 4096-ptr_max |
| PARAM_VALUE | 1 | pos | 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 | pos | $2 |
| 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 | pos | 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 | pos | 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 | pos | 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 | pos | 4096-ptr_max |
| PARAM_VALUE | 1 | *pos | 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 | pos | 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 | pos | $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 |