Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 15 files:
- fs/xfs/scrub/agheader_repair.c
- fs/xfs/scrub/alloc_repair.c, line 479
- fs/xfs/scrub/attr_repair.c
- fs/xfs/scrub/bmap_repair.c
- fs/xfs/scrub/dir.c, line 1048
- fs/xfs/scrub/dir_repair.c, line 855
- fs/xfs/scrub/dirtree.c
- fs/xfs/scrub/dirtree_repair.c
- fs/xfs/scrub/ialloc_repair.c
- fs/xfs/scrub/parent.c, line 650
- fs/xfs/scrub/parent_repair.c
- fs/xfs/scrub/refcount_repair.c
- fs/xfs/scrub/rtrefcount_repair.c
- fs/xfs/scrub/xfarray.c
- fs/xfs/scrub/xfarray.h, line 61
Smatch caller information:
fs/xfs/scrub/attr_repair.c xrep_xattr_flush_stashed() -> xfarray_load()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | array | 4096-ptr_max |
| PARAM_VALUE | 2 | ptr | 2505361843532079104 |
| BUF_SIZE | 2 | ptr | 32 |
| CAPPED_DATA | 1 | idx | 1 |
| CAPPED_DATA | 1 | idx | 1 |
| PARAM_COMPARE | 1 | idx | <= $0->nr |
| PARAM_COMPARE | 1 | idx | <= $0->nr |
| UNITS | 1 | idx | unit_byte |
fs/xfs/scrub/attr_repair.c xrep_xattr_replay_pptr_updates() -> xfarray_load()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | array | 4096-ptr_max |
| PARAM_VALUE | 2 | ptr | 6077995541550436352 |
| BUF_SIZE | 2 | ptr | 24 |
| CAPPED_DATA | 1 | idx | 1 |
| CAPPED_DATA | 1 | idx | 1 |
| UNITS | 1 | idx | unit_byte |
| LOCK2 | &rx->lock | ||
| TYPE_LOCK | (struct xrep_xattr)->lock |
fs/xfs/scrub/agheader_repair.c xrep_iunlink_relink_next() -> xfarray_load()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | array->obj_size | 4 |
| PARAM_VALUE | 0 | array->obj_size_log | (-1)-31 |
| PARAM_VALUE | 2 | ptr | 2280272358352711680 |
| BUF_SIZE | 2 | ptr | 4 |
fs/xfs/scrub/agheader_repair.c xrep_iunlink_relink_prev() -> xfarray_load()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | array | 4096-ptr_max |
| PARAM_VALUE | 0 | array->obj_size | 4 |
| PARAM_VALUE | 0 | array->obj_size_log | (-1)-31 |
| PARAM_VALUE | 2 | ptr | 2006529646096924672 |
| BUF_SIZE | 2 | ptr | 4 |
| CAPPED_DATA | 0 | array->nr | 1 |
fs/xfs/scrub/refcount_repair.c xrep_refc_get_records() -> xfarray_load()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 2 | ptr | 16 |
fs/xfs/scrub/refcount_repair.c xrep_refc_sort_records() -> xfarray_load()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | array | 4096-ptr_max |
| PARAM_VALUE | 0 | array->obj_size | 16 |
| PARAM_VALUE | 0 | array->obj_size_log | (-1)-31 |
| PARAM_VALUE | 2 | ptr | 2951180920561737728 |
| BUF_SIZE | 2 | ptr | 16 |
| CAPPED_DATA | 1 | idx | 1 |
| CAPPED_DATA | 1 | idx | 1 |
| PARAM_COMPARE | 1 | idx | <= $0->nr |
| PARAM_COMPARE | 1 | idx | <= $0->nr |
| UNITS | 1 | idx | unit_byte |
fs/xfs/scrub/quotacheck.c xfarray_load_sparse() -> xfarray_load()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | ptr | 6128941840342523904,8357507319266738176 |
| BUF_SIZE | 2 | ptr | 32 |
| BUF_SIZE | 2 | ptr | 32 |
| DATA_SOURCE | 0 | array | $0 |
| DATA_SOURCE | 1 | idx | $1 |
| DATA_SOURCE | 2 | ptr | $2 |
| LOCK2 | &xqc->lock | ||
| HALF_LOCKED2 | &dq->q_qlock | ||
| TYPE_LOCK | (struct xqcheck)->lock |
fs/xfs/scrub/nlinks_repair.c xfarray_load_sparse() -> xfarray_load()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | ptr | 2397479921538580480 |
| BUF_SIZE | 2 | ptr | 16 |
| BUF_SIZE | 2 | ptr | 16 |
| DATA_SOURCE | 0 | array | $0 |
| DATA_SOURCE | 1 | idx | $1 |
| DATA_SOURCE | 2 | ptr | $2 |
| LOCK2 | &xnc->lock | ||
| TYPE_LOCK | (struct xchk_nlink_ctrs)->lock |
fs/xfs/scrub/dirtree_repair.c xrep_dirpath_retain_parent() -> xfarray_load()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | ptr | 1608310177150435328 |
| BUF_SIZE | 2 | ptr | 24 |
| LOCK2 | &dl->lock | ||
| TYPE_LOCK | (struct xchk_dirtree)->lock |
fs/xfs/scrub/dirtree_repair.c xrep_dirtree_prep_path() -> xfarray_load()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | ptr | 1295810857073369088 |
| DATA_SOURCE | 2 | ptr | $2 |
| LOCK2 | &dl->lock | ||
| TYPE_LOCK | (struct xchk_dirtree)->lock |
fs/xfs/scrub/rtrefcount_repair.c xrep_rtrefc_get_records() -> xfarray_load()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 2 | ptr | 16 |
fs/xfs/scrub/rtrefcount_repair.c xrep_rtrefc_sort_records() -> xfarray_load()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | array | 4096-ptr_max |
| PARAM_VALUE | 0 | array->obj_size | 16 |
| PARAM_VALUE | 0 | array->obj_size_log | (-1)-31 |
| PARAM_VALUE | 2 | ptr | 8265022833760063488 |
| BUF_SIZE | 2 | ptr | 16 |
| CAPPED_DATA | 1 | idx | 1 |
| CAPPED_DATA | 1 | idx | 1 |
| PARAM_COMPARE | 1 | idx | <= $0->nr |
| PARAM_COMPARE | 1 | idx | <= $0->nr |
| UNITS | 1 | idx | unit_byte |
fs/xfs/scrub/alloc_repair.c xrep_abt_reserve_space() -> xfarray_load()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | array | 4096-ptr_max |
| PARAM_VALUE | 0 | array->obj_size | 8 |
| PARAM_VALUE | 0 | array->obj_size_log | (-1)-31 |
| PARAM_VALUE | 2 | ptr | 4504356215862538240 |
| BUF_SIZE | 2 | ptr | 8 |
fs/xfs/scrub/dir_repair.c xrep_dir_replay_updates() -> xfarray_load()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | array | 4096-ptr_max |
| PARAM_VALUE | 2 | ptr | 7346836316123430912 |
| BUF_SIZE | 2 | ptr | 24 |
| CAPPED_DATA | 1 | idx | 1 |
| CAPPED_DATA | 1 | idx | 1 |
| PARAM_COMPARE | 1 | idx | <= $0->nr |
| PARAM_COMPARE | 1 | idx | <= $0->nr |
| UNITS | 1 | idx | unit_byte |
| LOCK2 | &rd->pscan.lock | ||
| TYPE_LOCK | (struct xrep_parent_scan_info)->lock |
fs/xfs/scrub/bmap_repair.c xrep_bmap_extents_load() -> xfarray_load()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | array | 4096-ptr_max |
| PARAM_VALUE | 0 | array->obj_size | 16 |
| PARAM_VALUE | 0 | array->obj_size_log | (-1)-31 |
| PARAM_VALUE | 2 | ptr | 2421511503888732160 |
| BUF_SIZE | 2 | ptr | 16 |
| CAPPED_DATA | 1 | idx | 1 |
| CAPPED_DATA | 1 | idx | 1 |
| UNITS | 1 | idx | unit_byte |
fs/xfs/scrub/bmap_repair.c xrep_bmap_get_records() -> xfarray_load()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | ptr | 7324593845119430656 |
| BUF_SIZE | 2 | ptr | 16 |
fs/xfs/scrub/bmap_repair.c xrep_bmap_sort_records() -> xfarray_load()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | array | 4096-ptr_max |
| PARAM_VALUE | 0 | array->obj_size | 16 |
| PARAM_VALUE | 0 | array->obj_size_log | (-1)-31 |
| PARAM_VALUE | 2 | ptr | 7840692654211162112 |
| BUF_SIZE | 2 | ptr | 16 |
| CAPPED_DATA | 1 | idx | 1 |
| CAPPED_DATA | 1 | idx | 1 |
| PARAM_COMPARE | 1 | idx | <= $0->nr |
| PARAM_COMPARE | 1 | idx | <= $0->nr |
| UNITS | 1 | idx | unit_byte |
fs/xfs/scrub/ialloc_repair.c xrep_fibt_get_records() -> xfarray_load()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 2 | ptr | 16 |
fs/xfs/scrub/ialloc_repair.c xrep_ibt_check_overlap() -> xfarray_load()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | array | 4096-ptr_max |
| PARAM_VALUE | 0 | array->obj_size | 16 |
| PARAM_VALUE | 0 | array->obj_size_log | (-1)-31 |
| PARAM_VALUE | 2 | ptr | 7831261325289824256 |
| BUF_SIZE | 2 | ptr | 16 |
| CAPPED_DATA | 1 | idx | 1 |
| CAPPED_DATA | 1 | idx | 1 |
| UNITS | 1 | idx | unit_byte |
fs/xfs/scrub/ialloc_repair.c xrep_ibt_get_records() -> xfarray_load()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 2 | ptr | 16 |
fs/xfs/scrub/xfarray.c xfarray_load_next() -> xfarray_load()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | array | 4096-ptr_max |
| PARAM_VALUE | 0 | array->nr | 1-u64max |
| BUF_SIZE | 2 | ptr | (-1),4,8,16,32 |
| BUF_SIZE | 2 | ptr | (-1),4,8,16,32 |
| DATA_SOURCE | 0 | array | $0 |
| DATA_SOURCE | 2 | ptr | $2 |
| UNITS | 1 | idx | unit_byte |
| HALF_LOCKED2 | &xnc->lock | ||
| HALF_LOCKED2 | &xqc->lock |
fs/xfs/scrub/xfarray.c xfarray_sort_load() -> xfarray_load()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | array | 4096-ptr_max |
| PARAM_VALUE | 0 | array->unset_slots | 0 |
| DATA_SOURCE | 1 | idx | $1 |
| DATA_SOURCE | 2 | ptr | $2 |
fs/xfs/scrub/parent.c xchk_parent_finish_slow_pptrs() -> xfarray_load()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | array | 4096-ptr_max |
| PARAM_VALUE | 0 | array->obj_size | 24 |
| PARAM_VALUE | 0 | array->obj_size_log | (-1)-31 |
| PARAM_VALUE | 2 | ptr | 5729854499697954816 |
| BUF_SIZE | 2 | ptr | 24 |
| CAPPED_DATA | 1 | idx | 1 |
| CAPPED_DATA | 1 | idx | 1 |
| UNITS | 1 | idx | unit_byte |
fs/xfs/scrub/dir.c xchk_dir_finish_slow_dirents() -> xfarray_load()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | array | 4096-ptr_max |
| PARAM_VALUE | 2 | ptr | 6336560184317456384 |
| BUF_SIZE | 2 | ptr | 24 |
| CAPPED_DATA | 1 | idx | 1 |
| CAPPED_DATA | 1 | idx | 1 |
| UNITS | 1 | idx | unit_byte |
fs/xfs/scrub/quotacheck_repair.c xfarray_load_sparse() -> xfarray_load()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | ptr | 6161257786154258432 |
| BUF_SIZE | 2 | ptr | 32 |
| BUF_SIZE | 2 | ptr | 32 |
| DATA_SOURCE | 0 | array | $0 |
| DATA_SOURCE | 1 | idx | $1 |
| DATA_SOURCE | 2 | ptr | $2 |
| LOCK2 | &dq->q_qlock | ||
| LOCK2 | &xqc->lock | ||
| TYPE_LOCK | (struct xfs_dquot)->q_qlock | ||
| TYPE_LOCK | (struct xqcheck)->lock |
fs/xfs/scrub/dirtree.c xchk_dirpath_step_is_stale() -> xfarray_load()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | ptr | 7846379566692495360 |
| BUF_SIZE | 2 | ptr | 24 |
| DATA_SOURCE | 1 | idx | $3 |
| LOCK2 | &dl->lock | ||
| TYPE_LOCK | (struct xchk_dirtree)->lock |
fs/xfs/scrub/dirtree.c xchk_dirtree_load_path() -> xfarray_load()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | array->nr | 0 |
| PARAM_VALUE | 0 | array->xfile | 4096-ptr_max |
| PARAM_VALUE | 0 | array->xfile->file | 4096-ptr_max |
| PARAM_VALUE | 2 | ptr | 1227027062409121792 |
| BUF_SIZE | 2 | ptr | 24 |
| LOCK2 | &dl->lock | ||
| TYPE_LOCK | (struct xchk_dirtree)->lock |
fs/xfs/scrub/parent_repair.c xrep_parent_flush_xattrs() -> xfarray_load()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | array | 4096-ptr_max |
| PARAM_VALUE | 0 | array->xfile | 4096-ptr_max |
| PARAM_VALUE | 0 | array->xfile->file | 4096-ptr_max |
| PARAM_VALUE | 2 | ptr | 1007364548186546176 |
| BUF_SIZE | 2 | ptr | 32 |
| CAPPED_DATA | 1 | idx | 1 |
| CAPPED_DATA | 1 | idx | 1 |
| UNITS | 1 | idx | unit_byte |
fs/xfs/scrub/parent_repair.c xrep_parent_replay_updates() -> xfarray_load()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | array | 4096-ptr_max |
| PARAM_VALUE | 0 | array->xfile->file->f_cred->process_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | array->xfile->file->f_cred->process_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | array->xfile->file->f_cred->request_key_auth->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | array->xfile->file->f_cred->request_key_auth->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | array->xfile->file->f_cred->session_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | array->xfile->file->f_cred->session_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | array->xfile->file->f_cred->thread_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | array->xfile->file->f_cred->thread_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 2 | ptr | 2264652115994169344 |
| BUF_SIZE | 2 | ptr | 24 |
| CAPPED_DATA | 1 | idx | 1 |
| CAPPED_DATA | 1 | idx | 1 |
| UNITS | 1 | idx | unit_byte |
| LOCK2 | &rp->pscan.lock | ||
| TYPE_LOCK | (struct xrep_parent_scan_info)->lock |
fs/xfs/scrub/nlinks.c xfarray_load_sparse() -> xfarray_load()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | ptr | 788457840992866304,1310588216988295168 |
| BUF_SIZE | 2 | ptr | 16 |
| BUF_SIZE | 2 | ptr | 16 |
| DATA_SOURCE | 0 | array | $0 |
| DATA_SOURCE | 1 | idx | $1 |
| DATA_SOURCE | 2 | ptr | $2 |
| UNITS | 1 | idx | unit_byte |
| LOCK2 | &xnc->lock | ||
| TYPE_LOCK | (struct xchk_nlink_ctrs)->lock |