Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

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

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->nreg s32min-(-1),1-s32max
PARAM_VALUE 1 header->parent 4096-ptr_max
PARAM_VALUE 1 header->parent->header.parent 0,4096-ptr_max
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 0-6329497269141114879,6329497269141114881-u64max
PARAM_VALUE 1 header->type 1
PARAM_VALUE 1 header->used 0
PARAM_VALUE 2 link_root->lookup 0,5392269646949294080,6047126420687204352,6897604583430860800,7236783754730508288,8683046458472632320
PARAM_VALUE 2 link_root->permissions 0,38113765950406656,1571376314402762752,2172075278380670976,4112528104768065536,8240891039179014144
PARAM_VALUE 2 link_root->set_ownership 0,4425853933097160704,4587890941347561472,4931669174917259264,6223890035077656576
BUF_SIZE 0 dir (-1),96
BUF_SIZE 0 dir (-1),96
BUF_SIZE 1 header (-1),88-4216
BUF_SIZE 1 header (-1),88-4216
BUF_SIZE 1 header->parent (-1),96,186-s32max
CAPPED_DATA 1 header->ctl_table_size 1
CAPPED_DATA 1 header->nreg 1
DATA_SOURCE 0 dir r xlate_dir
DATA_SOURCE 1 header $0
STR_LEN 1 header->parent (-1),9-26,29-30
STR_LEN 1 header->set (-1)
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &sysctl_lock

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

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_size s32min-(-1),1-s32max
PARAM_VALUE 1 header->nreg s32min-(-1),1-s32max
PARAM_VALUE 1 header->parent 4096-ptr_max
PARAM_VALUE 1 header->parent->header.parent 0,4096-ptr_max
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 0-6329497269141114879,6329497269141114881-u64max
PARAM_VALUE 1 header->type 1
PARAM_VALUE 1 header->used 0
PARAM_VALUE 2 link_root->lookup 0,5392269646949294080,6047126420687204352,6897604583430860800,7236783754730508288,8683046458472632320
PARAM_VALUE 2 link_root->permissions 0,38113765950406656,1571376314402762752,2172075278380670976,4112528104768065536,8240891039179014144
PARAM_VALUE 2 link_root->set_ownership 0,4425853933097160704,4587890941347561472,4931669174917259264,6223890035077656576
BUF_SIZE 0 dir (-1),96
BUF_SIZE 0 dir (-1),96
BUF_SIZE 1 header (-1),88-4216
BUF_SIZE 1 header (-1),88-4216
BUF_SIZE 1 header->parent (-1),96,186-s32max
CAPPED_DATA 1 header->ctl_table_size 1
CAPPED_DATA 1 header->nreg 1
DATA_SOURCE 0 dir r xlate_dir
DATA_SOURCE 1 header $0
STR_LEN 1 header->parent (-1),9-26,29-30
STR_LEN 1 header->set (-1)
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &sysctl_lock