Defined in 1 files as a member:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

fs/file.c get_close_on_exec() -> close_on_exec()

Type Parameter Key Value
DATA_SOURCE 0 fd $0
USER_DATA 0 fd 0-u32max
LOCK2 rcu_read

fs/proc/fd.c seq_show() -> close_on_exec()

Type Parameter Key Value
PARAM_VALUE 1 files 4096-ptr_max
PARAM_VALUE 1 files->fdt 4096-ptr_max
PARAM_VALUE 1 files->fdt->fd 4096-ptr_max
PARAM_VALUE 1 files->file_lock.rlock.dep_map->name 0-255
DATA_SOURCE 0 fd r proc_fd
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &m->lock
LOCK2 &task->alloc_lock
LOCK2 1 &files->file_lock
TYPE_LOCK (struct files_struct)->file_lock
TYPE_LOCK (struct seq_file)->lock
TYPE_LOCK (struct task_struct)->alloc_lock