Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/pipe.c create_pipe_files() -> alloc_file_clone()

Type Parameter Key Value
PARAM_VALUE 0 base 4096-ptr_max
PARAM_VALUE 0 base->__f_path.dentry 4096-ptr_max
PARAM_VALUE 0 base->__f_path.mnt 0
PARAM_VALUE 0 base->f_cred 0,4096-ptr_max
PARAM_VALUE 0 base->f_cred->process_keyring->user->qnbytes s32min-s32max
PARAM_VALUE 0 base->f_cred->process_keyring->user->qnkeys s32min-s32max
PARAM_VALUE 0 base->f_cred->request_key_auth->user->qnbytes s32min-s32max
PARAM_VALUE 0 base->f_cred->request_key_auth->user->qnkeys s32min-s32max
PARAM_VALUE 0 base->f_cred->session_keyring->user->qnbytes s32min-s32max
PARAM_VALUE 0 base->f_cred->session_keyring->user->qnkeys s32min-s32max
PARAM_VALUE 0 base->f_cred->thread_keyring->user->qnbytes s32min-s32max
PARAM_VALUE 0 base->f_cred->thread_keyring->user->qnkeys s32min-s32max
PARAM_VALUE 0 base->f_ep 0
PARAM_VALUE 0 base->f_flags 0-18433,32770
PARAM_VALUE 0 base->f_inode 4096-ptr_max
PARAM_VALUE 0 base->f_iocb_flags 0,2,16,18,131072,131074,131088,131090
PARAM_VALUE 0 base->f_mapping 4096-ptr_max
PARAM_VALUE 0 base->f_mode 33554432,34078720-571342855
PARAM_VALUE 0 base->f_op 4096-ptr_max
PARAM_VALUE 0 base->f_owner 0
PARAM_VALUE 0 base->f_pipe 0
PARAM_VALUE 0 base->f_pos 0
PARAM_VALUE 0 base->f_pos_lock.dep_map->name 0-255
PARAM_VALUE 0 base->f_pos_lock.first_waiter 0
PARAM_VALUE 0 base->f_pos_lock.magic 4096-ptr_max
PARAM_VALUE 0 base->f_pos_lock.osq.tail.counter 0
PARAM_VALUE 0 base->f_pos_lock.owner.counter 0
PARAM_VALUE 0 base->f_ra.async_size 0
PARAM_VALUE 0 base->f_ra.mmap_miss 0
PARAM_VALUE 0 base->f_ra.order 0
PARAM_VALUE 0 base->f_ra.prev_pos 0
PARAM_VALUE 0 base->f_ra.ra_pages 0
PARAM_VALUE 0 base->f_ra.size 0
PARAM_VALUE 0 base->f_ra.start 0
PARAM_VALUE 0 base->f_ref.refcnt.counter 0
PARAM_VALUE 0 base->f_sb_err 0
PARAM_VALUE 0 base->f_wb_err 0
PARAM_VALUE 0 base->private_data 4096-ptr_max
PARAM_VALUE 1 flags 0,2048
PARAM_VALUE 2 fops 8220881298799509504
CAPPED_DATA 0 base->f_cred 1
DATA_SOURCE 0 base r alloc_file_pseudo
BIT_INFO 1 flags 0x0,0x800
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 flags 0,2048[c]
NO_OVERFLOW_SIMPLE 0 base->f_inode->i_blkbits
NO_OVERFLOW_SIMPLE 0 base->f_inode->i_size

ipc/shm.c do_shmat() -> alloc_file_clone()

Type Parameter Key Value
PARAM_VALUE 0 base 4096-ptr_max
PARAM_VALUE 0 base->f_op 4096-ptr_max
PARAM_VALUE 1 flags 0,2
PARAM_VALUE 2 fops 953987234994278400,5415274556022427648
FUZZY_MAX 1 flags 2
BIT_INFO 1 flags 0x0,0x2
BIT_INFO 2 fops 0x9242a0470051000,0x4f3fffd5f6ffd000
HARD_MAX 1 flags 2