Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

fs/proc/base.c proc_pid_lookup() -> name_to_int()

Type Parameter Key Value
PARAM_VALUE 0 qstr 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dentry->d_lockref.lock
HALF_LOCKED2 &dir->i_rwsem

fs/proc/base.c proc_task_lookup() -> name_to_int()

Type Parameter Key Value
PARAM_VALUE 0 qstr 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dir->i_rwsem

fs/proc/fd.c proc_lookupfd_common() -> name_to_int()

Type Parameter Key Value
PARAM_VALUE 0 qstr 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dentry->d_lockref.lock
HALF_LOCKED2 &dir->i_rwsem

fs/proc/generic.c __proc_create() -> name_to_int()

Type Parameter Key Value
PARAM_VALUE 0 qstr 1543791177075097600
PARAM_VALUE 0 qstr->len 1-255
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_PTR 0 qstr->name