Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 6 files:

Smatch caller information:

fs/xfs/libxfs/xfs_dir2_node.c xfs_dir2_leafn_lookup_for_entry() -> xfs_dir3_data_read()

Type Parameter Key Value
PARAM_VALUE 1 dp 4096-ptr_max
PARAM_VALUE 1 dp->i_mount 4096-ptr_max
PARAM_VALUE 4 flags 0
PARAM_VALUE 5 bpp 6019092106322542592
RX_PATH
TASK_NOT_RUNNING
UNITS 1 dp unit_byte
UNITS 2 owner unit_byte

fs/xfs/libxfs/xfs_dir2_node.c xfs_dir2_node_addname_int() -> xfs_dir3_data_read()

Type Parameter Key Value
PARAM_VALUE 1 dp 4096-ptr_max
PARAM_VALUE 1 dp->i_mount 4096-ptr_max
PARAM_VALUE 4 flags 0
PARAM_VALUE 5 bpp 4658510085317206016
STR_LEN 0 tp (-1),5,8
STR_LEN 0 tp (-1),5,8
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 tp->t_blk_res
UNITS 1 dp unit_byte
UNITS 2 owner unit_byte

fs/xfs/xfs_dir2_readdir.c xfs_dir2_leaf_readbuf() -> xfs_dir3_data_read()

Type Parameter Key Value
PARAM_VALUE 0 tp 0
PARAM_VALUE 1 dp 4096-ptr_max
PARAM_VALUE 1 dp->i_mount 4096-ptr_max
PARAM_VALUE 4 flags 0
PARAM_VALUE 5 bpp 5280027358704111616
PARAM_VALUE 5 *bpp 0
RX_PATH
TASK_NOT_RUNNING
UNITS 1 dp unit_byte
UNITS 2 owner unit_byte
UNITS 3 bno unit_array_size
LOCK2 &inode->i_rwsem
HALF_LOCKED2 &dir_fp->readdir_lock
TYPE_LOCK (struct inode)->i_rwsem

fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir2_leaf_addname() -> xfs_dir3_data_read()

Type Parameter Key Value
PARAM_VALUE 0 tp->t_items.prev 4096-ptr_max
PARAM_VALUE 0 tp->t_items.prev->next 4096-ptr_max
PARAM_VALUE 0 tp->t_items.prev->next->next 4096-ptr_max
PARAM_VALUE 1 dp 4096-ptr_max
PARAM_VALUE 1 dp->i_mount 4096-ptr_max
PARAM_VALUE 1 dp->i_mount->m_ddev_targp->bt_hash.tbl->dep_map->name 0-255
PARAM_VALUE 4 flags 0
PARAM_VALUE 5 bpp 1353632574652518400
STR_LEN 0 tp (-1),5,8
STR_LEN 0 tp (-1),5,8
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 tp->t_blk_res
UNITS 1 dp unit_byte
UNITS 2 owner unit_byte

fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir2_leaf_lookup_int() -> xfs_dir3_data_read()

Type Parameter Key Value
PARAM_VALUE 0 tp->t_items.prev 4096-ptr_max
PARAM_VALUE 0 tp->t_items.prev->next 4096-ptr_max
PARAM_VALUE 0 tp->t_items.prev->next->next 4096-ptr_max
PARAM_VALUE 1 dp 4096-ptr_max
PARAM_VALUE 1 dp->i_mount 4096-ptr_max
PARAM_VALUE 1 dp->i_mount->m_ddev_targp->bt_hash.tbl->dep_map->name 0-255
PARAM_VALUE 4 flags 0
PARAM_VALUE 5 bpp 2177599162524459008
PARAM_VALUE 5 *bpp 0
STR_LEN 0 tp (-1),5,8
STR_LEN 0 tp (-1),5,8
RX_PATH
TASK_NOT_RUNNING
UNITS 1 dp unit_byte
UNITS 2 owner unit_byte

fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir2_leaf_lookup_int() -> xfs_dir3_data_read()

Type Parameter Key Value
PARAM_VALUE 0 tp->t_items.prev->next 4096-ptr_max
PARAM_VALUE 0 tp->t_items.prev->next->next 4096-ptr_max
PARAM_VALUE 1 dp 4096-ptr_max
PARAM_VALUE 1 dp->i_mount 4096-ptr_max
PARAM_VALUE 1 dp->i_mount->m_ddev_targp->bt_hash.tbl->dep_map->name 0-255
PARAM_VALUE 4 flags 0
PARAM_VALUE 5 bpp 2177599162524459008
PARAM_VALUE 5 *bpp 4096-ptr_max
STR_LEN 0 tp (-1),5,8
STR_LEN 0 tp (-1),5,8
RX_PATH
TASK_NOT_RUNNING
UNITS 1 dp unit_byte
UNITS 2 owner unit_byte

fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir2_leaf_trim_data() -> xfs_dir3_data_read()

