Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

fs/gfs2/xattr.c ea_alloc_blk() -> gfs2_buffer_clear_tail()

Type Parameter Key Value
PARAM_VALUE 0 bh 4096-ptr_max
PARAM_VALUE 0 bh->b_data 4096-ptr_max
PARAM_VALUE 0 bh->b_private 1-u64max
PARAM_VALUE 1 head 24
BUF_SIZE 0 bh (-1)-s32max
DATA_SOURCE 0 bh r gfs2_meta_new
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 bh->b_size
UNITS 1 head unit_byte

fs/gfs2/xattr.c ea_set_block() -> gfs2_buffer_clear_tail()

Type Parameter Key Value
PARAM_VALUE 0 bh 4096-ptr_max
PARAM_VALUE 0 bh->b_data 4096-ptr_max
PARAM_VALUE 0 bh->b_data->mh_format 500
PARAM_VALUE 0 bh->b_data->mh_magic 18225520
PARAM_VALUE 0 bh->b_data->mh_type 5
PARAM_VALUE 0 bh->b_private 1-u64max
PARAM_VALUE 1 head 24
BUF_SIZE 0 bh (-1)-s32max
BUF_SIZE 0 bh (-1)-s32max
DATA_SOURCE 0 bh r gfs2_meta_new
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 bh->b_size
UNITS 1 head unit_byte

fs/gfs2/dir.c dir_make_exhash() -> gfs2_buffer_clear_tail()

Type Parameter Key Value
PARAM_VALUE 0 bh 4096-ptr_max
PARAM_VALUE 0 bh->b_data 0-255
PARAM_VALUE 0 bh->b_private 1-u64max
PARAM_VALUE 1 head 232
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 head unit_byte
LOCK2 &sdp->sd_log_flush_lock
TYPE_LOCK (struct gfs2_sbd)->sd_log_flush_lock

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

Type Parameter Key Value
PARAM_VALUE 0 bh 4096-ptr_max
PARAM_VALUE 0 bh->b_data 4096-ptr_max
PARAM_VALUE 0 bh->b_data->mh_format 700
PARAM_VALUE 0 bh->b_data->mh_magic 18225520
PARAM_VALUE 0 bh->b_data->mh_type 7
PARAM_VALUE 0 bh->b_private 1-u64max
PARAM_VALUE 1 head 24
BUF_SIZE 0 bh (-1)-s32max
BUF_SIZE 0 bh (-1)-s32max
DATA_SOURCE 0 bh r gfs2_meta_new
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 bh->b_size
UNITS 1 head unit_byte
LOCK2 &sdp->sd_log_flush_lock
HALF_LOCKED2 &ip->i_rw_mutex
TYPE_LOCK (struct gfs2_sbd)->sd_log_flush_lock

fs/gfs2/bmap.c __gfs2_iomap_alloc() -> gfs2_buffer_clear_tail()

Type Parameter Key Value
PARAM_VALUE 0 bh 4096-ptr_max
PARAM_VALUE 0 bh->b_private 1-u64max
PARAM_VALUE 1 head 240
DATA_SOURCE 0 bh r metapath_dibh
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 head unit_byte
LOCK2 &ip->i_rw_mutex
LOCK2 &sdp->sd_log_flush_lock
HALF_LOCKED2 &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_unstuff_inode() -> gfs2_buffer_clear_tail()

Type Parameter Key Value
PARAM_VALUE 0 bh 4096-ptr_max
PARAM_VALUE 0 bh->b_data 0-255
PARAM_VALUE 0 bh->b_private 1-u64max
PARAM_VALUE 1 head 232
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 head unit_byte
LOCK2 &ip->i_rw_mutex
LOCK2 &sdp->sd_log_flush_lock
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_indirect_init() -> gfs2_buffer_clear_tail()

Type Parameter Key Value
PARAM_VALUE 0 bh 4096-ptr_max
PARAM_VALUE 1 head 24
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 head unit_byte
LOCK2 &ip->i_rw_mutex
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &sdp->sd_log_flush_lock
TYPE_LOCK (struct gfs2_inode)->i_rw_mutex
TYPE_LOCK (struct gfs2_sbd)->sd_log_flush_lock

