Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/xfs/libxfs/xfs_bmap.c xfs_bmap_extents_to_btree() -> xfs_bmbt_init_block()

Type Parameter Key Value
PARAM_VALUE 0 ip 4096-ptr_max
PARAM_VALUE 0 ip->i_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 ip->i_lock.first_waiter->type 0-1
PARAM_VALUE 2 bp 0
PARAM_VALUE 3 level 1
PARAM_VALUE 4 numrecs 1
BUF_SIZE 1 buf (-1),40-3145800
BUF_SIZE 1 buf (-1),40-3145800
DATA_SOURCE 0 ip $1
DATA_SOURCE 1 buf r xfs_bmap_broot_realloc
NOSPEC 0 ip->i_disk_size
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 ip->i_disk_size (-9223372036854775807)-(-4096),0-s64max[c]
NO_OVERFLOW_SIMPLE 0 ip->i_delayed_blks
NO_OVERFLOW_SIMPLE 0 ip->i_nblocks
NO_OVERFLOW_SIMPLE 0 ip->i_pdquot->q_id
UNITS 0 ip unit_byte

fs/xfs/libxfs/xfs_bmap.c xfs_bmap_extents_to_btree() -> xfs_bmbt_init_block()

Type Parameter Key Value
PARAM_VALUE 0 ip 4096-ptr_max
PARAM_VALUE 0 ip->i_itemp->ili_dirty_flags 0-4294967295
PARAM_VALUE 0 ip->i_itemp->ili_lock_flags 0-u16max
PARAM_VALUE 0 ip->i_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 ip->i_lock.first_waiter->type 0-1
PARAM_VALUE 0 ip->i_mount 4096-ptr_max
PARAM_VALUE 0 ip->i_mount->m_ddev_targp->bt_file->f_inode->i_wb->dwork.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 ip->i_mount->m_ddev_targp->bt_file->f_inode->i_wb->dwork.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 ip->i_mount->m_ddev_targp->bt_file->f_inode->i_wb->dwork.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 ip->i_mount->m_filestream->grp_count 0-4294967295
PARAM_VALUE 0 ip->i_mount->m_filestream->grp_time 0-4294967295
PARAM_VALUE 0 ip->i_mount->m_filestream->lru_grp 0-4294967295
PARAM_VALUE 0 ip->i_mount->m_inodegc_wq->flush_color s32min-s32max
PARAM_VALUE 0 ip->i_mount->m_inodegc_wq->work_color s32min-s32max
PARAM_VALUE 0 ip->i_mount->m_quotainfo->qi_dqperchunk 0-4294967295
PARAM_VALUE 0 ip->i_mount->m_sb.sb_agblocks 1-u32max
PARAM_VALUE 0 ip->i_mount->m_sb.sb_agcount 1-u32max
PARAM_VALUE 2 bp 4096-ptr_max
PARAM_VALUE 2 bp->b_error 0
PARAM_VALUE 2 bp->b_flags 0,2097152
PARAM_VALUE 2 bp->b_map_count 0-s32max
PARAM_VALUE 2 bp->b_sema.lock.owner (-1)
PARAM_VALUE 2 bp->b_sema.lock.owner_cpu 4294967295
PARAM_VALUE 2 bp->b_sema.lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 3 level 0
PARAM_VALUE 4 numrecs 0
BUF_SIZE 1 buf s32min-(-2),1-s32max
BUF_SIZE 1 buf s32min-(-2),1-s32max
DATA_SOURCE 0 ip $1
NOSPEC 0 ip->i_disk_size
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 ip->i_disk_size (-9223372036854775807)-(-4096),0-s64max[c]
NO_OVERFLOW_SIMPLE 0 ip->i_delayed_blks
NO_OVERFLOW_SIMPLE 0 ip->i_nblocks
NO_OVERFLOW_SIMPLE 0 ip->i_pdquot->q_id
UNITS 0 ip unit_byte

fs/xfs/libxfs/xfs_bmap_btree.c xfs_bmdr_to_bmbt() -> xfs_bmbt_init_block()

Type Parameter Key Value
PARAM_VALUE 0 ip 4096-ptr_max
PARAM_VALUE 0 ip->i_af.if_format 2-3
PARAM_VALUE 0 ip->i_checked 0
PARAM_VALUE 0 ip->i_cowfp 0
PARAM_VALUE 0 ip->i_delayed_blks 0
PARAM_VALUE 0 ip->i_df.if_needextents 0-1
PARAM_VALUE 0 ip->i_ioend_list.next 4096-ptr_max
PARAM_VALUE 0 ip->i_ioend_list.next->next 4096-ptr_max
PARAM_VALUE 0 ip->i_ioend_list.prev 4096-ptr_max
PARAM_VALUE 0 ip->i_ioend_list.prev->next 4096-ptr_max
PARAM_VALUE 0 ip->i_ioend_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 ip->i_mount 4096-ptr_max
PARAM_VALUE 0 ip->i_mount->m_bm_maxlevels 4096-ptr_max
PARAM_VALUE 0 ip->i_mount->m_super 4096-ptr_max
PARAM_VALUE 0 ip->i_nblocks 1-u64max
PARAM_VALUE 0 ip->i_prev_unlinked 0
PARAM_VALUE 0 ip->i_sick 0
PARAM_VALUE 1 buf 0,4096-ptr_max
PARAM_VALUE 2 bp 0
PARAM_VALUE 3 level 0
PARAM_VALUE 4 numrecs 0
BUF_SIZE 0 ip (-1)-s32max
BUF_SIZE 0 ip (-1)-s32max
BUF_SIZE 0 ip->i_mount (-1),1-s32max
BUF_SIZE 1 buf 24-3145752
BUF_SIZE 1 buf 24-3145752
DATA_SOURCE 0 ip $0
DATA_SOURCE 1 buf $3
STR_LEN 0 ip->i_mount (-1),5,8
HARD_MAX 0 ip->i_af.if_format 3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 ip->i_imap.im_agbno 0-s32max[c]
USER_DATA 0 ip->i_mount->m_rsumlevels 1-32[c]