Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
fs/xfs/libxfs/xfs_rtgroup.c xfs_rtgroup_get_geometry() -> rtg_blocks()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtg | 4096-ptr_max |
| DATA_SOURCE | 0 | rtg | $0 |
fs/xfs/xfs_zone_alloc.c xfs_finish_spurious_open_zones() -> rtg_blocks()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtg | 4096-ptr_max |
fs/xfs/xfs_zone_alloc.c xfs_finish_spurious_open_zones() -> rtg_blocks()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtg | 4096-ptr_max |
fs/xfs/xfs_zone_alloc.c xfs_init_zone() -> rtg_blocks()
| 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_init_zone() -> rtg_blocks()
| 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_init_zone() -> rtg_blocks()
| 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_init_zone() -> rtg_blocks()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtg | 4096-ptr_max |
| PARAM_VALUE | 0 | rtg->rtg_group.xg_block_count | 2-u32max |
| DATA_SOURCE | 0 | rtg | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &fc->uapi_mutex |
fs/xfs/xfs_zone_alloc.c xfs_init_zone() -> rtg_blocks()
| 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_init_zone() -> rtg_blocks()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtg | 4096-ptr_max |
| PARAM_VALUE | 0 | rtg->rtg_group.xg_block_count | 1-u32max |
| DATA_SOURCE | 0 | rtg | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &fc->uapi_mutex |
fs/xfs/xfs_zone_alloc.c xfs_init_zone() -> rtg_blocks()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtg | 4096-ptr_max |
| PARAM_VALUE | 0 | rtg->rtg_group.xg_block_count | 1-u32max |
| 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_blocks()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtg | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/xfs/xfs_zone_alloc.c xfs_open_zone_mark_full() -> rtg_blocks()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtg | 4096-ptr_max |
| PARAM_VALUE | 0 | rtg->rtg_group.xg_block_count | 1-u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/xfs/xfs_zone_alloc.c xfs_try_use_zone() -> rtg_blocks()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &zi->zi_open_zones_lock | ||
| TYPE_LOCK | (struct xfs_zone_info)->zi_open_zones_lock |
fs/xfs/xfs_zone_alloc.c xfs_zone_account_reclaimable() -> rtg_blocks()
| 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_alloc_blocks() -> rtg_blocks()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtg | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &oz->oz_alloc_lock | ||
| TYPE_LOCK | (struct xfs_open_zone)->oz_alloc_lock |
fs/xfs/xfs_zone_alloc.c xfs_zone_inc_written() -> rtg_blocks()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtg | 4096-ptr_max |
| HALF_LOCKED2 | &pool->lock |
fs/xfs/xfs_zone_alloc.c xfs_zoned_map_extent() -> rtg_blocks()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtg | 4096-ptr_max |
fs/xfs/xfs_zone_gc.c xfs_submit_zone_reset_bio() -> rtg_blocks()
| 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_alloc_blocks() -> rtg_blocks()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &mp->m_sb_lock | ||
| TYPE_LOCK | (struct xfs_mount)->m_sb_lock |
fs/xfs/xfs_zone_gc.c xfs_zone_gc_finish_reset() -> rtg_blocks()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtg | 4096-ptr_max |
| BUF_SIZE | 0 | rtg | 1-s32max |
| BUF_SIZE | 0 | rtg | 1-s32max |
fs/xfs/xfs_zone_gc.c xfs_zone_gc_pick_victim_from() -> rtg_blocks()
| 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_query() -> rtg_blocks()
| Type | Parameter | Key | Value |
|---|
fs/xfs/xfs_zone_gc.c xfs_zone_gc_query() -> rtg_blocks()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtg | 4096-ptr_max |
| PARAM_VALUE | 0 | rtg->rtg_group.xg_block_count | 0-4294967294 |
fs/xfs/xfs_zone_gc.c xfs_zone_gc_query() -> rtg_blocks()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtg | 4096-ptr_max |
| PARAM_VALUE | 0 | rtg->rtg_group.xg_block_count | 0-4294967294 |
fs/xfs/xfs_zone_gc.c xfs_zone_gc_query() -> rtg_blocks()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtg | 4096-ptr_max |
| PARAM_VALUE | 0 | rtg->rtg_group.xg_block_count | 0-4294967294 |
fs/xfs/xfs_zone_gc.c xfs_zone_gc_select_target() -> rtg_blocks()
| Type | Parameter | Key | Value |
|---|
fs/xfs/xfs_zone_gc.c xfs_zone_gc_select_target() -> rtg_blocks()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtg | 4096-ptr_max |