Defined in 1 files as a function:
Referenced in 6 files:
- fs/xfs/libxfs/xfs_dir2.c, line 699
- fs/xfs/libxfs/xfs_dir2.h
- fs/xfs/libxfs/xfs_dir2_leaf.c
- fs/xfs/libxfs/xfs_dir2_node.c
- fs/xfs/scrub/readdir.c, line 166
- fs/xfs/xfs_dir2_readdir.c
Smatch caller information:
fs/xfs/libxfs/xfs_dir2_node.c xfs_dir2_dataptr_to_db() -> xfs_dir2_byte_to_db()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | geo | 4096-ptr_max |
| PARAM_VALUE | 1 | by | s64min-(-8),0,8-s64max |
| DATA_SOURCE | 0 | geo | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/xfs/libxfs/xfs_dir2_node.c xfs_dir2_db_to_fdb() -> xfs_dir2_byte_to_db()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | geo | 4096-ptr_max |
| PARAM_VALUE | 1 | by | 68719476736 |
| DATA_SOURCE | 0 | geo | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/xfs/libxfs/xfs_dir2_node.c xfs_dir2_leaf_to_node() -> xfs_dir2_byte_to_db()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | geo | 4096-ptr_max |
| PARAM_VALUE | 1 | by | 68719476736 |
| CAPPED_DATA | 0 | geo->fsbcount | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/xfs/libxfs/xfs_dir2_node.c xfs_dir2_leafn_remove() -> xfs_dir2_byte_to_db()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | geo | 4096-ptr_max |
| PARAM_VALUE | 1 | by | 68719476736 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/xfs/libxfs/xfs_dir2_node.c xfs_dir2_node_add_datablk() -> xfs_dir2_byte_to_db()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | geo | 4096-ptr_max |
| PARAM_VALUE | 1 | by | 68719476736 |
| CAPPED_DATA | 0 | geo->fsbcount | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/xfs/libxfs/xfs_dir2_node.c xfs_dir2_node_find_freeblk() -> xfs_dir2_byte_to_db()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | geo | 4096-ptr_max |
| PARAM_VALUE | 1 | by | 68719476736 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/xfs/libxfs/xfs_dir2_node.c xfs_dir3_free_header_check() -> xfs_dir2_byte_to_db()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | geo | 4096-ptr_max |
| PARAM_VALUE | 1 | by | 68719476736 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/xfs/libxfs/xfs_dir2.c xfs_dir2_byte_to_da() -> xfs_dir2_byte_to_db()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | geo | 4096-ptr_max |
| PARAM_VALUE | 1 | by | 0,34359738368,68719476736 |
| BUF_SIZE | 0 | geo | 80 |
| CAPPED_DATA | 0 | geo->fsblog | 1 |
| DATA_SOURCE | 0 | geo | $0 |
| DATA_SOURCE | 1 | by | $1 |
| 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 | |
| HARD_MAX | 1 | by | 68719476736 |
fs/xfs/libxfs/xfs_dir2.c xfs_dir2_shrink_inode() -> xfs_dir2_byte_to_db()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | geo | 4096-ptr_max |
| PARAM_VALUE | 1 | by | 34359738368 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/xfs/xfs_dir2_readdir.c xfs_dir2_byte_to_da() -> xfs_dir2_byte_to_db()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | by | 34359738368 |
| DATA_SOURCE | 0 | geo | $0 |
| DATA_SOURCE | 1 | by | $1 |
| 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_dataptr_to_db() -> xfs_dir2_byte_to_db()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | by | s64min-(-8),0,8-s64max |
| DATA_SOURCE | 0 | geo | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &dir_fp->readdir_lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/xfs/xfs_dir2_readdir.c xfs_dir2_leaf_getdents() -> xfs_dir2_byte_to_db()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | geo | 4096-ptr_max |
| PARAM_VALUE | 1 | by | 0-s64max |
| 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_dir2_readdir.c xfs_dir2_leaf_readbuf() -> xfs_dir2_byte_to_db()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | geo | 4096-ptr_max |
| PARAM_VALUE | 1 | by | 0-34359738367 |
| 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_block_to_leaf() -> xfs_dir2_byte_to_db()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | geo | 4096-ptr_max |
| PARAM_VALUE | 1 | by | 34359738368 |
| CAPPED_DATA | 0 | geo->fsbcount | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | geo->fsbcount |
fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir2_dataptr_to_db() -> xfs_dir2_byte_to_db()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | geo | 4096-ptr_max |
| PARAM_VALUE | 1 | by | s64min-(-8),0,8-s64max |
| DATA_SOURCE | 0 | geo | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir2_node_to_leaf() -> xfs_dir2_byte_to_db()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | geo | 4096-ptr_max |
| PARAM_VALUE | 1 | by | 68719476736 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir3_leaf_get_buf() -> xfs_dir2_byte_to_db()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | geo | 4096-ptr_max |
| PARAM_VALUE | 1 | by | 34359738368 |
| CAPPED_DATA | 0 | geo->fsbcount | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir3_leaf_get_buf() -> xfs_dir2_byte_to_db()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | geo | 4096-ptr_max |
| PARAM_VALUE | 1 | by | 68719476736 |
| CAPPED_DATA | 0 | geo->fsbcount | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/xfs/scrub/dir.c xfs_dir2_dataptr_to_db() -> xfs_dir2_byte_to_db()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | by | s64min-(-8),0,8-s64max |
| DATA_SOURCE | 0 | geo | $0 |
fs/xfs/scrub/readdir.c xchk_read_leaf_dir_buf() -> xfs_dir2_byte_to_db()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | geo | 4096-ptr_max |
| PARAM_VALUE | 1 | by | 0-34359738367 |
| DATA_SOURCE | 0 | geo | $2 |
fs/xfs/scrub/readdir.c xfs_dir2_byte_to_da() -> xfs_dir2_byte_to_db()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | by | 34359738368 |
| DATA_SOURCE | 0 | geo | $0 |
| DATA_SOURCE | 1 | by | $1 |