Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- fs/xfs/libxfs/xfs_bmap.c
- fs/xfs/libxfs/xfs_bmap_btree.c
- fs/xfs/libxfs/xfs_btree.c, line 5611
- fs/xfs/scrub/cow_repair.c, line 442
- fs/xfs/scrub/newbt.c, line 367
- fs/xfs/xfs_trace.h, line 2300
Smatch caller information:
fs/xfs/scrub/newbt.c xrep_newbt_alloc_file_blocks() -> xfs_alloc_vextent_start_ag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | args | 8424342240090968064 |
| PARAM_VALUE | 0 | args->agbno | 0 |
| PARAM_VALUE | 0 | args->agbp | 0 |
| PARAM_VALUE | 0 | args->agno | 0 |
| PARAM_VALUE | 0 | args->alignment | 0 |
| PARAM_VALUE | 0 | args->alloc_minlen_only | 0 |
| PARAM_VALUE | 0 | args->datatype | 0 |
| PARAM_VALUE | 0 | args->fsbno | 0 |
| PARAM_VALUE | 0 | args->len | 0 |
| PARAM_VALUE | 0 | args->max_agbno | 0 |
| PARAM_VALUE | 0 | args->min_agbno | 0 |
| PARAM_VALUE | 0 | args->minalignslop | 0 |
| PARAM_VALUE | 0 | args->minleft | 0 |
| PARAM_VALUE | 0 | args->minlen | 1 |
| PARAM_VALUE | 0 | args->mod | 0 |
| PARAM_VALUE | 0 | args->oinfo.oi_flags | 0 |
| PARAM_VALUE | 0 | args->oinfo.oi_offset | 0 |
| PARAM_VALUE | 0 | args->oinfo.oi_owner | 0 |
| PARAM_VALUE | 0 | args->pag | 0 |
| PARAM_VALUE | 0 | args->prod | 1 |
| PARAM_VALUE | 0 | args->resv | 0,2-3 |
| PARAM_VALUE | 0 | args->total | 0 |
| PARAM_VALUE | 0 | args->wasdel | 0 |
| PARAM_VALUE | 0 | args->wasfromfl | 0 |
| NO_OVERFLOW_SIMPLE | 0 | args->maxlen |
fs/xfs/libxfs/xfs_bmap.c xfs_bmap_btalloc_at_eof() -> xfs_alloc_vextent_start_ag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | args | 6378406742512791552 |
| PARAM_VALUE | 0 | args->agbp | 0,4096-ptr_max |
| PARAM_VALUE | 0 | args->agbp->b_addr->agf_bno_level | 0-4294967295 |
| PARAM_VALUE | 0 | args->agbp->b_addr->agf_bno_root | 0-4294967295 |
| PARAM_VALUE | 0 | args->agbp->b_addr->agf_btreeblks | 0-4294967295 |
| PARAM_VALUE | 0 | args->agbp->b_addr->agf_cnt_level | 0-4294967295 |
| PARAM_VALUE | 0 | args->agbp->b_addr->agf_cnt_root | 0-4294967295 |
| PARAM_VALUE | 0 | args->agbp->b_addr->agf_flcount | 0-4294967295 |
| PARAM_VALUE | 0 | args->agbp->b_addr->agf_flfirst | 0-4294967295 |
| PARAM_VALUE | 0 | args->agbp->b_addr->agf_freeblks | 0-4294967295 |
| PARAM_VALUE | 0 | args->agbp->b_addr->agf_refcount_level | 0-4294967295 |
| PARAM_VALUE | 0 | args->agbp->b_addr->agf_refcount_root | 0-4294967295 |
| PARAM_VALUE | 0 | args->agbp->b_addr->agf_rmap_blocks | 0-4294967295 |
| PARAM_VALUE | 0 | args->agbp->b_addr->agf_rmap_level | 0-4294967295 |
| PARAM_VALUE | 0 | args->agbp->b_addr->agf_rmap_root | 0-4294967295 |
| PARAM_VALUE | 0 | args->agbp->b_addr->agi_free_level | 0-4294967295 |
| PARAM_VALUE | 0 | args->agbp->b_addr->agi_free_root | 0-4294967295 |
| PARAM_VALUE | 0 | args->agbp->b_addr->agi_level | 0-4294967295 |
| PARAM_VALUE | 0 | args->agbp->b_addr->agi_root | 0-4294967295 |
| PARAM_VALUE | 0 | args->agbp->b_log_item->bli_flags | 0,2-u32max |
| PARAM_VALUE | 0 | args->alloc_minlen_only | 0 |
| PARAM_VALUE | 0 | args->fsbno | u64max |
| PARAM_VALUE | 0 | args->max_agbno | 0 |
| PARAM_VALUE | 0 | args->min_agbno | 0 |
| PARAM_VALUE | 0 | args->minalignslop | 0 |
| PARAM_VALUE | 0 | args->mp | 4096-ptr_max |
| PARAM_VALUE | 0 | args->oinfo.oi_flags | 0 |
| PARAM_VALUE | 0 | args->oinfo.oi_offset | 0 |
| PARAM_VALUE | 0 | args->oinfo.oi_owner | 0 |
| PARAM_VALUE | 0 | args->pag | 0 |
| PARAM_VALUE | 0 | args->resv | 0 |
| PARAM_VALUE | 0 | args->wasdel | 0-1 |
| PARAM_VALUE | 0 | args->wasfromfl | 0 |
| DATA_SOURCE | 0 | args | $1 |
| NOSPEC | 0 | args->minlen | |
| NOSPEC | 0 | args->total | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | args->maxlen | 0-2097151[c] |
| USER_DATA | 0 | args->minlen | 0-u32max[c] |
| USER_DATA | 0 | args->total | 0-2097151[c] |
| UNITS | 1 | target | unit_array_size |
fs/xfs/libxfs/xfs_bmap.c xfs_bmap_btalloc_best_length() -> xfs_alloc_vextent_start_ag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | args | 6378406742512791552 |
| PARAM_VALUE | 0 | args->agbp | 0,4096-ptr_max |
| PARAM_VALUE | 0 | args->agbp->b_addr->agf_bno_level | 0-4294967295 |
| PARAM_VALUE | 0 | args->agbp->b_addr->agf_bno_root | 0-4294967295 |
| PARAM_VALUE | 0 | args->agbp->b_addr->agf_btreeblks | 0-4294967295 |
| PARAM_VALUE | 0 | args->agbp->b_addr->agf_cnt_level | 0-4294967295 |
| PARAM_VALUE | 0 | args->agbp->b_addr->agf_cnt_root | 0-4294967295 |
| PARAM_VALUE | 0 | args->agbp->b_addr->agf_flcount | 0-4294967295 |
| PARAM_VALUE | 0 | args->agbp->b_addr->agf_flfirst | 0-4294967295 |
| PARAM_VALUE | 0 | args->agbp->b_addr->agf_freeblks | 0-4294967295 |
| PARAM_VALUE | 0 | args->agbp->b_addr->agf_refcount_level | 0-4294967295 |
| PARAM_VALUE | 0 | args->agbp->b_addr->agf_refcount_root | 0-4294967295 |
| PARAM_VALUE | 0 | args->agbp->b_addr->agf_rmap_blocks | 0-4294967295 |
| PARAM_VALUE | 0 | args->agbp->b_addr->agf_rmap_level | 0-4294967295 |
| PARAM_VALUE | 0 | args->agbp->b_addr->agf_rmap_root | 0-4294967295 |
| PARAM_VALUE | 0 | args->agbp->b_addr->agi_free_level | 0-4294967295 |
| PARAM_VALUE | 0 | args->agbp->b_addr->agi_free_root | 0-4294967295 |
| PARAM_VALUE | 0 | args->agbp->b_addr->agi_level | 0-4294967295 |
| PARAM_VALUE | 0 | args->agbp->b_addr->agi_root | 0-4294967295 |
| PARAM_VALUE | 0 | args->agbp->b_log_item->bli_flags | 0,2-u32max |
| PARAM_VALUE | 0 | args->alignment | 1-u32max |
| PARAM_VALUE | 0 | args->alloc_minlen_only | 0 |
| PARAM_VALUE | 0 | args->fsbno | u64max |
| PARAM_VALUE | 0 | args->min_agbno | 0 |
| PARAM_VALUE | 0 | args->minalignslop | 0 |
| PARAM_VALUE | 0 | args->mp | 4096-ptr_max |
| PARAM_VALUE | 0 | args->oinfo.oi_flags | 0 |
| PARAM_VALUE | 0 | args->oinfo.oi_offset | 0 |
| PARAM_VALUE | 0 | args->oinfo.oi_owner | 0 |
| PARAM_VALUE | 0 | args->pag | 0 |
| PARAM_VALUE | 0 | args->resv | 0 |
| PARAM_VALUE | 0 | args->wasdel | 0-1 |
| PARAM_VALUE | 0 | args->wasfromfl | 0-1 |
| DATA_SOURCE | 0 | args | $1 |
| NOSPEC | 0 | args->maxlen | |
| NOSPEC | 0 | args->minlen | |
| NOSPEC | 0 | args->total | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | args->maxlen | 0-2097151[c] |
| USER_DATA | 0 | args->minlen | 0-u32max[c] |
| USER_DATA | 0 | args->total | 0-2097151[c] |
| NO_OVERFLOW_SIMPLE | 0 | args->agbno | |
| UNITS | 1 | target | unit_array_size |
fs/xfs/libxfs/xfs_bmap.c xfs_bmap_btalloc_low_space() -> xfs_alloc_vextent_start_ag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | args | 6378406742512791552 |
| PARAM_VALUE | 0 | args->agbp | 0,4096-ptr_max |
| PARAM_VALUE | 0 | args->agbp->b_addr->agf_bno_level | 0-4294967295 |
| PARAM_VALUE | 0 | args->agbp->b_addr->agf_bno_root | 0-4294967295 |
| PARAM_VALUE | 0 | args->agbp->b_addr->agf_btreeblks | 0-4294967295 |
| PARAM_VALUE | 0 | args->agbp->b_addr->agf_cnt_level | 0-4294967295 |
| PARAM_VALUE | 0 | args->agbp->b_addr->agf_cnt_root | 0-4294967295 |
| PARAM_VALUE | 0 | args->agbp->b_addr->agf_flcount | 0-4294967295 |
| PARAM_VALUE | 0 | args->agbp->b_addr->agf_flfirst | 0-4294967295 |
| PARAM_VALUE | 0 | args->agbp->b_addr->agf_freeblks | 0-4294967295 |
| PARAM_VALUE | 0 | args->agbp->b_addr->agf_refcount_level | 0-4294967295 |
| PARAM_VALUE | 0 | args->agbp->b_addr->agf_refcount_root | 0-4294967295 |
| PARAM_VALUE | 0 | args->agbp->b_addr->agf_rmap_blocks | 0-4294967295 |
| PARAM_VALUE | 0 | args->agbp->b_addr->agf_rmap_level | 0-4294967295 |
| PARAM_VALUE | 0 | args->agbp->b_addr->agf_rmap_root | 0-4294967295 |
| PARAM_VALUE | 0 | args->agbp->b_addr->agi_free_level | 0-4294967295 |
| PARAM_VALUE | 0 | args->agbp->b_addr->agi_free_root | 0-4294967295 |
| PARAM_VALUE | 0 | args->agbp->b_addr->agi_level | 0-4294967295 |
| PARAM_VALUE | 0 | args->agbp->b_addr->agi_root | 0-4294967295 |
| PARAM_VALUE | 0 | args->agbp->b_log_item->bli_flags | 0,2-u32max |
| PARAM_VALUE | 0 | args->alignment | 1-u32max |
| PARAM_VALUE | 0 | args->fsbno | u64max |
| PARAM_VALUE | 0 | args->min_agbno | 0 |
| PARAM_VALUE | 0 | args->minalignslop | 0 |
| PARAM_VALUE | 0 | args->minlen | 0-4294967294 |
| PARAM_VALUE | 0 | args->mp | 4096-ptr_max |
| PARAM_VALUE | 0 | args->oinfo.oi_flags | 0 |
| PARAM_VALUE | 0 | args->oinfo.oi_offset | 0 |
| PARAM_VALUE | 0 | args->oinfo.oi_owner | 0 |
| PARAM_VALUE | 0 | args->pag | 0,4096-ptr_max |
| PARAM_VALUE | 0 | args->resv | 0 |
| PARAM_VALUE | 0 | args->wasdel | 0-1 |
| PARAM_VALUE | 0 | args->wasfromfl | 0-1 |
| CAPPED_DATA | 0 | args->minlen | 1 |
| DATA_SOURCE | 0 | args | $1 |
| NOSPEC | 0 | args->minlen | |
| NOSPEC | 0 | args->total | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | args->maxlen | 0-2097151[c] |
| USER_DATA | 0 | args->minlen | 0-2097151[c] |
| USER_DATA | 0 | args->total | 0-2097151[c] |
| NO_OVERFLOW_SIMPLE | 0 | args->agbno | |
| UNITS | 1 | target | unit_array_size |
fs/xfs/libxfs/xfs_bmap.c xfs_bmap_extents_to_btree() -> xfs_alloc_vextent_start_ag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | args | 1869195262207152128 |
| PARAM_VALUE | 0 | args->maxlen | 1 |
| PARAM_VALUE | 0 | args->minlen | 1 |
| PARAM_VALUE | 0 | args->mp | 4096-ptr_max |
| PARAM_VALUE | 0 | args->oinfo.oi_flags | 2-3 |
| PARAM_VALUE | 0 | args->oinfo.oi_offset | 0 |
| PARAM_VALUE | 0 | args->prod | 1 |
| PARAM_VALUE | 0 | args->wasdel | 0-1 |
| MEM_ZERO | 0 | args | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/xfs/libxfs/xfs_bmap.c xfs_bmap_local_to_extents() -> xfs_alloc_vextent_start_ag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | args | 2226235349540208640 |
| PARAM_VALUE | 0 | args->maxlen | 1 |
| PARAM_VALUE | 0 | args->minlen | 1 |
| PARAM_VALUE | 0 | args->mp | 4096-ptr_max |
| PARAM_VALUE | 0 | args->oinfo.oi_flags | 0 |
| PARAM_VALUE | 0 | args->oinfo.oi_offset | 0 |
| PARAM_VALUE | 0 | args->prod | 1 |
| PARAM_VALUE | 0 | args->total | 1 |
| PARAM_VALUE | 0 | args->tp | 4096-ptr_max |
| MEM_ZERO | 0 | args | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/xfs/libxfs/xfs_btree.c xfs_btree_alloc_metafile_block() -> xfs_alloc_vextent_start_ag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | args | 5267699140127485952 |
| PARAM_VALUE | 0 | args->agbno | 0 |
| PARAM_VALUE | 0 | args->agbp | 0 |
| PARAM_VALUE | 0 | args->agno | 0 |
| PARAM_VALUE | 0 | args->alignment | 0 |
| PARAM_VALUE | 0 | args->alloc_minlen_only | 0 |
| PARAM_VALUE | 0 | args->datatype | 0 |
| PARAM_VALUE | 0 | args->fsbno | 0 |
| PARAM_VALUE | 0 | args->len | 0 |
| PARAM_VALUE | 0 | args->max_agbno | 0 |
| PARAM_VALUE | 0 | args->maxlen | 1 |
| PARAM_VALUE | 0 | args->min_agbno | 0 |
| PARAM_VALUE | 0 | args->minalignslop | 0 |
| PARAM_VALUE | 0 | args->minleft | 0 |
| PARAM_VALUE | 0 | args->minlen | 1 |
| PARAM_VALUE | 0 | args->mod | 0 |
| PARAM_VALUE | 0 | args->mp | 4096-ptr_max |
| PARAM_VALUE | 0 | args->oinfo.oi_flags | 2-3 |
| PARAM_VALUE | 0 | args->oinfo.oi_offset | 0 |
| PARAM_VALUE | 0 | args->pag | 0 |
| PARAM_VALUE | 0 | args->prod | 1 |
| PARAM_VALUE | 0 | args->resv | 5 |
| PARAM_VALUE | 0 | args->total | 0 |
| PARAM_VALUE | 0 | args->wasdel | 0 |
| PARAM_VALUE | 0 | args->wasfromfl | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/xfs/scrub/cow_repair.c xrep_cow_alloc() -> xfs_alloc_vextent_start_ag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | args | 6478353401184710656 |
| PARAM_VALUE | 0 | args->agbno | 0 |
| PARAM_VALUE | 0 | args->agbp | 0 |
| PARAM_VALUE | 0 | args->agno | 0 |
| PARAM_VALUE | 0 | args->alignment | 0 |
| PARAM_VALUE | 0 | args->alloc_minlen_only | 0 |
| PARAM_VALUE | 0 | args->datatype | 1 |
| PARAM_VALUE | 0 | args->fsbno | 0 |
| PARAM_VALUE | 0 | args->len | 0 |
| PARAM_VALUE | 0 | args->max_agbno | 0 |
| PARAM_VALUE | 0 | args->min_agbno | 0 |
| PARAM_VALUE | 0 | args->minalignslop | 0 |
| PARAM_VALUE | 0 | args->minleft | 0 |
| PARAM_VALUE | 0 | args->minlen | 1 |
| PARAM_VALUE | 0 | args->mod | 0 |
| PARAM_VALUE | 0 | args->oinfo.oi_flags | 0 |
| PARAM_VALUE | 0 | args->oinfo.oi_offset | 0 |
| PARAM_VALUE | 0 | args->oinfo.oi_owner | 0 |
| PARAM_VALUE | 0 | args->pag | 0 |
| PARAM_VALUE | 0 | args->prod | 1 |
| PARAM_VALUE | 0 | args->resv | 0 |
| PARAM_VALUE | 0 | args->total | 0 |
| PARAM_VALUE | 0 | args->tp | 4096-ptr_max |
| PARAM_VALUE | 0 | args->wasdel | 0 |
| PARAM_VALUE | 0 | args->wasfromfl | 0 |
fs/xfs/libxfs/xfs_bmap_btree.c xfs_bmbt_alloc_block() -> xfs_alloc_vextent_start_ag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | args | 7683102611480813568 |
| PARAM_VALUE | 0 | args->maxlen | 1 |
| PARAM_VALUE | 0 | args->minleft | 0-65536 |
| PARAM_VALUE | 0 | args->minlen | 1 |
| PARAM_VALUE | 0 | args->mp | 4096-ptr_max |
| PARAM_VALUE | 0 | args->oinfo.oi_flags | 2-3 |
| PARAM_VALUE | 0 | args->oinfo.oi_offset | 0 |
| PARAM_VALUE | 0 | args->prod | 1 |
| PARAM_VALUE | 0 | args->tp | 4096-ptr_max |
| PARAM_VALUE | 0 | args->wasdel | 0,2 |
| MEM_ZERO | 0 | args | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | target | unit_array_size |
fs/xfs/libxfs/xfs_bmap_btree.c xfs_bmbt_alloc_block() -> xfs_alloc_vextent_start_ag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | args | 7683102611480813568 |
| PARAM_VALUE | 0 | args->agbno | u32max |
| PARAM_VALUE | 0 | args->agbp | 0 |
| PARAM_VALUE | 0 | args->agno | u32max |
| PARAM_VALUE | 0 | args->alignment | 1-u32max |
| PARAM_VALUE | 0 | args->fsbno | u64max |
| PARAM_VALUE | 0 | args->minleft | 0 |
| PARAM_VALUE | 0 | args->minlen | 1 |
| PARAM_VALUE | 0 | args->mp | 4096-ptr_max |
| PARAM_VALUE | 0 | args->oinfo.oi_flags | 2-3 |
| PARAM_VALUE | 0 | args->oinfo.oi_offset | 0 |
| PARAM_VALUE | 0 | args->pag | 0 |
| PARAM_VALUE | 0 | args->prod | 1 |
| PARAM_VALUE | 0 | args->tp | 4096-ptr_max |
| PARAM_VALUE | 0 | args->wasdel | 0,2 |
| PARAM_VALUE | 0 | args->wasfromfl | 0 |
| PARAM_VALUE | 1 | target | 0 |
| MEM_ZERO | 0 | args | |
| RX_PATH | |||
| TASK_NOT_RUNNING |