Defined in 1 files as a function:

Referenced in 14 files:

Smatch caller information:

fs/xfs/xfs_reflink.c xfs_rtgroup_get() -> to_rtg()

Type Parameter Key Value
PARAM_VALUE 0 xg 0,4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

fs/xfs/xfs_reflink.c xfs_rtgroup_next_range() -> to_rtg()

Type Parameter Key Value
PARAM_VALUE 0 xg 0,4096-ptr_max

fs/xfs/xfs_extfree_item.c xfs_rtextent_free_finish_item() -> to_rtg()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/xfs/xfs_extfree_item.c xfs_rtextent_free_finish_item() -> to_rtg()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/xfs/xfs_health.c xfs_rtgroup_get() -> to_rtg()

Type Parameter Key Value
PARAM_VALUE 0 xg 0,4096-ptr_max

fs/xfs/xfs_health.c xfs_rtgroup_next_range() -> to_rtg()

Type Parameter Key Value
PARAM_VALUE 0 xg 0,4096-ptr_max
RX_PATH

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

Type Parameter Key Value
PARAM_VALUE 0 xg 0,4096-ptr_max

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

Type Parameter Key Value
PARAM_VALUE 0 xg 0,4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

fs/xfs/scrub/repair.c xfs_rtgroup_hold() -> to_rtg()

Type Parameter Key Value
PARAM_VALUE 0 xg 4096-ptr_max

fs/xfs/scrub/bmap.c xfs_rtgroup_next_range() -> to_rtg()

Type Parameter Key Value
PARAM_VALUE 0 xg 0,4096-ptr_max

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

Type Parameter Key Value
PARAM_VALUE 0 xg 0,4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &mp->m_growlock

fs/xfs/xfs_rtalloc.c xfs_rtgroup_next_range() -> to_rtg()

Type Parameter Key Value
PARAM_VALUE 0 xg 0,4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

fs/xfs/libxfs/xfs_refcount.c xfs_refcount_check_btrec() -> to_rtg()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/xfs/libxfs/xfs_refcount.c xfs_refcount_recover_cow_leftovers() -> to_rtg()

Type Parameter Key Value
PARAM_VALUE 0 xg 4096-ptr_max
DATA_SOURCE 0 xg $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fc->uapi_mutex

fs/xfs/libxfs/xfs_refcount.c xfs_refcount_recover_cow_leftovers() -> to_rtg()

Type Parameter Key Value
PARAM_VALUE 0 xg 4096-ptr_max
DATA_SOURCE 0 xg $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fc->uapi_mutex

fs/xfs/libxfs/xfs_refcount.c xfs_refcount_recover_cow_leftovers() -> to_rtg()

Type Parameter Key Value
PARAM_VALUE 0 xg 4096-ptr_max
DATA_SOURCE 0 xg $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fc->uapi_mutex

fs/xfs/libxfs/xfs_refcount.c xfs_rtrefcount_continue_op() -> to_rtg()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/xfs/libxfs/xfs_refcount.c xfs_rtrefcount_finish_one() -> to_rtg()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/xfs/libxfs/xfs_rmap.c xfs_rmap_check_btrec() -> to_rtg()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/xfs/libxfs/xfs_rmap.c xfs_rtrmap_finish_init_cursor() -> to_rtg()

Type Parameter Key Value
PARAM_VALUE 0 xg 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

fs/xfs/scrub/rtrmap.c xchk_rtrmapbt_rec() -> to_rtg()

Type Parameter Key Value

fs/xfs/xfs_verify_media.c xfs_verify_report_losses() -> to_rtg()

Type Parameter Key Value
PARAM_VALUE 0 xg 4096-ptr_max
DATA_SOURCE 0 xg r xfs_group_next_range
CAPABLE 0 21

fs/xfs/scrub/cow_repair.c xfs_rtgroup_get() -> to_rtg()

Type Parameter Key Value
PARAM_VALUE 0 xg 0,4096-ptr_max

fs/xfs/xfs_zone_alloc.c xfs_open_zone() -> to_rtg()

Type Parameter Key Value
PARAM_VALUE 0 xg 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &zi->zi_open_zones_lock

fs/xfs/xfs_zone_alloc.c xfs_rtgroup_next_range() -> to_rtg()

Type Parameter Key Value
PARAM_VALUE 0 xg 0,4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fc->uapi_mutex

fs/xfs/xfs_extent_busy.c xfs_rtgroup_next_range() -> to_rtg()

Type Parameter Key Value
PARAM_VALUE 0 xg 0,4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &s->s_umount
HALF_LOCKED2 &sb->s_umount
HALF_LOCKED2 global &cifs_mount_mutex

fs/xfs/scrub/rmap_repair.c xfs_rtgroup_next_range() -> to_rtg()

