Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/gfs2/dir.c gfs2_dir_write_data() -> gfs2_dir_get_new_buffer()

Type Parameter Key Value
PARAM_VALUE 0 ip 4096-ptr_max
PARAM_VALUE 0 ip->i_diskflags 2-u32max
PARAM_VALUE 0 ip->i_gl 4096-ptr_max
PARAM_VALUE 0 ip->i_gl->gl_name.ln_sbd 4096-ptr_max
PARAM_VALUE 0 ip->i_gl->gl_ops->go_flags 0,2-3
PARAM_VALUE 0 ip->i_inode.i_sb 4096-ptr_max
PARAM_VALUE 0 ip->i_inode.i_sb->s_fs_info 4096-ptr_max
PARAM_VALUE 0 ip->i_rw_mutex.first_waiter->handoff_set 0-1
PARAM_VALUE 0 ip->i_rw_mutex.first_waiter->type 0-1
PARAM_VALUE 2 bhp 356063873485979648
CAPPED_DATA 0 ip->i_gl 1
DATA_SOURCE 0 ip $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &sdp->sd_log_flush_lock
TYPE_LOCK (struct gfs2_sbd)->sd_log_flush_lock

fs/gfs2/bmap.c __gfs2_unstuff_inode() -> gfs2_dir_get_new_buffer()

Type Parameter Key Value
PARAM_VALUE 0 ip 4096-ptr_max
PARAM_VALUE 0 ip->i_gl 4096-ptr_max
PARAM_VALUE 0 ip->i_gl->gl_name.ln_sbd 4096-ptr_max
PARAM_VALUE 0 ip->i_gl->gl_ops->go_flags 0,2-3
PARAM_VALUE 0 ip->i_inode.i_mapping 4096-ptr_max
PARAM_VALUE 0 ip->i_inode.i_sb 4096-ptr_max
PARAM_VALUE 0 ip->i_inode.i_sb->s_fs_info->sd_args.ar_quota 0-3
PARAM_VALUE 0 ip->i_inode.i_sb->s_fs_info->sd_statfs_force_sync s32min-(-1),1-s32max
PARAM_VALUE 0 ip->i_inode.i_sb->s_fs_info->sd_statfs_spin.rlock.dep_map->name 0-255
PARAM_VALUE 0 ip->i_inode.i_sb->s_fs_info->sd_tune.gt_spin.rlock.dep_map->name 0-255
PARAM_VALUE 0 ip->i_inode.i_size s64min-(-1),1-s64max
PARAM_VALUE 0 ip->i_res.rs_reserved 1-2147483646
PARAM_VALUE 0 ip->i_res.rs_rgd 4096-ptr_max
PARAM_VALUE 0 ip->i_res.rs_rgd->rd_gl->gl_name.ln_sbd->sd_lockstruct.ls_sem.first_waiter->type 0-1
PARAM_VALUE 0 ip->i_res.rs_rgd->rd_gl->gl_name.ln_sbd->sd_vfs->s_umount.first_waiter->type 0-1
PARAM_VALUE 0 ip->i_res.rs_rgd->rd_gl->gl_ops->go_flags 0,2-3
PARAM_VALUE 0 ip->i_res.rs_rgd->rd_gl->gl_ops->go_held 0,6179549714839506944
PARAM_VALUE 0 ip->i_res.rs_rgd->rd_gl->gl_ops->go_subclass 0-1
PARAM_VALUE 0 ip->i_res.rs_rgd->rd_gl->gl_ops->go_type 1-6,8-9
PARAM_VALUE 0 ip->i_res.rs_rgd->rd_requested 1-2147483646
PARAM_VALUE 0 ip->i_res.rs_rgd->rd_rgl->rl_magic 18225520
PARAM_VALUE 0 ip->i_res.rs_rgd->rd_rstree.rb_node 4096-ptr_max
PARAM_VALUE 0 ip->i_rw_mutex.dep_map->name 0-255
PARAM_VALUE 0 ip->i_rw_mutex.first_waiter->handoff_set 0-1
PARAM_VALUE 0 ip->i_rw_mutex.first_waiter->list.next 2624917664208203776
PARAM_VALUE 0 ip->i_rw_mutex.first_waiter->list.prev 2624917664208203776
PARAM_VALUE 0 ip->i_rw_mutex.first_waiter->type 0-1
PARAM_VALUE 0 ip->i_rw_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ip->i_rw_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ip->i_rw_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 ip->i_rw_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 *ip->i_inode.i_sb->s_fs_info->sd_sc_bh->b_private (-4611686018427387904)-4611686018427387903
PARAM_VALUE 2 bhp 2117296480604237824
CAPPED_DATA 0 ip 1
DATA_SOURCE 0 ip $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 ip->i_inode.i_size
LOCK2 &sdp->sd_log_flush_lock
LOCK2 0 &ip->i_rw_mutex
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &ip->i_inode.i_rwsem
TYPE_LOCK (struct gfs2_inode)->i_rw_mutex
TYPE_LOCK (struct gfs2_sbd)->sd_log_flush_lock