fs/gfs2/bmap.c trunc_end() -> gfs2_buffer_clear_tail()

Type Parameter Key Value
PARAM_VALUE 0 bh 4096-ptr_max
PARAM_VALUE 0 bh->b_data 0-255
PARAM_VALUE 1 head 232
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 head unit_byte
LOCK2 &ip->i_rw_mutex
LOCK2 &sdp->sd_log_flush_lock
TYPE_LOCK (struct gfs2_inode)->i_rw_mutex
TYPE_LOCK (struct gfs2_sbd)->sd_log_flush_lock

fs/gfs2/bmap.c trunc_start() -> gfs2_buffer_clear_tail()

Type Parameter Key Value
PARAM_VALUE 0 bh 4096-ptr_max
PARAM_VALUE 0 bh->b_data 0-255
PARAM_VALUE 0 bh->b_private 1-u64max
CAPPED_DATA 1 head 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 head 0-s32max[c]
UNITS 1 head unit_byte
LOCK2 &sdp->sd_log_flush_lock
HALF_LOCKED2 &dentry->d_inode->i_rwsem
HALF_LOCKED2 &dentry->d_lockref.lock
HALF_LOCKED2 &inode->i_rwsem
TYPE_LOCK (struct gfs2_sbd)->sd_log_flush_lock

fs/gfs2/inode.c gfs2_init_xattr() -> gfs2_buffer_clear_tail()

Type Parameter Key Value
PARAM_VALUE 0 bh 4096-ptr_max
PARAM_VALUE 0 bh->b_data 4096-ptr_max
PARAM_VALUE 0 bh->b_data->mh_format 1600
PARAM_VALUE 0 bh->b_data->mh_magic 18225520
PARAM_VALUE 0 bh->b_data->mh_type 10
PARAM_VALUE 0 bh->b_private 1-u64max
PARAM_VALUE 1 head 24
BUF_SIZE 0 bh (-1)-s32max
BUF_SIZE 0 bh (-1)-s32max
DATA_SOURCE 0 bh r gfs2_meta_new
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 bh->b_size
UNITS 1 head unit_byte
LOCK2 &sdp->sd_log_flush_lock
TYPE_LOCK (struct gfs2_sbd)->sd_log_flush_lock

fs/gfs2/inode.c init_dinode() -> gfs2_buffer_clear_tail()

Type Parameter Key Value
PARAM_VALUE 0 bh 4096-ptr_max
PARAM_VALUE 0 bh->b_data 4096-ptr_max
PARAM_VALUE 0 bh->b_data->__pad1 0
PARAM_VALUE 0 bh->b_data->__pad2 0
PARAM_VALUE 0 bh->b_data->__pad3 0
PARAM_VALUE 0 bh->b_data->di_ctime_nsec 0-s32max
PARAM_VALUE 0 bh->b_data->di_depth 0-255
PARAM_VALUE 0 bh->b_data->di_header.mh_format 400
PARAM_VALUE 0 bh->b_data->di_header.mh_magic 18225520
PARAM_VALUE 0 bh->b_data->di_header.mh_type 4
PARAM_VALUE 0 bh->b_data->di_height 0-255
PARAM_VALUE 0 bh->b_data->di_major 0-4095
PARAM_VALUE 0 bh->b_data->di_minor 0-1048575
PARAM_VALUE 0 bh->b_data->di_mode 0-u16max
PARAM_VALUE 0 bh->b_data->di_payload_format 0,1200
PARAM_VALUE 0 bh->b_data->mh_magic 18225520
PARAM_VALUE 0 bh->b_private 1-u64max
PARAM_VALUE 1 head 232
BUF_SIZE 0 bh (-1)-s32max
BUF_SIZE 0 bh (-1)-s32max
DATA_SOURCE 0 bh r gfs2_meta_new
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 bh->b_size
UNITS 1 head unit_byte
LOCK2 &sdp->sd_log_flush_lock
TYPE_LOCK (struct gfs2_sbd)->sd_log_flush_lock