Defined in 2 files as a member:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 dir 4096-ptr_max
PARAM_VALUE 0 dir->header.parent 0
PARAM_VALUE 0 dir->header.parent->root.rb_node 4096-ptr_max
PARAM_VALUE 0 dir->header.type 1
PARAM_VALUE 0 dir->header.used 0
PARAM_VALUE 1 header 4096-ptr_max
PARAM_VALUE 1 header->count 1
PARAM_VALUE 1 header->ctl_table_size 0-14,17,20-21,30,33,35,40,63,129
PARAM_VALUE 1 header->nreg 1
PARAM_VALUE 1 header->parent 0
PARAM_VALUE 1 header->root->lookup 0,5392269646949294080,6047126420687204352,6897604583430860800,7236783754730508288,8683046458472632320
PARAM_VALUE 1 header->root->permissions 0,38113765950406656,1571376314402762752,2172075278380670976,4112528104768065536,8240891039179014144
PARAM_VALUE 1 header->root->set_ownership 0,4425853933097160704,4587890941347561472,4931669174917259264,6223890035077656576
PARAM_VALUE 1 header->set 4096-ptr_max
PARAM_VALUE 1 header->type 1
PARAM_VALUE 1 header->unregistering 0
PARAM_VALUE 1 header->used 0
BUF_SIZE 0 dir (-1),96,186-s32max
BUF_SIZE 0 dir (-1),96,186-s32max
BUF_SIZE 1 header 88-4216
BUF_SIZE 1 header 88-4216
CAPPED_DATA 1 header->ctl_table_size 1
DATA_SOURCE 0 dir r sysctl_mkdir_p
DATA_SOURCE 1 header r _kzalloc_noprof
STR_LEN 1 header->ctl_table_arg (-1)
STR_LEN 1 header->set (-1)
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &sysctl_lock

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

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

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

Type Parameter Key Value
PARAM_VALUE 0 dir 4096-ptr_max
PARAM_VALUE 1 header 4096-ptr_max
PARAM_VALUE 1 header->count 1
PARAM_VALUE 1 header->ctl_table 4096-ptr_max
PARAM_VALUE 1 header->ctl_table_arg 4096-ptr_max
PARAM_VALUE 1 header->ctl_table_size s32min-(-1),1-s32max
PARAM_VALUE 1 header->nreg s32min-(-1),1-s32max
PARAM_VALUE 1 header->parent 0
PARAM_VALUE 1 header->root->lookup 0,5392269646949294080,6047126420687204352,6897604583430860800,7236783754730508288,8683046458472632320
PARAM_VALUE 1 header->root->permissions 0,38113765950406656,1571376314402762752,2172075278380670976,4112528104768065536,8240891039179014144
PARAM_VALUE 1 header->root->set_ownership 0,4425853933097160704,4587890941347561472,4931669174917259264,6223890035077656576
PARAM_VALUE 1 header->type 1
PARAM_VALUE 1 header->unregistering 0
PARAM_VALUE 1 header->used 0
BUF_SIZE 0 dir (-1),96
BUF_SIZE 0 dir (-1),96
BUF_SIZE 1 header s32min-s32max
CAPPED_DATA 1 header->nreg 1
DATA_SOURCE 0 dir r xlate_dir
DATA_SOURCE 1 header r new_links
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &sysctl_lock