Defined in 1 files as a function:

Referenced in 8 files:

Smatch caller information:

fs/xfs/libxfs/xfs_dir2_node.c xfs_dir2_leafn_lookup_for_addname() -> xfs_dir2_db_to_da()

Type Parameter Key Value
PARAM_VALUE 0 geo 4096-ptr_max
DATA_SOURCE 1 db r xfs_dir2_db_to_fdb
RX_PATH
TASK_NOT_RUNNING
UNITS 1 db unit_array_size

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

Type Parameter Key Value
PARAM_VALUE 0 geo 4096-ptr_max
DATA_SOURCE 1 db r xfs_dir2_dataptr_to_db
RX_PATH
TASK_NOT_RUNNING
UNITS 1 db unit_array_size

fs/xfs/libxfs/xfs_dir2_node.c xfs_dir2_leafn_remove() -> xfs_dir2_db_to_da()

Type Parameter Key Value
PARAM_VALUE 0 geo 4096-ptr_max
DATA_SOURCE 1 db r xfs_dir2_db_to_fdb
RX_PATH
TASK_NOT_RUNNING

fs/xfs/libxfs/xfs_dir2_node.c xfs_dir2_node_add_datablk() -> xfs_dir2_db_to_da()

Type Parameter Key Value
PARAM_VALUE 0 geo 4096-ptr_max
CAPPED_DATA 0 geo->fsbcount 1
DATA_SOURCE 1 db r xfs_dir2_db_to_fdb
RX_PATH
TASK_NOT_RUNNING

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

Type Parameter Key Value
PARAM_VALUE 0 geo 4096-ptr_max
PARAM_VALUE 1 db 0-4294967294
RX_PATH
TASK_NOT_RUNNING

fs/xfs/libxfs/xfs_dir2_node.c xfs_dir2_node_find_freeblk() -> xfs_dir2_db_to_da()

Type Parameter Key Value
PARAM_VALUE 0 geo 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 1 db unit_array_size

fs/xfs/libxfs/xfs_dir2_node.c xfs_dir3_free_get_buf() -> xfs_dir2_db_to_da()

Type Parameter Key Value
PARAM_VALUE 0 geo 4096-ptr_max
CAPPED_DATA 0 geo->fsbcount 1
DATA_SOURCE 1 db $1
RX_PATH
TASK_NOT_RUNNING

fs/xfs/libxfs/xfs_dir2.c xfs_dir2_byte_to_da() -> xfs_dir2_db_to_da()

Type Parameter Key Value
PARAM_VALUE 0 geo 4096-ptr_max
BUF_SIZE 0 geo 80
CAPPED_DATA 0 geo->fsblog 1
DATA_SOURCE 0 geo $0
BIT_INFO 0 geo->data_entry_offset 0x0,0x50
BIT_INFO 0 geo->free_hdr_size 0x0,0x50
BIT_INFO 0 geo->leaf_hdr_size 0x0,0x50
BIT_INFO 0 geo->node_hdr_size 0x0,0x50
POWER_OF_TWO 0 *geo

fs/xfs/libxfs/xfs_dir2.c xfs_dir2_shrink_inode() -> xfs_dir2_db_to_da()

Type Parameter Key Value
PARAM_VALUE 0 geo 4096-ptr_max
DATA_SOURCE 1 db $1
RX_PATH
TASK_NOT_RUNNING

fs/xfs/xfs_dir2_readdir.c xfs_dir2_byte_to_da() -> xfs_dir2_db_to_da()

Type Parameter Key Value
PARAM_VALUE 0 geo 4096-ptr_max
DATA_SOURCE 0 geo $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &inode->i_rwsem
HALF_LOCKED2 &dir_fp->readdir_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct inode)->i_rwsem

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

Type Parameter Key Value
PARAM_VALUE 0 geo 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
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_dir2_db_to_da()

Type Parameter Key Value
PARAM_VALUE 0 geo 4096-ptr_max
PARAM_VALUE 1 db 0-4294967294
CAPPED_DATA 1 db 1
RX_PATH
TASK_NOT_RUNNING
UNITS 1 db unit_byte

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

Type Parameter Key Value
PARAM_VALUE 0 geo 4096-ptr_max
PARAM_VALUE 1 db 0-4294967294
DATA_SOURCE 1 db r xfs_dir2_dataptr_to_db
RX_PATH
TASK_NOT_RUNNING

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

Type Parameter Key Value
PARAM_VALUE 0 geo 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

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

Type Parameter Key Value
PARAM_VALUE 0 geo 4096-ptr_max
CAPPED_DATA 0 geo->blksize 1
DATA_SOURCE 1 db $2
RX_PATH
TASK_NOT_RUNNING
UNITS 1 db unit_byte

fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir3_leaf_get_buf() -> xfs_dir2_db_to_da()

Type Parameter Key Value
PARAM_VALUE 0 geo 4096-ptr_max
CAPPED_DATA 0 geo->fsbcount 1
DATA_SOURCE 1 db $1
RX_PATH
TASK_NOT_RUNNING

fs/xfs/scrub/dir.c xchk_dir_actor() -> xfs_dir2_db_to_da()

Type Parameter Key Value
PARAM_VALUE 0 geo 4096-ptr_max

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

Type Parameter Key Value
PARAM_VALUE 0 geo 4096-ptr_max
DATA_SOURCE 1 db r xfs_dir2_dataptr_to_db

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

Type Parameter Key Value
PARAM_VALUE 0 geo 4096-ptr_max
PARAM_VALUE 1 db 0-s32max
CAPPED_DATA 1 db 1
UNITS 1 db unit_byte

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

Type Parameter Key Value
PARAM_VALUE 0 geo 4096-ptr_max
DATA_SOURCE 0 geo $2

fs/xfs/scrub/readdir.c xfs_dir2_byte_to_da() -> xfs_dir2_db_to_da()

Type Parameter Key Value
PARAM_VALUE 0 geo 4096-ptr_max
DATA_SOURCE 0 geo $0

fs/xfs/libxfs/xfs_dir2_data.c xfs_dir3_data_init() -> xfs_dir2_db_to_da()

Type Parameter Key Value
PARAM_VALUE 0 geo 4096-ptr_max
CAPPED_DATA 0 geo->fsbcount 1
DATA_SOURCE 1 db $1
RX_PATH
TASK_NOT_RUNNING
UNITS 1 db unit_byte