Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 dir 4096-ptr_max
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
NOCHECK_CALL
LOCK2 global &sysctl_lock

fs/proc/proc_sysctl.c insert_entry() -> sysctl_print_dir()

Type Parameter Key Value
PARAM_VALUE 0 dir 4096-ptr_max
BUF_SIZE 0 dir (-1),96,186-s32max
BUF_SIZE 0 dir (-1),96,186-s32max
STR_LEN 0 dir (-1),9-26,29-30
STR_LEN 0 dir (-1),9-26,29-30
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &sysctl_lock

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

Type Parameter Key Value
PARAM_VALUE 0 dir 4096-ptr_max
PARAM_VALUE 0 dir->header.parent 0,4096-ptr_max
BUF_SIZE 0 dir (-1),96,186-s32max
BUF_SIZE 0 dir (-1),96,186-s32max
STR_LEN 0 dir (-1),9-26,29-30
STR_LEN 0 dir (-1),9-26,29-30
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &sysctl_lock

fs/proc/proc_sysctl.c sysctl_print_dir() -> sysctl_print_dir()

Type Parameter Key Value
PARAM_VALUE 0 dir 1-u64max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &sysctl_lock