Defined in 1 files as a function:
Referenced in 11 files:
- fs/xfs/libxfs/xfs_metafile.c, line 287
- fs/xfs/libxfs/xfs_rtgroup.c
- fs/xfs/libxfs/xfs_rtrmap_btree.c
- fs/xfs/scrub/rtbitmap.c, line 287
- fs/xfs/scrub/rtrmap.c
- fs/xfs/scrub/rtrmap_repair.c, line 748
- fs/xfs/xfs_rtalloc.c, line 858
- fs/xfs/xfs_trace.h
- fs/xfs/xfs_zone_alloc.c
- fs/xfs/xfs_zone_gc.c
- fs/xfs/xfs_zone_info.c, line 36
Smatch caller information:
fs/xfs/libxfs/xfs_rtgroup.c xfs_rtgroup_lock() -> rtg_rmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtg | 4096-ptr_max |
| DATA_SOURCE | 0 | rtg | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mp->m_growlock | ||
| HALF_LOCKED2 | global &dax_srcu |
fs/xfs/libxfs/xfs_rtgroup.c xfs_rtgroup_lock() -> rtg_rmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtg | 4096-ptr_max |
| DATA_SOURCE | 0 | rtg | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mp->m_growlock | ||
| HALF_LOCKED2 | global &dax_srcu |
fs/xfs/libxfs/xfs_rtgroup.c xfs_rtgroup_trans_join() -> rtg_rmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtg | 4096-ptr_max |
| DATA_SOURCE | 0 | rtg | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mp->m_growlock |
fs/xfs/libxfs/xfs_rtgroup.c xfs_rtgroup_trans_join() -> rtg_rmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtg | 4096-ptr_max |
| DATA_SOURCE | 0 | rtg | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mp->m_growlock |
fs/xfs/libxfs/xfs_rtgroup.c xfs_rtgroup_unlock() -> rtg_rmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtg | 1-u64max |
| DATA_SOURCE | 0 | rtg | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &dax_srcu |
fs/xfs/libxfs/xfs_rtgroup.c xfs_rtgroup_unlock() -> rtg_rmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtg | 4096-ptr_max |
| DATA_SOURCE | 0 | rtg | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &dax_srcu |
fs/xfs/xfs_rtalloc.c xfs_growfs_rt_init_rtsb() -> rtg_rmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtg | 4096-ptr_max |
| CAPABLE | 0 | 21 | |
| LOCK2 | &*bpp->b_sema | ||
| LOCK2 | &mp->m_growlock | ||
| TYPE_LOCK | (struct xfs_mount)->m_growlock |
fs/xfs/scrub/rtrmap.c xchk_rtrmapbt() -> rtg_rmap()
| Type | Parameter | Key | Value |
|---|
fs/xfs/scrub/rtrmap.c xchk_setup_rtrmapbt() -> rtg_rmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtg | 4096-ptr_max |
| CAPABLE | 0 | 21 |
fs/xfs/scrub/rtbitmap.c xchk_xref_is_used_rt_space() -> rtg_rmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtg | 4096-ptr_max |
fs/xfs/xfs_zone_alloc.c xfs_init_zone() -> rtg_rmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtg | 4096-ptr_max |
| DATA_SOURCE | 0 | rtg | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &fc->uapi_mutex |
fs/xfs/xfs_zone_alloc.c xfs_open_zone_mark_full() -> rtg_rmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtg | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/xfs/xfs_zone_alloc.c xfs_zone_account_reclaimable() -> rtg_rmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtg | 4096-ptr_max |
| DATA_SOURCE | 0 | rtg | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/xfs/xfs_zone_alloc.c xfs_zone_free_blocks() -> rtg_rmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtg | 0,4096-ptr_max |
| DATA_SOURCE | 0 | rtg | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/xfs/xfs_zone_alloc.c xfs_zone_inc_written() -> rtg_rmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtg | 4096-ptr_max |
| HALF_LOCKED2 | &pool->lock |
fs/xfs/xfs_zone_alloc.c xfs_zone_rgbno_is_valid() -> rtg_rmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | rtg | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/xfs/xfs_zone_alloc.c xfs_zone_rgbno_is_valid() -> rtg_rmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtg | 4096-ptr_max |
| DATA_SOURCE | 0 | rtg | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/xfs/xfs_zone_alloc.c xfs_zoned_map_extent() -> rtg_rmap()
| Type | Parameter | Key | Value |
|---|
fs/xfs/xfs_zone_gc.c xfs_submit_zone_reset_bio() -> rtg_rmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtg | 4096-ptr_max |
| DATA_SOURCE | 0 | rtg | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/xfs/xfs_zone_gc.c xfs_zone_gc_pick_victim_from() -> rtg_rmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtg | 4096-ptr_max |
| DATA_SOURCE | 0 | rtg | r xfs_rtgroup_grab |
| 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_pick_victim_from() -> rtg_rmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtg | 4096-ptr_max |
| DATA_SOURCE | 0 | rtg | r xfs_rtgroup_grab |
| 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_pick_victim_from() -> rtg_rmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtg | 4096-ptr_max |
| DATA_SOURCE | 0 | rtg | r xfs_rtgroup_grab |
| 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_pick_victim_from() -> rtg_rmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtg | 4096-ptr_max |
| DATA_SOURCE | 0 | rtg | r xfs_rtgroup_grab |
| 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() -> rtg_rmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtg | 4096-ptr_max |
| DATA_SOURCE | 0 | rtg | r to_rtg |
fs/xfs/libxfs/xfs_metafile.c xfs_metafile_resv_init() -> rtg_rmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtg | 4096-ptr_max |
| DATA_SOURCE | 0 | rtg | r xfs_rtgroup_next |
| 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/xfs_zone_info.c xfs_show_open_zone() -> rtg_rmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtg | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &m->lock | ||
| LOCK2 | &zi->zi_open_zones_lock | ||
| TYPE_LOCK | (struct seq_file)->lock | ||
| TYPE_LOCK | (struct xfs_zone_info)->zi_open_zones_lock |
fs/xfs/libxfs/xfs_rtrmap_btree.c xfs_rtrmap_highest_rgbno() -> rtg_rmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtg | 4096-ptr_max |
| DATA_SOURCE | 0 | rtg | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/xfs/libxfs/xfs_rtrmap_btree.c xfs_rtrmapbt_init_cursor() -> rtg_rmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | rtg | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mp->m_growlock | ||
| HALF_LOCKED2 | global &dax_srcu |
fs/xfs/scrub/rtrmap_repair.c xrep_rtrmap_build_new_tree() -> rtg_rmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtg | 4096-ptr_max |