Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/proc/proc_sysctl.c drop_sysctl_table() -> put_links()

Type Parameter Key Value
PARAM_VALUE 0 header 4096-ptr_max
PARAM_VALUE 0 header->nreg 0
PARAM_VALUE 0 header->parent 1-u64max
BUF_SIZE 0 header (-1),88-4216
BUF_SIZE 0 header (-1),88-4216
DATA_SOURCE 0 header $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &sysctl_lock

fs/proc/proc_sysctl.c insert_header() -> put_links()

Type Parameter Key Value
PARAM_VALUE 0 header 4096-ptr_max
PARAM_VALUE 0 header->count 1
PARAM_VALUE 0 header->ctl_table 4096-ptr_max
PARAM_VALUE 0 header->ctl_table_arg 4096-ptr_max
PARAM_VALUE 0 header->ctl_table_size s32min-(-1),1-s32max
PARAM_VALUE 0 header->nreg s32min-(-1),1-s32max
PARAM_VALUE 0 header->parent 4096-ptr_max
PARAM_VALUE 0 header->parent->root.rb_node 4096-ptr_max
PARAM_VALUE 0 header->type 1
PARAM_VALUE 0 header->used 0
BUF_SIZE 0 header->parent (-1),96,186-s32max
CAPPED_DATA 0 header->ctl_table_size 1
CAPPED_DATA 0 header->nreg 1
DATA_SOURCE 0 header $1
STR_LEN 0 header->ctl_table_arg (-1)
STR_LEN 0 header->parent (-1),9-27,29-30
STR_LEN 0 header->set (-1)
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &sysctl_lock