Defined in 1 files as a function:
Referenced in 6 files:
- fs/xfs/xfs_bmap_util.c
- fs/xfs/xfs_exchrange.c
- fs/xfs/xfs_icache.c, line 1363
- fs/xfs/xfs_inode.c, line 1426
- fs/xfs/xfs_iomap.c, line 2282
- fs/xfs/xfs_reflink.c, line 670
Smatch caller information:
fs/xfs/xfs_reflink.c xfs_reflink_cancel_cow_blocks() -> xfs_inode_has_cow_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| CAPPED_DATA | 0 | ip | 1 |
| DATA_SOURCE | 0 | ip | $0 |
| BIT_INFO | 0 | ip->i_diflags | 0x0,0xffff |
| NOSPEC | 0 | ip->i_disk_size | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ip->i_disk_size | (-9223372036854775807)-(-4096),0-s64max[c] |
| NO_OVERFLOW_SIMPLE | 0 | ip->i_pdquot->q_id | |
| UNITS | 0 | ip | unit_byte |
fs/xfs/xfs_exchrange.c xfs_exchrange_prep() -> xfs_inode_has_cow_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| CAPPED_DATA | 0 | ip | 1 |
| DATA_SOURCE | 0 | ip | $1 |
fs/xfs/xfs_exchrange.c xfs_exchrange_prep() -> xfs_inode_has_cow_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| CAPPED_DATA | 0 | ip | 1 |
| DATA_SOURCE | 0 | ip | $2 |
fs/xfs/xfs_iomap.c xfs_seek_iomap_begin() -> xfs_inode_has_cow_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| DATA_SOURCE | 0 | ip | r XFS_I |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/xfs/xfs_aops.c xfs_imap_valid() -> xfs_inode_has_cow_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| CAPPED_DATA | 0 | ip->i_mount | 1 |
| DATA_SOURCE | 0 | ip | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &folio->private->lock |
fs/xfs/xfs_aops.c xfs_map_blocks() -> xfs_inode_has_cow_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| CAPPED_DATA | 0 | ip->i_mount | 1 |
| DATA_SOURCE | 0 | ip | r XFS_I |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &folio->private->lock |
fs/xfs/xfs_inode.c xfs_inactive() -> xfs_inode_has_cow_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| DATA_SOURCE | 0 | ip | $0 |
| UNITS | 0 | ip | unit_byte |
| HALF_LOCKED2 | &pool->lock |
fs/xfs/xfs_icache.c xfs_prep_free_cowblocks() -> xfs_inode_has_cow_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| DATA_SOURCE | 0 | ip | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
fs/xfs/xfs_bmap_util.c xfs_prepare_shift() -> xfs_inode_has_cow_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| DATA_SOURCE | 0 | ip | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/xfs/xfs_bmap_util.c xfs_swap_extents() -> xfs_inode_has_cow_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| CAPPED_DATA | 0 | ip->i_mount | 1 |
| DATA_SOURCE | 0 | ip | $1 |