Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/namei.c do_tmpfile() -> vfs_tmpfile()

Type Parameter Key Value
PARAM_VALUE 1 parentpath 4966859992803287040
PARAM_VALUE 1 parentpath->mnt 4096-ptr_max
PARAM_VALUE 2 file 4096-ptr_max
PARAM_VALUE 2 file->__f_path.dentry 0
PARAM_VALUE 2 file->__f_path.mnt 0
PARAM_VALUE 2 file->f_cred 0,4096-ptr_max
PARAM_VALUE 2 file->f_cred->process_keyring->user->qnbytes s32min-s32max
PARAM_VALUE 2 file->f_cred->process_keyring->user->qnkeys s32min-s32max
PARAM_VALUE 2 file->f_cred->request_key_auth->user->qnbytes s32min-s32max
PARAM_VALUE 2 file->f_cred->request_key_auth->user->qnkeys s32min-s32max
PARAM_VALUE 2 file->f_cred->session_keyring->user->qnbytes s32min-s32max
PARAM_VALUE 2 file->f_cred->session_keyring->user->qnkeys s32min-s32max
PARAM_VALUE 2 file->f_cred->thread_keyring->user->qnbytes s32min-s32max
PARAM_VALUE 2 file->f_cred->thread_keyring->user->qnkeys s32min-s32max
PARAM_VALUE 2 file->f_ep 0
PARAM_VALUE 2 file->f_inode 0
PARAM_VALUE 2 file->f_iocb_flags 0
PARAM_VALUE 2 file->f_mapping 0
PARAM_VALUE 2 file->f_mode 67108864-67108867
PARAM_VALUE 2 file->f_op 0
PARAM_VALUE 2 file->f_owner 0
PARAM_VALUE 2 file->f_pos 0
PARAM_VALUE 2 file->f_pos_lock.dep_map->name 0-255
PARAM_VALUE 2 file->f_pos_lock.first_waiter 0
PARAM_VALUE 2 file->f_pos_lock.magic 4096-ptr_max
PARAM_VALUE 2 file->f_pos_lock.osq.tail.counter 0
PARAM_VALUE 2 file->f_pos_lock.owner.counter 0
PARAM_VALUE 2 file->f_ra.async_size 0
PARAM_VALUE 2 file->f_ra.mmap_miss 0
PARAM_VALUE 2 file->f_ra.order 0
PARAM_VALUE 2 file->f_ra.prev_pos 0
PARAM_VALUE 2 file->f_ra.ra_pages 0
PARAM_VALUE 2 file->f_ra.size 0
PARAM_VALUE 2 file->f_ra.start 0
PARAM_VALUE 2 file->f_ref.refcnt.counter 0
PARAM_VALUE 2 file->f_sb_err 0
PARAM_VALUE 2 file->f_wb_err 0
PARAM_VALUE 2 file->private_data 0
CAPPED_DATA 2 file->f_cred 1
DATA_SOURCE 2 file $3
BIT_INFO 2 file->f_flags 0x400000,0xffffffff
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 file->f_flags 0-u32max
USER_DATA 2 file->f_mode 67108864-67108867[c]
USER_DATA 3 mode 32768-36862[c]

fs/namei.c kernel_tmpfile_open() -> vfs_tmpfile()

