Defined in 1 files as a function:

Referenced in 11 files:

Smatch caller information:

fs/xfs/scrub/rtbitmap_repair.c xrep_rtbitmap() -> xfs_has_rtrmapbt()

Type Parameter Key Value
UNITS 0 mp unit_byte

fs/xfs/scrub/repair.c xrep_rtgroup_btcur_init() -> xfs_has_rtrmapbt()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
UNITS 0 mp unit_byte

fs/xfs/scrub/bmap.c xchk_bmap_rt_iextent_xref() -> xfs_has_rtrmapbt()

Type Parameter Key Value
UNITS 0 mp unit_byte

fs/xfs/scrub/rtrefcount_repair.c xrep_rtrefcountbt() -> xfs_has_rtrmapbt()

Type Parameter Key Value
UNITS 0 mp unit_byte

fs/xfs/scrub/common.c xchk_rtgroup_lock() -> xfs_has_rtrmapbt()

Type Parameter Key Value
UNITS 0 mp unit_byte

fs/xfs/scrub/bmap_repair.c xrep_bmap_scan_rtgroup() -> xfs_has_rtrmapbt()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
UNITS 0 mp unit_byte

fs/xfs/libxfs/xfs_metafile.c xfs_metafile_resv_init() -> xfs_has_rtrmapbt()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
BUF_SIZE 0 mp (-1),1-s32max
BUF_SIZE 0 mp (-1),1-s32max
CAPPED_DATA 0 &mp->m_metafile_resv_lock 1
DATA_SOURCE 0 mp $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 mp unit_byte
LOCK2 0 &mp->m_metafile_resv_lock
HALF_LOCKED2 0 &mp->m_growlock
TYPE_LOCK (struct xfs_mount)->m_metafile_resv_lock

fs/xfs/libxfs/xfs_rtrmap_btree.c xfs_rtrmapbt_calc_reserves() -> xfs_has_rtrmapbt()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
BUF_SIZE 0 mp (-1),1-s32max
BUF_SIZE 0 mp (-1),1-s32max
BUF_SIZE 0 mp->m_stats.xs_stats (-1),1112
BUF_SIZE 0 mp->m_super (-1),2816
DATA_SOURCE 0 mp $0
STR_LEN 0 mp->m_super (-1),8
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 mp->m_ddev_targp->bt_hash.key_len 0-64[c]
USER_DATA 0 mp->m_logdev_targp->bt_hash.key_len 0-64[c]
USER_DATA 0 mp->m_rtdev_targp->bt_hash.key_len 0-64[c]
USER_DATA 0 mp->m_super->s_flags 0-2147486719[c]
NO_OVERFLOW_SIMPLE 0 mp->m_blockgc_wq->rescuer->task->dl.pi_se->dl_runtime
NO_OVERFLOW_SIMPLE 0 mp->m_buf_workqueue->rescuer->task->dl.pi_se->dl_runtime
NO_OVERFLOW_SIMPLE 0 mp->m_ddev_targp->bt_daxdev->inode.i_bytes
NO_OVERFLOW_SIMPLE 0 mp->m_ddev_targp->bt_daxdev->inode.i_mapping->host->i_size
NO_OVERFLOW_SIMPLE 0 mp->m_ddev_targp->bt_hash.tbl->size
NO_OVERFLOW_SIMPLE 0 mp->m_inodegc_wq->rescuer->task->dl.pi_se->dl_runtime
NO_OVERFLOW_SIMPLE 0 mp->m_logdev_targp->bt_hash.tbl->size
NO_OVERFLOW_SIMPLE 0 mp->m_reclaim_workqueue->rescuer->task->dl.pi_se->dl_runtime
NO_OVERFLOW_SIMPLE 0 mp->m_rtdev_targp->bt_daxdev->inode.i_bytes
NO_OVERFLOW_SIMPLE 0 mp->m_rtdev_targp->bt_daxdev->inode.i_mapping->host->i_size
NO_OVERFLOW_SIMPLE 0 mp->m_rtdev_targp->bt_hash.tbl->size
NO_OVERFLOW_SIMPLE 0 mp->m_rtsb_bp->b_map_count
NO_OVERFLOW_SIMPLE 0 mp->m_sb_bp->b_map_count
NO_OVERFLOW_SIMPLE 0 mp->m_unwritten_workqueue->rescuer->task->dl.pi_se->dl_runtime
UNITS 0 mp unit_byte
LOCK2 0 &mp->m_metafile_resv_lock
HALF_LOCKED2 0 &mp->m_growlock
TYPE_LOCK (struct xfs_mount)->m_metafile_resv_lock

fs/xfs/libxfs/xfs_rtrmap_btree.c xfs_rtrmapbt_compute_maxlevels() -> xfs_has_rtrmapbt()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
BUF_SIZE 0 mp (-1),7808
BUF_SIZE 0 mp (-1),7808
DATA_SOURCE 0 mp $0
USER_DATA 0 mp->m_rsumlevels 1-32[c]
USER_DATA 0 mp->m_sb.sb_dblocks 0-u64max[c]
USER_DATA 0 mp->m_sb.sb_rblocks 0-9223372036854775808
USER_DATA 0 mp->m_sb.sb_rbmblocks 0-u32max[c]
USER_DATA 0 mp->m_sb.sb_rextents 0-9223372036854775808[c]
USER_DATA 0 mp->m_sb.sb_rextsize 0-u32max
USER_DATA 0 mp->m_sb.sb_rextslog 0-31
USER_DATA 0 mp->m_sb.sb_rgcount 0-u32max[c]
UNITS 0 mp unit_byte
HALF_LOCKED2 &mp->m_growlock
HALF_LOCKED2 0 &mp->m_growlock

fs/xfs/scrub/rgsuper.c xchk_rgsuperblock() -> xfs_has_rtrmapbt()

Type Parameter Key Value
UNITS 0 mp unit_byte

fs/xfs/libxfs/xfs_trans_resv.c xfs_calc_finish_rt_rui_reservation() -> xfs_has_rtrmapbt()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
DATA_SOURCE 0 mp $0
UNITS 0 mp unit_byte

fs/xfs/scrub/scrub.c xchk_validate_inputs() -> (struct xchk_meta_ops)->has()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
DATA_SOURCE 0 mp $0
CAPABLE 0 21