Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 13 files:
- fs/xfs/libxfs/xfs_dir2.c, line 454
- fs/xfs/scrub/dqiterate.c, line 186
- fs/xfs/scrub/findparent.c, line 173
- fs/xfs/scrub/quotacheck.c, line 423
- fs/xfs/scrub/rtrmap_repair.c, line 366
- fs/xfs/xfs_bmap_util.c, line 332
- fs/xfs/xfs_dir2_readdir.c
- fs/xfs/xfs_dquot.c
- fs/xfs/xfs_file.c, line 1822
- fs/xfs/xfs_iomap.c, line 2259
- fs/xfs/xfs_pnfs.c, line 185
- fs/xfs/xfs_qm.c
- fs/xfs/xfs_reflink.c, line 1591
Smatch caller information:
fs/xfs/xfs_reflink.c xfs_reflink_remap_blocks() -> xfs_ilock_data_map_shared()
| 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 |
| DATA_SOURCE | 0 | ip | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/xfs/scrub/dqiterate.c xchk_dquot_iter() -> xfs_ilock_data_map_shared()
| Type | Parameter | Key | Value |
|---|---|---|---|
| HALF_LOCKED2 | &dq->q_qlock |
fs/xfs/libxfs/xfs_dir2.c xfs_dir_lookup() -> xfs_ilock_data_map_shared()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_mount | 4096-ptr_max |
| DATA_SOURCE | 0 | ip | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/xfs/scrub/quotacheck.c xqcheck_collect_inode() -> xfs_ilock_data_map_shared()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 | 0 | ip->i_mount | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_mount->m_rtdev_targp | 1-u64max |
| DATA_SOURCE | 0 | ip | $1 |
| BIT_INFO | 0 | ip->i_diflags | 0x1,0xffff |
fs/xfs/xfs_iomap.c xfs_seek_iomap_begin() -> xfs_ilock_data_map_shared()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_mount | 4096-ptr_max |
| DATA_SOURCE | 0 | ip | r XFS_I |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/xfs/xfs_qm.c xfs_qm_dqusage_adjust() -> xfs_ilock_data_map_shared()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| HALF_LOCKED2 | &pool->lock |
fs/xfs/xfs_qm.c xfs_qm_reset_dqcounts_buf() -> xfs_ilock_data_map_shared()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_af.if_nextents | 0 |
| PARAM_VALUE | 0 | ip->i_df.if_bytes | 0 |
| PARAM_VALUE | 0 | ip->i_df.if_data | 0 |
| PARAM_VALUE | 0 | ip->i_df.if_format | 0,2-3 |
| PARAM_VALUE | 0 | ip->i_df.if_nextents | 0 |
| PARAM_VALUE | 0 | ip->i_disk_size | 0 |
| 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_nblocks | 1-u64max |
| PARAM_VALUE | 0 | ip->i_projid | 0 |
| PARAM_VALUE | 0 | ip->i_vnode.i_acl | 0 |
| PARAM_VALUE | 0 | ip->i_vnode.i_default_acl | 0 |
| DATA_SOURCE | 0 | ip | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &fc->uapi_mutex |
fs/xfs/xfs_pnfs.c xfs_fs_map_blocks() -> xfs_ilock_data_map_shared()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| 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 | 0 | ip->i_mount | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_mount->m_super | 4096-ptr_max |
| DATA_SOURCE | 0 | ip | r XFS_I |
| BIT_INFO | 0 | ip->i_diflags | 0x0,0xffff |
| LOCK2 | &ls->ls_mutex |
fs/xfs/scrub/findparent.c xrep_findparent_walk_directory() -> xfs_ilock_data_map_shared()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_mount | 4096-ptr_max |
fs/xfs/xfs_dir2_readdir.c xfs_dir2_leaf_getdents() -> xfs_ilock_data_map_shared()
| 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 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ip | unit_byte |
| HALF_LOCKED2 | &dir_fp->readdir_lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/xfs/xfs_dir2_readdir.c xfs_readdir() -> xfs_ilock_data_map_shared()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_df.if_format | (-128)-0,2-127 |
| PARAM_VALUE | 0 | ip->i_mount | 4096-ptr_max |
| DATA_SOURCE | 0 | ip | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dir_fp->readdir_lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/xfs/xfs_file.c xfs_dir_open() -> xfs_ilock_data_map_shared()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_mount | 4096-ptr_max |
| DATA_SOURCE | 0 | ip | r XFS_I |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/xfs/xfs_dquot.c xfs_dq_get_next_id() -> xfs_ilock_data_map_shared()
| Type | Parameter | Key | Value |
|---|---|---|---|
| HALF_LOCKED2 | &sb->s_umount |
fs/xfs/xfs_dquot.c xfs_dquot_disk_read() -> xfs_ilock_data_map_shared()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip->i_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ip->i_lock.first_waiter->type | 0-1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/xfs/scrub/rtrmap_repair.c xrep_rtrmap_scan_inode() -> xfs_ilock_data_map_shared()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 0 |
| DATA_SOURCE | 0 | ip | $1 |
fs/xfs/xfs_bmap_util.c xfs_getbmap() -> xfs_ilock_data_map_shared()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| 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 | 0 | ip->i_mount | 4096-ptr_max |
| DATA_SOURCE | 0 | ip | $0 |