Type Parameter Key Value
PARAM_VALUE 0 xg 0,4096-ptr_max

fs/xfs/scrub/reap.c xfs_rtgroup_get() -> to_rtg()

Type Parameter Key Value
PARAM_VALUE 0 xg 0,4096-ptr_max

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

Type Parameter Key Value
PARAM_VALUE 0 xg 0,4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

fs/xfs/scrub/common.c xfs_rtgroup_get() -> to_rtg()

Type Parameter Key Value
PARAM_VALUE 0 xg 0,4096-ptr_max

fs/xfs/scrub/bmap_repair.c xfs_rtgroup_next_range() -> to_rtg()

Type Parameter Key Value
PARAM_VALUE 0 xg 0,4096-ptr_max

fs/xfs/scrub/bmap_repair.c xrep_bmap_check_rtfork_rmap() -> to_rtg()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/xfs/scrub/bmap_repair.c xrep_bmap_walk_rtrmap() -> to_rtg()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

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

Type Parameter Key Value
PARAM_VALUE 0 xg 0,4096-ptr_max
PREEMPT_ADD
LOCK2 &zi->zi_used_buckets_lock
TYPE_LOCK (struct xfs_zone_info)->zi_used_buckets_lock

fs/xfs/xfs_zone_gc.c xfs_zone_gc_reset_zones() -> to_rtg()

Type Parameter Key Value
PARAM_VALUE 0 xg 1-u64max

fs/xfs/scrub/fscounters.c xfs_rtgroup_next_range() -> to_rtg()

Type Parameter Key Value
PARAM_VALUE 0 xg 0,4096-ptr_max

fs/xfs/scrub/inode_repair.c xfs_rtgroup_next_range() -> to_rtg()

Type Parameter Key Value
PARAM_VALUE 0 xg 0,4096-ptr_max

fs/xfs/scrub/metapath.c xfs_rtgroup_get() -> to_rtg()

Type Parameter Key Value
PARAM_VALUE 0 xg 0,4096-ptr_max
CAPABLE 0 21

fs/xfs/xfs_fsmap.c xfs_getfsmap_is_shared() -> to_rtg()

Type Parameter Key Value
PARAM_VALUE 0 xg 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

fs/xfs/xfs_fsmap.c xfs_getfsmap_rtdev_rmapbt() -> to_rtg()

Type Parameter Key Value

fs/xfs/xfs_fsmap.c xfs_getfsmap_rtdev_rmapbt() -> to_rtg()

Type Parameter Key Value

fs/xfs/xfs_fsmap.c xfs_getfsmap_rtdev_rmapbt_query() -> to_rtg()

Type Parameter Key Value
PARAM_VALUE 0 xg 4096-ptr_max
BUF_SIZE 0 xg 384

fs/xfs/xfs_fsmap.c xfs_rtgroup_next_range() -> to_rtg()

Type Parameter Key Value
PARAM_VALUE 0 xg 0,4096-ptr_max

fs/xfs/scrub/health.c xfs_rtgroup_get() -> to_rtg()

Type Parameter Key Value
PARAM_VALUE 0 xg 0,4096-ptr_max
CAPABLE 0 21

fs/xfs/scrub/health.c xfs_rtgroup_next_range() -> to_rtg()

Type Parameter Key Value
PARAM_VALUE 0 xg 0,4096-ptr_max

fs/xfs/libxfs/xfs_metafile.c xfs_rtgroup_next_range() -> to_rtg()

Type Parameter Key Value
PARAM_VALUE 0 xg 0,4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &mp->m_metafile_resv_lock
HALF_LOCKED2 &mp->m_growlock
TYPE_LOCK (struct xfs_mount)->m_metafile_resv_lock

fs/xfs/libxfs/xfs_rtrefcount_btree.c xfs_rtrefcountbt_dup_cursor() -> to_rtg()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/xfs/libxfs/xfs_rtrmap_btree.c xfs_rtrmapbt_dup_cursor() -> to_rtg()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/xfs/xfs_ioctl.c xfs_rtgroup_get() -> to_rtg()

Type Parameter Key Value
PARAM_VALUE 0 xg 0,4096-ptr_max

fs/xfs/xfs_discard.c xfs_rtgroup_next_range() -> to_rtg()

Type Parameter Key Value
PARAM_VALUE 0 xg 0,4096-ptr_max
CAPABLE 0 21

fs/xfs/xfs_notify_failure.c xfs_dax_notify_dev_failure() -> to_rtg()

Type Parameter Key Value
PARAM_VALUE 0 xg 4096-ptr_max
DATA_SOURCE 0 xg r xfs_group_next_range
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &dax_srcu
HALF_LOCKED2 global &mf_mutex

fs/xfs/scrub/rtrefcount.c xchk_rtrefcountbt_rec() -> to_rtg()

Type Parameter Key Value