Type Parameter Key Value
PARAM_VALUE 1 parentpath 556115897407918080,3575305638439772160,7918227756206768128
PARAM_VALUE 2 file 4096-ptr_max
PARAM_VALUE 2 file->__f_path.dentry 0
PARAM_VALUE 2 file->__f_path.mnt 0
PARAM_VALUE 2 file->f_cred 0,4096-ptr_max
PARAM_VALUE 2 file->f_ep 0
PARAM_VALUE 2 file->f_flags 32769,49154
PARAM_VALUE 2 file->f_inode 0
PARAM_VALUE 2 file->f_iocb_flags 0
PARAM_VALUE 2 file->f_mapping 0
PARAM_VALUE 2 file->f_mode 603979776-603979779
PARAM_VALUE 2 file->f_op 0
PARAM_VALUE 2 file->f_owner 0
PARAM_VALUE 2 file->f_pos 0
PARAM_VALUE 2 file->f_pos_lock.dep_map->name 0-255
PARAM_VALUE 2 file->f_pos_lock.first_waiter 0
PARAM_VALUE 2 file->f_pos_lock.magic 4096-ptr_max
PARAM_VALUE 2 file->f_pos_lock.osq.tail.counter 0
PARAM_VALUE 2 file->f_pos_lock.owner.counter 0
PARAM_VALUE 2 file->f_ra.async_size 0
PARAM_VALUE 2 file->f_ra.mmap_miss 0
PARAM_VALUE 2 file->f_ra.order 0
PARAM_VALUE 2 file->f_ra.prev_pos 0
PARAM_VALUE 2 file->f_ra.ra_pages 0
PARAM_VALUE 2 file->f_ra.size 0
PARAM_VALUE 2 file->f_ra.start 0
PARAM_VALUE 2 file->f_ref.refcnt.counter 0
PARAM_VALUE 2 file->f_sb_err 0
PARAM_VALUE 2 file->f_wb_err 0
PARAM_VALUE 2 file->private_data 0
PARAM_VALUE 3 mode 0,32768,33152
CAPPED_DATA 2 file->f_cred 1
DATA_SOURCE 0 idmap $0
DATA_SOURCE 1 parentpath $1
DATA_SOURCE 2 file r alloc_empty_file_noaccount
DATA_SOURCE 3 mode $2
BIT_INFO 2 file->f_mode 0x20000000,0xffffffffffffffff
HARD_MAX 3 mode 33152
RX_PATH
TASK_NOT_RUNNING

fs/backing-file.c backing_tmpfile_open() -> vfs_tmpfile()

Type Parameter Key Value
PARAM_VALUE 1 parentpath 4648118372144279552
PARAM_VALUE 1 parentpath->mnt 4096-ptr_max
PARAM_VALUE 2 file 1-ptr_max
PARAM_VALUE 2 file->__f_path.dentry 0
PARAM_VALUE 2 file->__f_path.mnt 0
PARAM_VALUE 2 file->f_cred 0,4096-ptr_max
PARAM_VALUE 2 file->f_ep 0
PARAM_VALUE 2 file->f_inode 0
PARAM_VALUE 2 file->f_iocb_flags 0
PARAM_VALUE 2 file->f_mapping 0
PARAM_VALUE 2 file->f_mode 620756992-620756995
PARAM_VALUE 2 file->f_op 0
PARAM_VALUE 2 file->f_owner 0
PARAM_VALUE 2 file->f_pos 0
PARAM_VALUE 2 file->f_pos_lock.first_waiter 0
PARAM_VALUE 2 file->f_pos_lock.magic 4096-ptr_max
PARAM_VALUE 2 file->f_pos_lock.osq.tail.counter 0
PARAM_VALUE 2 file->f_pos_lock.owner.counter 0
PARAM_VALUE 2 file->f_ra.async_size 0
PARAM_VALUE 2 file->f_ra.mmap_miss 0
PARAM_VALUE 2 file->f_ra.order 0
PARAM_VALUE 2 file->f_ra.prev_pos 0
PARAM_VALUE 2 file->f_ra.ra_pages 0
PARAM_VALUE 2 file->f_ra.size 0
PARAM_VALUE 2 file->f_ra.start 0
PARAM_VALUE 2 file->f_ref.refcnt.counter 0
PARAM_VALUE 2 file->f_sb_err 0
PARAM_VALUE 2 file->f_wb_err 0
PARAM_VALUE 2 file->private_data 0
BUF_SIZE 2 file 376
DATA_SOURCE 1 parentpath $2
DATA_SOURCE 2 file r alloc_empty_backing_file
DATA_SOURCE 3 mode $3
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 file->f_flags 0-u32max
USER_DATA 2 file->f_mode 620756992-620756995[c]
USER_DATA 3 mode 0-u16max[c]