Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 6 files:

Smatch caller information:

drivers/tty/tty_io.c __do_SAK() -> iterate_fd()

Type Parameter Key Value
PARAM_VALUE 1 n 0
PARAM_VALUE 2 f 5484485223873880064
PARAM_VALUE 3 p 4096-ptr_max
DATA_SOURCE 3 p $0
LOCK2 &_T->lock->alloc_lock
LOCK2 global &tasklist_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &console_sem

security/apparmor/file.c aa_inherit_files() -> iterate_fd()

Type Parameter Key Value
PARAM_VALUE 1 n 0
PARAM_VALUE 2 f 8931647600231079936
PARAM_VALUE 3 p 6308764822650945536
BUF_SIZE 3 p 16
DATA_SOURCE 0 files $1

security/apparmor/file.c aa_inherit_files() -> iterate_fd()

Type Parameter Key Value
PARAM_VALUE 0 files 4096-ptr_max
PARAM_VALUE 0 files->fdt->max_fds 1-u32max
PARAM_VALUE 0 files->file_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 n 1-u32max
PARAM_VALUE 2 f 8931647600231079936
PARAM_VALUE 3 p 6308764822650945536
BUF_SIZE 3 p 16
CAPPED_DATA 0 files->fdt->max_fds 1
CAPPED_DATA 1 n 1
DATA_SOURCE 0 files $1
BIT_INFO 1 n 0x0,0x7fffffff

net/core/netclassid_cgroup.c update_classid_task() -> iterate_fd()

Type Parameter Key Value
PARAM_VALUE 2 f 8589361713335500800
PARAM_VALUE 3 p 5503612738309083136
BUF_SIZE 3 p 8
CAPPED_DATA 1 n 1
BIT_INFO 1 n 0x0,0x7fffffff
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &p->alloc_lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct task_struct)->alloc_lock

security/selinux/hooks.c flush_unauthorized_files() -> iterate_fd()

Type Parameter Key Value
PARAM_VALUE 1 n 0
PARAM_VALUE 2 f 9212029728954134528
PARAM_VALUE 3 p 4096-ptr_max
DATA_SOURCE 0 files $1
DATA_SOURCE 3 p $0

security/selinux/hooks.c flush_unauthorized_files() -> iterate_fd()

Type Parameter Key Value
PARAM_VALUE 0 files 4096-ptr_max
PARAM_VALUE 0 files->fdt->max_fds 1-u32max
PARAM_VALUE 0 files->file_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 n 1-u32max
PARAM_VALUE 2 f 9212029728954134528
PARAM_VALUE 3 p 4096-ptr_max
CAPPED_DATA 0 files->fdt->max_fds 1
CAPPED_DATA 1 n 1
DATA_SOURCE 0 files $1
DATA_SOURCE 3 p $0
BIT_INFO 1 n 0x0,0x7fffffff

net/core/netprio_cgroup.c net_prio_attach() -> iterate_fd()

Type Parameter Key Value
PARAM_VALUE 1 n 0
PARAM_VALUE 2 f 1722829114282967040
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &p->alloc_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &cgroup_mutex
TYPE_LOCK (struct task_struct)->alloc_lock