Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/proc/task_mmu.c show_numa_map() -> mpol_to_str()

Type Parameter Key Value
PARAM_VALUE 0 buffer 3221076839393480704
PARAM_VALUE 1 maxlen 64
PARAM_VALUE 2 pol 1-u64max
BUF_SIZE 0 buffer 64
DATA_SOURCE 2 pol r __get_vma_policy
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 maxlen unit_byte
LOCK2 &m->lock
TYPE_LOCK (struct seq_file)->lock

fs/proc/task_mmu.c show_numa_map() -> mpol_to_str()

Type Parameter Key Value
PARAM_VALUE 0 buffer 3221076839393480704
PARAM_VALUE 1 maxlen 64
BUF_SIZE 0 buffer 64
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 maxlen unit_byte
LOCK2 &m->lock
TYPE_LOCK (struct seq_file)->lock

mm/shmem.c shmem_show_mpol() -> mpol_to_str()

Type Parameter Key Value
PARAM_VALUE 0 buffer 2673388467155132416
PARAM_VALUE 1 maxlen 64
PARAM_VALUE 2 pol 4096-ptr_max
PARAM_VALUE 2 pol->mode 1-u16max
BUF_SIZE 0 buffer 64
DATA_SOURCE 2 pol $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 maxlen unit_byte
HALF_LOCKED2 &seq->lock
HALF_LOCKED2 global &namespace_sem