Defined in 1 files as a prototype:

Defined in 2 files as a member:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

kernel/module/procfs.c m_show() -> module_flags()

Type Parameter Key Value
PARAM_VALUE 0 mod 4096-ptr_max
PARAM_VALUE 0 mod->mem 4096-ptr_max
PARAM_VALUE 0 mod->state 0-2,4-u32max
PARAM_VALUE 0 mod->taints 1-u64max
PARAM_VALUE 1 buf 1729626579297869824
PARAM_VALUE 2 show_state 1
BUF_SIZE 1 buf 24
FUZZY_MAX 0 mod->state 2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &m->lock
TYPE_LOCK (struct seq_file)->lock

kernel/module/main.c __do_sys_delete_module() -> module_flags()

Type Parameter Key Value
PARAM_VALUE 0 mod 4096-ptr_max
PARAM_VALUE 0 mod->source_list.next 4096-ptr_max
PARAM_VALUE 0 mod->state 2
PARAM_VALUE 1 buf 3830777363204333568
PARAM_VALUE 2 show_state 0
BUF_SIZE 1 buf 24
CAPPED_DATA 0 &mod->source_list 1
DATA_SOURCE 0 mod r find_module
CAPABLE 0 16
PARAM_COMPARE 0 &mod->source_list == $0->source_list.next

kernel/module/main.c __do_sys_delete_module() -> module_flags()

Type Parameter Key Value
PARAM_VALUE 0 mod 4096-ptr_max
PARAM_VALUE 0 mod->source_list.next 4096-ptr_max
PARAM_VALUE 0 mod->state 2
PARAM_VALUE 1 buf 3830777363204333568
PARAM_VALUE 2 show_state 0
BUF_SIZE 1 buf 24
CAPPED_DATA 0 &mod->source_list 1
DATA_SOURCE 0 mod r find_module
CAPABLE 0 16
PARAM_COMPARE 0 &mod->source_list == $0->source_list.next

kernel/module/main.c print_modules() -> module_flags()

Type Parameter Key Value
PARAM_VALUE 0 mod 4096-ptr_max
PARAM_VALUE 0 mod->state 0-2,4-u32max
PARAM_VALUE 1 buf 8044891845015195648
PARAM_VALUE 2 show_state 1
BUF_SIZE 1 buf 24
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 flags