Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 12 files:
- fs/xfs/libxfs/xfs_rmap.c, line 2668
- fs/xfs/libxfs/xfs_rtrmap_btree.c
- fs/xfs/scrub/bmap.c, line 729
- fs/xfs/scrub/common.c
- fs/xfs/scrub/reap.c, line 921
- fs/xfs/scrub/repair.c, line 1013
- fs/xfs/scrub/rmap_repair.c, line 547
- fs/xfs/scrub/rtrmap_repair.c, line 728
- fs/xfs/xfs_fsmap.c, line 867
- fs/xfs/xfs_notify_failure.c, line 315
- fs/xfs/xfs_verify_media.c, line 133
- fs/xfs/xfs_zone_gc.c, line 349
Smatch caller information:
fs/xfs/scrub/repair.c xrep_rtgroup_btcur_init() -> xfs_rtrmapbt_init_cursor()
| Type | Parameter | Key | Value |
|---|
fs/xfs/scrub/bmap.c xchk_bmap_check_rt_rmaps() -> xfs_rtrmapbt_init_cursor()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | rtg | 4096-ptr_max |
| DATA_SOURCE | 1 | rtg | $1 |
fs/xfs/libxfs/xfs_rmap.c xfs_rtrmap_finish_init_cursor() -> xfs_rtrmapbt_init_cursor()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tp | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->t_items.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->t_items.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->t_items.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->t_mountp | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->t_mountp->m_errortag | 4096-ptr_max |
| PARAM_VALUE | 1 | rtg | 4096-ptr_max |
| DATA_SOURCE | 0 | tp | $0 |
| DATA_SOURCE | 1 | rtg | r to_rtg |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/xfs/xfs_verify_media.c xfs_verify_report_losses() -> xfs_rtrmapbt_init_cursor()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tp | 4096-ptr_max |
| PARAM_VALUE | 1 | rtg | 4096-ptr_max |
| CAPPED_DATA | 0 | tp | 1 |
| DATA_SOURCE | 0 | tp | r xfs_trans_alloc_empty |
| DATA_SOURCE | 1 | rtg | r to_rtg |
| CAPABLE | 0 | 21 |
fs/xfs/scrub/rmap_repair.c xrep_rmap_scan_meta_btree() -> xfs_rtrmapbt_init_cursor()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | rtg | 4096-ptr_max |
| PARAM_VALUE | 1 | rtg->rtg_inodes | 4096-ptr_max |
| DATA_SOURCE | 1 | rtg | r xfs_rtgroup_next |
fs/xfs/scrub/reap.c xreap_rgextent_select() -> xfs_rtrmapbt_init_cursor()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | rtg | 4096-ptr_max |
fs/xfs/scrub/common.c xchk_meta_btree_count_blocks() -> xfs_rtrmapbt_init_cursor()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tp | 0,4096-ptr_max |
| PARAM_VALUE | 1 | rtg | 1-u64max |
| CAPPED_DATA | 0 | tp | 1 |
fs/xfs/scrub/common.c xchk_rtgroup_lock() -> xfs_rtrmapbt_init_cursor()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | rtg | 4096-ptr_max |
fs/xfs/xfs_zone_gc.c xfs_zone_gc_query() -> xfs_rtrmapbt_init_cursor()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tp | 4096-ptr_max |
| PARAM_VALUE | 1 | rtg | 4096-ptr_max |
| PARAM_VALUE | 1 | rtg->rtg_group.xg_block_count | 0-4294967294 |
| DATA_SOURCE | 0 | tp | r xfs_trans_alloc_empty |
fs/xfs/xfs_fsmap.c xfs_getfsmap_rtdev_rmapbt_query() -> xfs_rtrmapbt_init_cursor()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tp | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->t_mountp | 4096-ptr_max |
| PARAM_VALUE | 1 | rtg | 4096-ptr_max |
| DATA_SOURCE | 0 | tp | $0 |
| DATA_SOURCE | 1 | rtg | r to_rtg |
fs/xfs/libxfs/xfs_rtrmap_btree.c xfs_rtrmap_highest_rgbno() -> xfs_rtrmapbt_init_cursor()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tp | 0 |
| PARAM_VALUE | 1 | rtg | 4096-ptr_max |
| PARAM_VALUE | 1 | rtg->rtg_open_zone->oz_allocated | 0-4294967294 |
| PARAM_VALUE | 1 | rtg->rtg_open_zone->oz_ref.counter | 0-1 |
| PARAM_VALUE | 1 | rtg->rtg_open_zone->oz_written | 0-4294967294 |
| DATA_SOURCE | 1 | rtg | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/xfs/libxfs/xfs_rtrmap_btree.c xfs_rtrmapbt_dup_cursor() -> xfs_rtrmapbt_init_cursor()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | rtg | 4096-ptr_max |
| STR_LEN | 0 | tp | (-1)-1024 |
| STR_LEN | 0 | tp | (-1)-1024 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | tp->t_blk_res | |
| NO_OVERFLOW_SIMPLE | 0 | tp->t_rtx_res | |
| NO_OVERFLOW_SIMPLE | 0 | tp->t_rtx_res_used |
fs/xfs/libxfs/xfs_rtrmap_btree.c xfs_rtrmapbt_init_rtsb() -> xfs_rtrmapbt_init_cursor()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tp | 4096-ptr_max |
| PARAM_VALUE | 1 | rtg | 4096-ptr_max |
| DATA_SOURCE | 0 | tp | $2 |
| DATA_SOURCE | 1 | rtg | $1 |
| CAPABLE | 0 | 21 | |
| LOCK2 | &*bpp->b_sema | ||
| LOCK2 | &mp->m_growlock | ||
| TYPE_LOCK | (struct xfs_mount)->m_growlock |
fs/xfs/xfs_notify_failure.c xfs_dax_notify_dev_failure() -> xfs_rtrmapbt_init_cursor()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tp | 4096-ptr_max |
| PARAM_VALUE | 1 | rtg | 4096-ptr_max |
| CAPPED_DATA | 0 | tp | 1 |
| DATA_SOURCE | 0 | tp | r xfs_trans_alloc_empty |
| DATA_SOURCE | 1 | rtg | r to_rtg |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &dax_srcu | ||
| HALF_LOCKED2 | global &mf_mutex |
fs/xfs/scrub/rtrmap_repair.c xrep_rtrmap_build_new_tree() -> xfs_rtrmapbt_init_cursor()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tp | 0 |
| PARAM_VALUE | 1 | rtg | 4096-ptr_max |