Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/proc/proc_sysctl.c first_usable_entry() -> use_table()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &sysctl_lock
HALF_LOCKED2 &dir_fp->readdir_lock
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct inode)->i_rwsem

fs/proc/proc_sysctl.c lookup_entry() -> use_table()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &sysctl_lock
HALF_LOCKED2 &dir->i_rwsem

fs/proc/proc_sysctl.c sysctl_follow_link() -> use_table()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &sysctl_lock
HALF_LOCKED2 &inode->i_rwsem

fs/proc/proc_sysctl.c sysctl_head_grab() -> use_table()

Type Parameter Key Value
PARAM_VALUE 0 p 1-u64max
BUF_SIZE 0 p (-1),88
BUF_SIZE 0 p (-1),88
DATA_SOURCE 0 p $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &sysctl_lock
HALF_LOCKED2 &inode->i_rwsem