Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/block/loop.c lo_fallocate() -> (struct file_operations)->fallocate()

Type Parameter Key Value
PARAM_VALUE 0 file 4096-ptr_max
PARAM_VALUE 0 file->f_op 4096-ptr_max
PARAM_VALUE 1 mode 3,17
PARAM_VALUE 3 len 0-4294967295
DATA_SOURCE 1 mode $3 [m]
DATA_SOURCE 2 start $2
CONTAINER 0 -208-80+0 $(-1)
BIT_INFO 1 mode 0x1,0x13
LOCK2 &pool->lock

drivers/target/target_core_file.c fd_execute_unmap() -> (struct file_operations)->fallocate()

Type Parameter Key Value
PARAM_VALUE 0 file 4096-ptr_max
PARAM_VALUE 0 file->f_mapping 4096-ptr_max
PARAM_VALUE 0 file->f_mapping->host 4096-ptr_max
PARAM_VALUE 0 file->f_op 4096-ptr_max
PARAM_VALUE 0 file->f_op->fallocate 1-u64max
PARAM_VALUE 1 mode 3
CONTAINER 0 -208-80+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

fs/open.c vfs_fallocate() -> (struct file_operations)->fallocate()

Type Parameter Key Value
PARAM_VALUE 0 file 4096-ptr_max
PARAM_VALUE 0 file->f_inode->i_sb 4096-ptr_max
PARAM_VALUE 0 file->f_mode 33554432-u32max
PARAM_VALUE 0 file->f_op 4096-ptr_max
PARAM_VALUE 0 file->f_op->fallocate 1-u64max
PARAM_VALUE 0 file->f_path->dentry->d_parent->d_fsdata->d_fsdata (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 file->f_path->dentry->d_parent->d_inode->i_hash.next->pprev 1-u64max
PARAM_VALUE 0 file->f_path->dentry->d_parent->d_inode->i_sb->s_fs_info->wbuf 0-255
PARAM_VALUE 0 file->f_path->dentry->d_parent->d_inode->i_sb->s_fs_info->wbuf_verify 0-255
PARAM_VALUE 0 file->f_path->dentry->d_parent->d_inode->i_wb->dwork.timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 file->f_path.dentry->d_inode->i_fsnotify_marks 0
PARAM_VALUE 0 file->f_path.dentry->d_inode->i_mapping->host->i_sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648,2712
PARAM_VALUE 0 file->f_path.dentry->d_inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 file->f_path.dentry->d_inode->i_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 file->f_path.dentry->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 file->f_path.dentry->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 file->f_path.dentry->d_parent->d_alias->next->pprev 1-u64max
PARAM_VALUE 0 file->f_path.dentry->d_parent->d_fsdata->active.counter s32min-s32max
PARAM_VALUE 0 file->f_path.dentry->d_parent->d_fsdata->cancellations_mtx.magic 0
PARAM_VALUE 0 file->f_path.dentry->d_parent->d_fsdata->d_flags 0-4294967295
PARAM_VALUE 0 file->f_path.dentry->d_parent->d_fsdata->d_fsdata 0
PARAM_VALUE 0 file->f_path.dentry->d_parent->d_fsdata->d_hash.pprev 0
PARAM_VALUE 0 file->f_path.dentry->d_parent->d_fsdata->d_inode 0
PARAM_VALUE 0 file->f_path.dentry->d_parent->d_fsdata->d_inode->__i_nlink 0-4294967295
PARAM_VALUE 0 file->f_path.dentry->d_parent->d_fsdata->d_inode->i_atime_nsec 0-4294967295
PARAM_VALUE 0 file->f_path.dentry->d_parent->d_fsdata->d_inode->i_blkbits 0-255
PARAM_VALUE 0 file->f_path.dentry->d_parent->d_fsdata->d_inode->i_bytes 0-u16max
PARAM_VALUE 0 file->f_path.dentry->d_parent->d_fsdata->d_inode->i_ctime_nsec 0-4294967295
PARAM_VALUE 0 file->f_path.dentry->d_parent->d_fsdata->d_inode->i_dir_seq 0-4294967295
PARAM_VALUE 0 file->f_path.dentry->d_parent->d_fsdata->d_inode->i_flags 0-4294967295
PARAM_VALUE 0 file->f_path.dentry->d_parent->d_fsdata->d_inode->i_fsnotify_mask 0-4294967295
PARAM_VALUE 0 file->f_path.dentry->d_parent->d_fsdata->d_inode->i_generation 0-4294967295
PARAM_VALUE 0 file->f_path.dentry->d_parent->d_fsdata->d_inode->i_linklen s32min-s32max
PARAM_VALUE 0 file->f_path.dentry->d_parent->d_fsdata->d_inode->i_mode 0-u16max
PARAM_VALUE 0 file->f_path.dentry->d_parent->d_fsdata->d_inode->i_mtime_nsec 0-4294967295
PARAM_VALUE 0 file->f_path.dentry->d_parent->d_fsdata->d_inode->i_nlink 0-4294967295
PARAM_VALUE 0 file->f_path.dentry->d_parent->d_fsdata->d_inode->i_opflags 0-u16max
PARAM_VALUE 0 file->f_path.dentry->d_parent->d_fsdata->d_inode->i_rdev 0-4294967295
PARAM_VALUE 0 file->f_path.dentry->d_parent->d_fsdata->d_inode->i_wb_frn_avg_time 0-u16max
PARAM_VALUE 0 file->f_path.dentry->d_parent->d_fsdata->d_inode->i_wb_frn_history 0-u16max
PARAM_VALUE 0 file->f_path.dentry->d_parent->d_fsdata->d_inode->i_wb_frn_winner s32min-s32max
PARAM_VALUE 0 file->f_path.dentry->d_parent->d_fsdata->d_inode->i_write_hint 0-4294967295
PARAM_VALUE 0 file->f_path.dentry->d_parent->d_fsdata->d_lockref.count s32min-s32max
PARAM_VALUE 0 file->f_path.dentry->d_parent->d_fsdata->d_rcu.next 0
PARAM_VALUE 0 file->f_path.dentry->d_parent->d_fsdata->data->ref.refs.counter s32min-s32max
PARAM_VALUE 0 file->f_path.dentry->d_parent->d_fsdata->head.first 0
PARAM_VALUE 0 file->f_path.dentry->d_parent->d_fsdata->kref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 file->f_path.dentry->d_parent->d_fsdata->lease_gen 0
PARAM_VALUE 0 file->f_path.dentry->d_parent->d_fsdata->lease_session->s_auth.authorizer->buf 0
PARAM_VALUE 0 file->f_path.dentry->d_parent->d_fsdata->lease_session->s_delegated_inos.xa_head 0
PARAM_VALUE 0 file->f_path.dentry->d_parent->d_fsdata->lease_shared_gen 0
PARAM_VALUE 0 file->f_path.dentry->d_parent->d_fsdata->management_timer.is_hard 0-1
PARAM_VALUE 0 file->f_path.dentry->d_parent->d_fsdata->management_timer.is_lazy 0-1
PARAM_VALUE 0 file->f_path.dentry->d_parent->d_fsdata->management_timer.is_queued 0-1
PARAM_VALUE 0 file->f_path.dentry->d_parent->d_fsdata->management_timer.is_soft 0-1
PARAM_VALUE 0 file->f_path.dentry->d_parent->d_fsdata->owner->refcnt.counter 0-s32max
PARAM_VALUE 0 file->f_path.dentry->d_parent->d_fsdata->ref.refs.counter s32min-s32max
PARAM_VALUE 0 file->f_path.dentry->d_parent->d_fsdata->resv->lock.base.magic 0
PARAM_VALUE 0 file->f_path.dentry->d_parent->d_fsdata->waiters 0
PARAM_VALUE 0 file->f_path.dentry->d_parent->d_hash.next->pprev 4096-ptr_max
PARAM_VALUE 1 mode 0-254
PARAM_VALUE 2 start 0-s64max
PARAM_VALUE 3 len 1-s64max
BUF_SIZE 0 file (-1),1-s32max
BUF_SIZE 0 file (-1),1-s32max
DATA_SOURCE 0 file $0
DATA_SOURCE 1 mode $1
DATA_SOURCE 2 start $2
DATA_SOURCE 3 len $3
CONTAINER 0 -208-80+0 $(-1)
BIT_INFO 0 file->f_mode 0x2,0xffffffffffffffff
BIT_INFO 1 mode 0x0,0xfb
NOSPEC 2 start
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 file->f_flags 0-u32max
USER_DATA 0 file->f_mode 33554432-u32max
USER_DATA 0 file->f_path.dentry->d_inode->i_mode 0-u16max
USER_DATA 0 file->f_path.dentry->d_inode->i_size (-9223372036854775807)-(-4),0-s64max
USER_DATA 1 mode 0-254
USER_DATA 2 start 0-s64max
USER_DATA 3 len 1-s64max
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock

ipc/shm.c shm_fallocate() -> (struct file_operations)->fallocate()

Type Parameter Key Value
PARAM_VALUE 0 file->f_path.dentry->d_inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 file->f_path.dentry->d_inode->i_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 file->f_path.dentry->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 file->f_path.dentry->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 file->f_path.dentry->d_inode->i_sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648,2704,2712
PARAM_VALUE 0 file->private_data 4096-ptr_max
BUF_SIZE 0 file (-1),1-s32max
BUF_SIZE 0 file (-1),1-s32max
DATA_SOURCE 0 file $0
DATA_SOURCE 1 mode $1
DATA_SOURCE 2 start $2
DATA_SOURCE 3 len $3
NOSPEC 2 start
NOSPEC 2 start
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 file->f_flags 0-u32max
USER_DATA 0 file->f_mode 33554432-u32max
USER_DATA 0 file->f_path.dentry->d_inode->i_mode 0-u16max
USER_DATA 0 file->f_path.dentry->d_inode->i_size (-9223372036854775807)-(-4),0-s64max
USER_DATA 1 mode 0-254
USER_DATA 2 start 0-s64max
USER_DATA 3 len 1-s64max
NO_OVERFLOW_SIMPLE 0 file->f_path.d_inode->i_size
NO_OVERFLOW_SIMPLE 0 file->f_path.dentry->dentry->d_inode->i_size
NO_OVERFLOW_SIMPLE 0 file->f_path.dentry->moved->d_inode->i_size
NO_OVERFLOW_SIMPLE 0 file->f_path.moved->d_inode->i_size
HALF_LOCKED2 &pool->lock