Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

fs/xfs/libxfs/xfs_rtgroup.c xfs_update_last_rtgroup_size() -> xfs_rtgroup_grab()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 0 mp->m_ddev_targp 4096-ptr_max
PARAM_VALUE 0 mp->m_ddev_targp->bt_hash.tbl->dep_map->name 0-255
PARAM_VALUE 0 mp->m_ddev_targp->bt_mount 4096-ptr_max
PARAM_VALUE 0 mp->m_rtdev_targp 0,4096-ptr_max
PARAM_VALUE 0 mp->m_sb->sb_pad 0-255
PARAM_VALUE 0 mp->m_sb.sb_agcount 1-u32max
PARAM_VALUE 0 mp->m_sb.sb_crc 0
PARAM_VALUE 0 mp->m_sb.sb_gquotino 1-u64max
PARAM_VALUE 0 mp->m_sb.sb_pquotino 1-u64max
PARAM_VALUE 0 mp->m_sb.sb_uquotino 1-u64max
PARAM_VALUE 0 mp->m_super 4096-ptr_max
CAPPED_DATA 0 mp->m_ddev_targp 1
CAPPED_DATA 0 mp->m_rtdev_targp 1
CAPPED_DATA 0 mp->m_sb.sb_agcount 1
CAPPED_DATA 1 rgno 1
DATA_SOURCE 0 mp $0
UNITS 0 mp unit_byte

fs/xfs/libxfs/xfs_bmap.c xfs_bmap_free_rtblocks() -> xfs_rtgroup_grab()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 0 mp->m_filestream->grp_time 0-4294967295
PARAM_VALUE 1 rgno 0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 mp unit_byte

fs/xfs/xfs_rtalloc.c xfs_growfs_rt() -> xfs_rtgroup_grab()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 0 mp->m_rtdev_targp 1-u64max
PARAM_VALUE 0 mp->m_sb.sb_rblocks 0-18446744073709551614
PARAM_VALUE 1 rgno 0-4294967294
CAPPED_DATA 0 mp->m_sb.sb_blocklog 1
CAPPED_DATA 0 mp->m_sb.sb_rblocks 1
CAPPED_DATA 0 &mp->m_growlock 1
CAPPED_DATA 1 rgno 1
DATA_SOURCE 0 mp $0
FUZZY_MAX 0 mp->m_sb.sb_rblocks 1
CAPABLE 0 21
UNITS 0 mp unit_byte
LOCK2 0 &mp->m_growlock
TYPE_LOCK (struct xfs_mount)->m_growlock

fs/xfs/xfs_rtalloc.c xfs_growfs_rtg() -> xfs_rtgroup_grab()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 0 mp->m_rtdev_targp 1-u64max
PARAM_VALUE 0 mp->m_sb.sb_rblocks 0-18446744073709551614
CAPPED_DATA 0 mp->m_sb.sb_blocklog 1
CAPPED_DATA 0 mp->m_sb.sb_rblocks 1
DATA_SOURCE 0 mp $0
DATA_SOURCE 1 rgno $1
FUZZY_MAX 0 mp->m_sb.sb_rblocks 1
CAPABLE 0 21
UNITS 0 mp unit_byte
LOCK2 0 &mp->m_growlock
TYPE_LOCK (struct xfs_mount)->m_growlock

fs/xfs/xfs_rtalloc.c xfs_rtallocate_rtg() -> xfs_rtgroup_grab()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
DATA_SOURCE 1 rgno $1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 mp unit_byte

fs/xfs/xfs_qm.c xfs_qm_unmount_rt() -> xfs_rtgroup_grab()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 0 mp->m_delalloc_blks.lock.dep_map->name 0-255
PARAM_VALUE 0 mp->m_error_meta_kobj.kobject.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 mp->m_inodegc_wq->flush_color s32min-s32max
PARAM_VALUE 0 mp->m_inodegc_wq->work_color s32min-s32max
PARAM_VALUE 0 mp->m_metafile_resv_lock.dep_map->name 0-255
PARAM_VALUE 0 mp->m_metafile_resv_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 mp->m_metafile_resv_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 mp->m_metafile_resv_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 mp->m_metafile_resv_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 mp->m_metafile_resv_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 mp->m_metafile_resv_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 mp->m_metafile_resv_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 mp->m_rootip 4096-ptr_max
PARAM_VALUE 0 mp->m_sb_bp->b_ops->name 4096-ptr_max
PARAM_VALUE 0 mp->m_sb_bp->b_ops->verify_read 4096-ptr_max
PARAM_VALUE 0 mp->m_sb_bp->b_ops->verify_write 4096-ptr_max
PARAM_VALUE 0 mp->m_sb_bp->b_sema.first_waiter->up 0-1
PARAM_VALUE 0 mp->m_sb_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 mp->m_super 0,4096-ptr_max
PARAM_VALUE 0 mp->m_zoned_kobj.kobject.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 *mp->m_bm_maxlevels 0-4294967295
PARAM_VALUE 1 rgno 0
BUF_SIZE 0 mp (-1),4416
BUF_SIZE 0 mp (-1),4416
DATA_SOURCE 0 mp $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 mp unit_byte

fs/xfs/xfs_zone_gc.c xfs_zone_gc_pick_victim_from() -> xfs_rtgroup_grab()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 0 mp->m_rtdev_targp 4096-ptr_max
PARAM_VALUE 0 mp->m_sb.sb_rgcount 1-u32max
PARAM_VALUE 0 mp->m_zone_info 4096-ptr_max
PARAM_VALUE 0 mp->m_zone_info->zi_used_bucket_bitmap 4096-ptr_max
PARAM_VALUE 0 mp->m_zone_info->zi_used_bucket_entries 4096-ptr_max
PARAM_VALUE 0 mp->m_zone_info->zi_used_buckets_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 rgno 0-64
CAPPED_DATA 1 rgno 1
DATA_SOURCE 0 mp $0
DATA_SOURCE 1 rgno r find_next_bit
PARAM_COMPARE 1 rgno < $0->m_sb.sb_rgcount
PREEMPT_ADD
UNITS 0 mp unit_byte
LOCK2 &zi->zi_used_buckets_lock
TYPE_LOCK (struct xfs_zone_info)->zi_used_buckets_lock