Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/gfs2/quota.c gfs2_write_calc_reserv() -> gfs2_is_dir()

Type Parameter Key Value
PARAM_VALUE 0 ip 4096-ptr_max
CAPPED_DATA 0 ip 1
DATA_SOURCE 0 ip $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 0 &ip->i_inode.i_rwsem

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

Type Parameter Key Value
PARAM_VALUE 0 ip 4096-ptr_max
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

fs/gfs2/bmap.c gfs2_write_alloc_required() -> gfs2_is_dir()

Type Parameter Key Value
PARAM_VALUE 0 ip 4096-ptr_max
CAPPED_DATA 0 ip 1
DATA_SOURCE 0 ip $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 0 &ip->i_inode.i_rwsem

fs/gfs2/bmap.c gfs2_write_calc_reserv() -> gfs2_is_dir()

Type Parameter Key Value
PARAM_VALUE 0 ip 4096-ptr_max
DATA_SOURCE 0 ip $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem

fs/gfs2/file.c gfs2_write_calc_reserv() -> gfs2_is_dir()

Type Parameter Key Value
PARAM_VALUE 0 ip 4096-ptr_max
CAPPED_DATA 0 ip 1
DATA_SOURCE 0 ip $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem