Documented in 1 files:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/file_table.c alloc_file() -> file_init_path()

Type Parameter Key Value
PARAM_VALUE 0 file 4096-ptr_max
PARAM_VALUE 0 file->__f_path.dentry 0
PARAM_VALUE 0 file->__f_path.mnt 0
PARAM_VALUE 0 file->f_cred 0,4096-ptr_max
PARAM_VALUE 0 file->f_ep 0
PARAM_VALUE 0 file->f_flags 0-18433,32770
PARAM_VALUE 0 file->f_inode 0
PARAM_VALUE 0 file->f_iocb_flags 0
PARAM_VALUE 0 file->f_mapping 0
PARAM_VALUE 0 file->f_mode 67108864-67108867
PARAM_VALUE 0 file->f_op 0
PARAM_VALUE 0 file->f_owner 0
PARAM_VALUE 0 file->f_pos 0
PARAM_VALUE 0 file->f_pos_lock.dep_map->name 0-255
PARAM_VALUE 0 file->f_pos_lock.first_waiter 0
PARAM_VALUE 0 file->f_pos_lock.magic 4096-ptr_max
PARAM_VALUE 0 file->f_pos_lock.osq.tail.counter 0
PARAM_VALUE 0 file->f_pos_lock.owner.counter 0
PARAM_VALUE 0 file->f_ra.async_size 0
PARAM_VALUE 0 file->f_ra.mmap_miss 0
PARAM_VALUE 0 file->f_ra.order 0
PARAM_VALUE 0 file->f_ra.prev_pos 0
PARAM_VALUE 0 file->f_ra.ra_pages 0
PARAM_VALUE 0 file->f_ra.size 0
PARAM_VALUE 0 file->f_ra.start 0
PARAM_VALUE 0 file->f_ref.refcnt.counter 0
PARAM_VALUE 0 file->f_sb_err 0
PARAM_VALUE 0 file->f_wb_err 0
PARAM_VALUE 0 file->private_data 0
PARAM_VALUE 1 path 4096-ptr_max
CAPPED_DATA 0 file->f_cred 1
DATA_SOURCE 1 path $0
DATA_SOURCE 2 fop $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 file->f_flags 0-18433,32770
USER_DATA 0 file->f_mode 67108864-67108867[c]

fs/file_table.c alloc_file_pseudo_noaccount() -> file_init_path()

Type Parameter Key Value
PARAM_VALUE 0 file 4096-ptr_max
PARAM_VALUE 0 file->__f_path.dentry 0
PARAM_VALUE 0 file->__f_path.mnt 0
PARAM_VALUE 0 file->f_cred 0,4096-ptr_max
PARAM_VALUE 0 file->f_ep 0
PARAM_VALUE 0 file->f_flags 32768-32771,34816-34819
PARAM_VALUE 0 file->f_inode 0
PARAM_VALUE 0 file->f_iocb_flags 0
PARAM_VALUE 0 file->f_mapping 0
PARAM_VALUE 0 file->f_mode 603979776-603979779
PARAM_VALUE 0 file->f_op 0
PARAM_VALUE 0 file->f_owner 0
PARAM_VALUE 0 file->f_pos 0
PARAM_VALUE 0 file->f_pos_lock.dep_map->name 0-255
PARAM_VALUE 0 file->f_pos_lock.first_waiter 0
PARAM_VALUE 0 file->f_pos_lock.magic 4096-ptr_max
PARAM_VALUE 0 file->f_pos_lock.osq.tail.counter 0
PARAM_VALUE 0 file->f_pos_lock.owner.counter 0
PARAM_VALUE 0 file->f_ra.async_size 0
PARAM_VALUE 0 file->f_ra.mmap_miss 0
PARAM_VALUE 0 file->f_ra.order 0
PARAM_VALUE 0 file->f_ra.prev_pos 0
PARAM_VALUE 0 file->f_ra.ra_pages 0
PARAM_VALUE 0 file->f_ra.size 0
PARAM_VALUE 0 file->f_ra.start 0
PARAM_VALUE 0 file->f_ref.refcnt.counter 0
PARAM_VALUE 0 file->f_sb_err 0
PARAM_VALUE 0 file->f_wb_err 0
PARAM_VALUE 0 file->private_data 0
PARAM_VALUE 1 path 1970019892605042688
PARAM_VALUE 1 path->dentry 4096-ptr_max
PARAM_VALUE 1 path->mnt 4096-ptr_max
PARAM_VALUE 2 fop 8212791493360840704
CAPPED_DATA 0 file->f_cred 1
DATA_SOURCE 2 fop $4
BIT_INFO 0 file->f_flags 0x8000,0x8fff
BIT_INFO 0 file->f_mode 0x20000000,0xffffffffffffffff
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &buffer->mutex
HALF_LOCKED2 &frag->frag_sem
HALF_LOCKED2 &md->table_devices_lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 global &device_hotplug_lock
HALF_LOCKED2 global &jfs_log_mutex
HALF_LOCKED2 global &system_transition_mutex
HALF_LOCKED2 global &xenwatch_mutex