Type Parameter Key Value
PARAM_VALUE 0 tp 4096-ptr_max
PARAM_VALUE 1 dp 4096-ptr_max
PARAM_VALUE 1 dp->i_disk_size 1-s64max
PARAM_VALUE 1 dp->i_mount 4096-ptr_max
PARAM_VALUE 4 flags 0
PARAM_VALUE 5 bpp 3014130209112760320
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 tp->t_blk_res
UNITS 1 dp unit_byte
UNITS 2 owner unit_byte

fs/xfs/libxfs/xfs_dir2_block.c xfs_dir2_leaf_to_block() -> xfs_dir3_data_read()

Type Parameter Key Value
PARAM_VALUE 0 tp 4096-ptr_max
PARAM_VALUE 1 dp 4096-ptr_max
PARAM_VALUE 1 dp->i_disk_size s64min-4294967295
PARAM_VALUE 1 dp->i_mount 4096-ptr_max
PARAM_VALUE 4 flags 0
PARAM_VALUE 5 *bpp 0
CAPPED_DATA 1 dp->i_disk_size 1
RX_PATH
TASK_NOT_RUNNING
UNITS 1 dp unit_byte
UNITS 2 owner unit_byte

fs/xfs/scrub/dir.c xchk_dir_rec() -> xfs_dir3_data_read()

Type Parameter Key Value
PARAM_VALUE 0 tp->t_items.prev->next 4096-ptr_max
PARAM_VALUE 0 tp->t_items.prev->next->next 4096-ptr_max
PARAM_VALUE 1 dp 4096-ptr_max
PARAM_VALUE 3 bno 0-4294967294
PARAM_VALUE 4 flags 1
PARAM_VALUE 5 bpp 5312119496513638400
CAPPED_DATA 3 bno 1
DATA_SOURCE 3 bno r xfs_dir2_db_to_da
UNITS 1 dp unit_byte
UNITS 2 owner unit_byte

fs/xfs/scrub/dir.c xchk_directory_data_bestfree() -> xfs_dir3_data_read()

Type Parameter Key Value
PARAM_VALUE 1 dp 4096-ptr_max
PARAM_VALUE 1 dp->i_disk_size 6-s64max
PARAM_VALUE 1 dp->i_mount 4096-ptr_max
PARAM_VALUE 4 flags 0
PARAM_VALUE 5 bpp 8140555324538556416
CAPPED_DATA 3 bno 1
DATA_SOURCE 3 bno $1

fs/xfs/scrub/dir.c xchk_directory_free_bestfree() -> xfs_dir3_data_read()

Type Parameter Key Value
PARAM_VALUE 0 tp->t_items.prev->next 4096-ptr_max
PARAM_VALUE 0 tp->t_items.prev->next->next 4096-ptr_max
PARAM_VALUE 1 dp 4096-ptr_max
PARAM_VALUE 1 dp->i_disk_size 6-s64max
PARAM_VALUE 1 dp->i_mount 4096-ptr_max
PARAM_VALUE 4 flags 0
PARAM_VALUE 5 bpp 2366934250878849024
UNITS 2 owner unit_byte

fs/xfs/scrub/dir.c xchk_directory_leaf1_bestfree() -> xfs_dir3_data_read()

Type Parameter Key Value
PARAM_VALUE 0 tp->t_items.prev->next 4096-ptr_max
PARAM_VALUE 0 tp->t_items.prev->next->next 4096-ptr_max
PARAM_VALUE 1 dp 4096-ptr_max
PARAM_VALUE 1 dp->i_disk_size 6-s64max
PARAM_VALUE 1 dp->i_mount 4096-ptr_max
PARAM_VALUE 1 dp->i_mount->m_ddev_targp->bt_hash.tbl->dep_map->name 0-255
PARAM_VALUE 4 flags 1
PARAM_VALUE 5 bpp 8554976271821836288
UNITS 2 owner unit_byte

fs/xfs/scrub/readdir.c xchk_read_leaf_dir_buf() -> xfs_dir3_data_read()

Type Parameter Key Value
PARAM_VALUE 1 dp 4096-ptr_max
PARAM_VALUE 1 dp->i_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 1 dp->i_lock.first_waiter->type 0-1
PARAM_VALUE 1 dp->i_mount 4096-ptr_max
PARAM_VALUE 1 dp->i_mount->m_filestream->grp_time 0-4294967295
PARAM_VALUE 1 dp->i_mount->m_filestream->lru_grp 0-4294967295
PARAM_VALUE 4 flags 0
PARAM_VALUE 5 bpp 1590225950212579328
PARAM_VALUE 5 *bpp 0
CAPPED_DATA 1 dp 1
DATA_SOURCE 0 tp $0
DATA_SOURCE 1 dp $1
DATA_SOURCE 5 bpp $4
UNITS 3 bno unit_array_size