Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- fs/xfs/scrub/agheader_repair.c
- fs/xfs/scrub/alloc_repair.c, line 505
- fs/xfs/scrub/nlinks.c
- fs/xfs/scrub/quotacheck.c
- fs/xfs/scrub/quotacheck_repair.c, line 95
- fs/xfs/scrub/xfarray.c, line 404
- fs/xfs/scrub/xfarray.h, line 73
Smatch caller information:
fs/xfs/scrub/attr_repair.c xfarray_append() -> xfarray_store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | array | 4096-ptr_max |
| PARAM_VALUE | 2 | ptr | 1974772764490170368,4551302476489740288,6595635447190769664 |
| BUF_SIZE | 2 | ptr | 24,32 |
| BUF_SIZE | 2 | ptr | 24,32 |
| DATA_SOURCE | 0 | array | $0 |
| DATA_SOURCE | 2 | ptr | $1 |
| UNITS | 1 | idx | unit_byte |
| HALF_LOCKED2 | &rx->lock |
fs/xfs/scrub/agheader_repair.c xrep_iunlink_store_next() -> xfarray_store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 2 | ptr | 4 |
| DATA_SOURCE | 1 | idx | $1 |
| UNITS | 1 | idx | unit_array_size |
fs/xfs/scrub/agheader_repair.c xrep_iunlink_store_prev() -> xfarray_store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 2 | ptr | 4 |
| CAPPED_DATA | 1 | idx | 1 |
| DATA_SOURCE | 1 | idx | $1 |
| UNITS | 1 | idx | unit_array_size |
fs/xfs/scrub/refcount_repair.c xfarray_append() -> xfarray_store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | array | 4096-ptr_max |
| PARAM_VALUE | 0 | array->obj_size | 0,16 |
| PARAM_VALUE | 0 | array->obj_size_log | (-1)-31 |
| PARAM_VALUE | 2 | ptr | 5539631761064140800 |
| BUF_SIZE | 2 | ptr | 16 |
| BUF_SIZE | 2 | ptr | 16 |
| DATA_SOURCE | 0 | array | $0 |
| DATA_SOURCE | 2 | ptr | $1 |
| HARD_MAX | 0 | array->obj_size | 16 |
| UNITS | 1 | idx | unit_byte |
fs/xfs/scrub/quotacheck.c xqcheck_compare_dquot() -> xfarray_store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | array | 4096-ptr_max |
| PARAM_VALUE | 2 | ptr | 8357507319266738176 |
| BUF_SIZE | 2 | ptr | 32 |
| CAPPED_DATA | 0 | array->nr | 1 |
| LOCK2 | &dq->q_qlock | ||
| LOCK2 | &xqc->lock | ||
| TYPE_LOCK | (struct xfs_dquot)->q_qlock | ||
| TYPE_LOCK | (struct xqcheck)->lock |
fs/xfs/scrub/quotacheck.c xqcheck_update_incore_counts() -> xfarray_store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | array | 4096-ptr_max |
| PARAM_VALUE | 2 | ptr | 6128941840342523904 |
| BUF_SIZE | 2 | ptr | 32 |
| CAPPED_DATA | 0 | array->nr | 1 |
| DATA_SOURCE | 0 | array | $1 |
| DATA_SOURCE | 1 | idx | $2 |
| LOCK2 | &xqc->lock | ||
| TYPE_LOCK | (struct xqcheck)->lock |
fs/xfs/scrub/rtrefcount_repair.c xfarray_append() -> xfarray_store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | array | 4096-ptr_max |
| PARAM_VALUE | 0 | array->obj_size | 0,16 |
| PARAM_VALUE | 0 | array->obj_size_log | (-1)-31 |
| PARAM_VALUE | 2 | ptr | 8888586955366645760 |
| BUF_SIZE | 2 | ptr | 16 |
| BUF_SIZE | 2 | ptr | 16 |
| DATA_SOURCE | 0 | array | $0 |
| DATA_SOURCE | 2 | ptr | $1 |
| HARD_MAX | 0 | array->obj_size | 16 |
| UNITS | 1 | idx | unit_byte |
fs/xfs/scrub/alloc_repair.c xfarray_append() -> xfarray_store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | array | 4096-ptr_max |
| PARAM_VALUE | 2 | ptr | 7082384181239439360 |
| BUF_SIZE | 2 | ptr | 8 |
| BUF_SIZE | 2 | ptr | 8 |
| DATA_SOURCE | 0 | array | $0 |
| DATA_SOURCE | 2 | ptr | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | idx | unit_byte |
fs/xfs/scrub/alloc_repair.c xrep_abt_reserve_space() -> xfarray_store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | array | 4096-ptr_max |
| PARAM_VALUE | 0 | array->nr | 1-u64max |
| PARAM_VALUE | 0 | array->obj_size | 8 |
| PARAM_VALUE | 0 | array->obj_size_log | (-1)-31 |
| PARAM_VALUE | 1 | idx | 0-18446744073709551614 |
| PARAM_VALUE | 2 | ptr | 4504356215862538240 |
| BUF_SIZE | 2 | ptr | 8 |
| CAPPED_DATA | 0 | array->nr | 1 |
| CAPPED_DATA | 1 | idx | 1 |
| CAPPED_DATA | 1 | idx | 1 |
| PARAM_COMPARE | 0 | array->nr | > $1 |
| PARAM_COMPARE | 1 | idx | < $0->nr |
| UNITS | 1 | idx | unit_byte |
fs/xfs/scrub/dir_repair.c xfarray_append() -> xfarray_store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | array | 4096-ptr_max |
| PARAM_VALUE | 2 | ptr | 2915232936296153088,9171708205467172864 |
| BUF_SIZE | 2 | ptr | 24 |
| BUF_SIZE | 2 | ptr | 24 |
| DATA_SOURCE | 0 | array | $0 |
| DATA_SOURCE | 2 | ptr | $1 |
| UNITS | 1 | idx | unit_byte |
| HALF_LOCKED2 | &rd->pscan.lock |
fs/xfs/scrub/bmap_repair.c xfarray_append() -> xfarray_store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | array | 4096-ptr_max |
| PARAM_VALUE | 2 | ptr | 5858980075086835712,8116870379007619072 |
| BUF_SIZE | 2 | ptr | 16 |
| BUF_SIZE | 2 | ptr | 16 |
| DATA_SOURCE | 0 | array | $0 |
| DATA_SOURCE | 2 | ptr | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | idx | unit_byte |
fs/xfs/scrub/ialloc_repair.c xfarray_append() -> xfarray_store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | array | 4096-ptr_max |
| PARAM_VALUE | 2 | ptr | 4096-ptr_max |
| BUF_SIZE | 2 | ptr | 16 |
| BUF_SIZE | 2 | ptr | 16 |
| DATA_SOURCE | 0 | array | $0 |
| DATA_SOURCE | 2 | ptr | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | idx | unit_byte |
fs/xfs/scrub/xfarray.c xfarray_append() -> xfarray_store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | array | 4096-ptr_max |
| PARAM_VALUE | 0 | array->unset_slots | 0 |
| DATA_SOURCE | 0 | array | $0 |
| DATA_SOURCE | 2 | ptr | $1 |
| UNITS | 1 | idx | unit_byte |
fs/xfs/scrub/xfarray.c xfarray_sort_store() -> xfarray_store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | array | 4096-ptr_max |
| PARAM_VALUE | 0 | array->obj_size | 0-2147479552 |
| CAPPED_DATA | 0 | array->obj_size | 1 |
| DATA_SOURCE | 1 | idx | $1 |
| DATA_SOURCE | 2 | ptr | $2 |
fs/xfs/scrub/parent.c xfarray_append() -> xfarray_store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | array | 4096-ptr_max |
| PARAM_VALUE | 2 | ptr | 7110061011930038272 |
| BUF_SIZE | 2 | ptr | 24 |
| BUF_SIZE | 2 | ptr | 24 |
| DATA_SOURCE | 0 | array | $0 |
| DATA_SOURCE | 2 | ptr | $1 |
| UNITS | 1 | idx | unit_byte |
| HALF_LOCKED2 | &dl->lock |
fs/xfs/scrub/dir.c xfarray_append() -> xfarray_store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | array | 4096-ptr_max |
| PARAM_VALUE | 2 | ptr | 7583497004896477184 |
| BUF_SIZE | 2 | ptr | 24 |
| BUF_SIZE | 2 | ptr | 24 |
| DATA_SOURCE | 0 | array | $0 |
| DATA_SOURCE | 2 | ptr | $1 |
| UNITS | 1 | idx | unit_byte |
fs/xfs/scrub/quotacheck_repair.c xqcheck_commit_dquot() -> xfarray_store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | array | 4096-ptr_max |
| PARAM_VALUE | 2 | ptr | 6161257786154258432 |
| BUF_SIZE | 2 | ptr | 32 |
| CAPPED_DATA | 0 | array->nr | 1 |
| LOCK2 | &dq->q_qlock | ||
| LOCK2 | &xqc->lock | ||
| TYPE_LOCK | (struct xfs_dquot)->q_qlock | ||
| TYPE_LOCK | (struct xqcheck)->lock |
fs/xfs/scrub/dirtree.c xfarray_append() -> xfarray_store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | array | 4096-ptr_max |
| PARAM_VALUE | 2 | ptr | 4434694046437474304 |
| BUF_SIZE | 2 | ptr | 24 |
| BUF_SIZE | 2 | ptr | 24 |
| DATA_SOURCE | 0 | array | $0 |
| DATA_SOURCE | 2 | ptr | $1 |
| UNITS | 1 | idx | unit_byte |
| HALF_LOCKED2 | &dl->lock |
fs/xfs/scrub/parent_repair.c xfarray_append() -> xfarray_store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | array | 4096-ptr_max |
| PARAM_VALUE | 2 | ptr | 3427764486802280448,4445487931802824704,7380416876866899968 |
| BUF_SIZE | 2 | ptr | 24,32 |
| BUF_SIZE | 2 | ptr | 24,32 |
| DATA_SOURCE | 0 | array | $0 |
| DATA_SOURCE | 2 | ptr | $1 |
| UNITS | 1 | idx | unit_byte |
| HALF_LOCKED2 | &rp->pscan.lock |
fs/xfs/scrub/nlinks.c xchk_nlinks_comparison_read() -> xfarray_store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | array | 4096-ptr_max |
| PARAM_VALUE | 2 | ptr | 1310588216988295168 |
| BUF_SIZE | 2 | ptr | 16 |
| CAPPED_DATA | 0 | array->nr | 1 |
| DATA_SOURCE | 1 | idx | $1 |
| LOCK2 | &xnc->lock | ||
| TYPE_LOCK | (struct xchk_nlink_ctrs)->lock |
fs/xfs/scrub/nlinks.c xchk_nlinks_update_incore() -> xfarray_store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | array | 4096-ptr_max |
| PARAM_VALUE | 2 | ptr | 788457840992866304 |
| BUF_SIZE | 2 | ptr | 16 |
| CAPPED_DATA | 0 | array->nr | 1 |
| DATA_SOURCE | 1 | idx | $1 |
| UNITS | 1 | idx | unit_byte |
| LOCK2 | &xnc->lock | ||
| TYPE_LOCK | (struct xchk_nlink_ctrs)->lock |