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 __register_sysctl_table() -> drop_sysctl_table()

Type Parameter Key Value
PARAM_VALUE 0 header 4096-ptr_max
PARAM_VALUE 0 header->parent 0
PARAM_VALUE 0 header->type 1
PARAM_VALUE 0 header->used 0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &sysctl_lock

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

Type Parameter Key Value
PARAM_VALUE 0 header 4096-ptr_max
PARAM_VALUE 0 header->parent 0
PARAM_VALUE 0 header->type 1
PARAM_VALUE 0 header->used 0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &sysctl_lock

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

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

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

Type Parameter Key Value
PARAM_VALUE 0 header 4096-ptr_max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &sysctl_lock

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

Type Parameter Key Value
PARAM_VALUE 0 header 0,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 1
PARAM_VALUE 0 header->nreg 1
PARAM_VALUE 0 header->parent 0,4096-ptr_max
PARAM_VALUE 0 header->set 4096-ptr_max
PARAM_VALUE 0 header->type 1
PARAM_VALUE 0 header->unregistering 0
PARAM_VALUE 0 header->used 0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &sysctl_lock

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

Type Parameter Key Value
PARAM_VALUE 0 header 4096-ptr_max
BUF_SIZE 0 header 88
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &sysctl_lock

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

Type Parameter Key Value
PARAM_VALUE 0 header 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &sysctl_lock

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

Type Parameter Key Value
PARAM_VALUE 0 header 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &sysctl_lock

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

Type Parameter Key Value
PARAM_VALUE 0 header 1-u64max
BUF_SIZE 0 header (-1),88-4216
BUF_SIZE 0 header (-1),88-4216
DATA_SOURCE 0 header $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &sysctl_lock