Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- fs/xfs/xfs_bmap_util.c, line 930
- fs/xfs/xfs_file.c
- fs/xfs/xfs_iops.c, line 993
- fs/xfs/xfs_reflink.c, line 1655
Smatch caller information:
fs/xfs/xfs_reflink.c xfs_reflink_zero_posteof() -> xfs_zero_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ip->i_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ip->i_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ip->i_mount | 4096-ptr_max |
| PARAM_VALUE | 1 | pos | s64min-9223372036854775806 |
| PARAM_VALUE | 2 | len | 1-s64max |
| PARAM_VALUE | 3 | ac | 0 |
| PARAM_VALUE | 4 | did_zero | 0 |
| CAPPED_DATA | 0 | ip | 1 |
| CAPPED_DATA | 1 | pos | 1 |
| CAPPED_DATA | 1 | pos | 1 |
| CAPPED_DATA | 2 | len | 1 |
| DATA_SOURCE | 0 | ip | $0 |
| DATA_SOURCE | 1 | pos | r i_size_read |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | len | 1-s64max[c] |
fs/xfs/xfs_iops.c xfs_vn_setattr_size() -> xfs_zero_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ip->i_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ip->i_mount | 4096-ptr_max |
| PARAM_VALUE | 1 | pos | s64min-9223372036854775806 |
| PARAM_VALUE | 2 | len | s64min-(-1),1-s64max |
| PARAM_VALUE | 3 | ac | 1691217345600122880 |
| PARAM_VALUE | 4 | did_zero | 1292469662136700928 |
| PARAM_VALUE | 4 | *did_zero | 0 |
| CAPPED_DATA | 1 | pos | 1 |
| CAPPED_DATA | 1 | pos | 1 |
| DATA_SOURCE | 0 | ip | r XFS_I |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | pos | (-9223372036854775807)-(-4),0-9223372036854775806 |
| USER_DATA | 2 | len | s64min-(-1),1-s64max |
| UNITS | 1 | pos | unit_byte |
| UNITS | 2 | len | unit_byte |
fs/xfs/xfs_file.c xfs_falloc_zero_range() -> xfs_zero_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_mount | 4096-ptr_max |
| PARAM_VALUE | 3 | ac | 0,2647033418576089088 |
| PARAM_VALUE | 4 | did_zero | 0 |
| DATA_SOURCE | 0 | ip | r XFS_I |
| DATA_SOURCE | 1 | pos | $2 |
| DATA_SOURCE | 2 | len | $3 |
| DATA_SOURCE | 3 | ac | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | pos | 0-s64max |
| USER_DATA | 2 | len | 1-s64max |
| USER_DATA | 3 | ac->reserved_blocks | 3-9223372041149743105[c] |
| UNITS | 2 | len | unit_byte |
| HALF_LOCKED2 | &pool->lock |
fs/xfs/xfs_file.c xfs_file_write_zero_eof() -> xfs_zero_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_flags_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ip->i_lock.first_waiter->list.next | 2212933610777083904,2624917664208203776 |
| PARAM_VALUE | 0 | ip->i_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | pos | s64min-9223372036854775806 |
| PARAM_VALUE | 2 | len | s64min-(-1),1-s64max |
| PARAM_VALUE | 3 | ac | 0,1367500183138832384,5089923212754284544 |
| PARAM_VALUE | 4 | did_zero | 0 |
| CAPPED_DATA | 1 | pos | 1 |
| CAPPED_DATA | 1 | pos | 1 |
| DATA_SOURCE | 0 | ip | r XFS_I |
| DATA_SOURCE | 1 | pos | r i_size_read |
| DATA_SOURCE | 3 | ac | $5 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | len | s64min-(-1),1-s64max |
| UNITS | 1 | pos | unit_byte |
| UNITS | 2 | len | unit_byte |
fs/xfs/xfs_bmap_util.c xfs_free_file_space() -> xfs_zero_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ip->i_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ip->i_mount | 4096-ptr_max |
| PARAM_VALUE | 1 | pos | s64min-9223372036854775806 |
| PARAM_VALUE | 3 | ac | 0,2647033418576089088 |
| PARAM_VALUE | 4 | did_zero | 0 |
| CAPPED_DATA | 1 | pos | 1 |
| CAPPED_DATA | 1 | pos | 1 |
| DATA_SOURCE | 0 | ip | $0 |
| DATA_SOURCE | 1 | pos | $1 |
| DATA_SOURCE | 2 | len | $2 [m] |
| DATA_SOURCE | 3 | ac | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | pos | 0-9223372036854775806[c] |
| USER_DATA | 2 | len | 1-s64max |
| USER_DATA | 3 | ac->reserved_blocks | 3-9223372041149743105[c] |
| UNITS | 1 | pos | unit_byte |
| UNITS | 2 | len | unit_byte |
| HALF_LOCKED2 | &pool->lock |