Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/file.c alloc_fd() -> expand_files()

Type Parameter Key Value
PARAM_VALUE 0 files 4096-ptr_max
PARAM_VALUE 0 files->fdt->max_fds 0-4294967294
PARAM_VALUE 0 files->file_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 nr 0-4294967294
CAPPED_DATA 1 nr 1
NOSPEC 1 nr
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 nr 0-s32max[c]
UNITS 1 nr unit_long
LOCK2 0 &files->file_lock
TYPE_LOCK (struct files_struct)->file_lock

fs/file.c ksys_dup3() -> expand_files()

Type Parameter Key Value
PARAM_VALUE 0 files 4096-ptr_max
PARAM_VALUE 0 files->file_lock.rlock.dep_map->name 0-255
CAPPED_DATA 1 nr 1
DATA_SOURCE 1 nr $1
PREEMPT_ADD <- disables preempt
USER_DATA 1 nr 0-s32max[c]
LOCK2 0 &files->file_lock
TYPE_LOCK (struct files_struct)->file_lock

fs/file.c replace_fd() -> expand_files()

Type Parameter Key Value
PARAM_VALUE 0 files 4096-ptr_max
PARAM_VALUE 0 files->file_lock.rlock.dep_map->name 0-255
CAPPED_DATA 1 nr 1
DATA_SOURCE 1 nr $0
PREEMPT_ADD <- disables preempt
UNITS 1 nr unit_long
LOCK2 0 &files->file_lock
HALF_LOCKED2 &match->notify_lock
TYPE_LOCK (struct files_struct)->file_lock