Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- fs/xfs/libxfs/xfs_dir2_leaf.c
- fs/xfs/libxfs/xfs_dir2_node.c
- fs/xfs/libxfs/xfs_dir2_sf.c, line 332
- fs/xfs/xfs_trace.h, line 2532
Smatch caller information:
fs/xfs/libxfs/xfs_dir2_node.c xfs_dir2_leafn_remove() -> xfs_dir2_shrink_inode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | args | 4096-ptr_max |
| PARAM_VALUE | 0 | args->dp | 4096-ptr_max |
| PARAM_VALUE | 0 | args->dp->i_mount | 4096-ptr_max |
| PARAM_VALUE | 0 | args->dp->i_mount->m_ddev_targp->bt_file->f_inode->i_wb->dwork.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | args->dp->i_mount->m_ddev_targp->bt_hash.tbl->dep_map->name | 0-255 |
| PARAM_VALUE | 0 | args->dp->i_mount->m_filestream->grp_time | 0-4294967295 |
| PARAM_VALUE | 0 | args->dp->i_mount->m_filestream->lru_grp | 0-4294967295 |
| PARAM_VALUE | 0 | args->geo | 4096-ptr_max |
| PARAM_VALUE | 0 | args->trans | 4096-ptr_max |
| PARAM_VALUE | 0 | args->trans->t_items.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | args->trans->t_items.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | args->trans->t_items.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | args->whichfork | 0 |
| PARAM_VALUE | 2 | bp | 4096-ptr_max |
| PARAM_VALUE | 2 | bp->b_addr | 4096-ptr_max |
| PARAM_VALUE | 2 | bp->b_flags | 0,32-u32max |
| PARAM_VALUE | 2 | bp->b_log_item | 4096-ptr_max |
| PARAM_VALUE | 2 | bp->b_log_item->bli_flags | 0,2-u32max |
| PARAM_VALUE | 2 | bp->b_mount | 4096-ptr_max |
| BUF_SIZE | 0 | args->name | s32min-(-1),1-s32max |
| CAPPED_DATA | 2 | bp->b_log_item->bli_format_count | 1 |
| DATA_SOURCE | 0 | args | $0 |
| 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_node_trim_free() -> xfs_dir2_shrink_inode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | args | 4096-ptr_max |
| PARAM_VALUE | 0 | args->dp | 4096-ptr_max |
| PARAM_VALUE | 0 | args->dp->i_mount | 4096-ptr_max |
| PARAM_VALUE | 0 | args->dp->i_mount->m_ddev_targp->bt_hash.tbl->dep_map->name | 0-255 |
| PARAM_VALUE | 0 | args->geo | 4096-ptr_max |
| PARAM_VALUE | 0 | args->trans->t_items.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | args->trans->t_items.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | args->trans->t_items.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 2 | bp | 4096-ptr_max |
| PARAM_VALUE | 2 | bp->b_lru_ref.counter | 0-4 |
| CAPPED_DATA | 0 | args->geo->freeblk | 1 |
| DATA_SOURCE | 0 | args | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | args->rmtvaluelen | |
| NO_OVERFLOW_SIMPLE | 2 | bp->b_map_count |
fs/xfs/libxfs/xfs_dir2_node.c xfs_dir3_data_block_free() -> xfs_dir2_shrink_inode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | args | 4096-ptr_max |
| PARAM_VALUE | 0 | args->dp | 4096-ptr_max |
| PARAM_VALUE | 0 | args->dp->i_mount | 4096-ptr_max |
| PARAM_VALUE | 0 | args->dp->i_mount->m_ddev_targp->bt_file->f_inode->i_wb->dwork.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | args->dp->i_mount->m_filestream->grp_time | 0-4294967295 |
| PARAM_VALUE | 0 | args->geo | 4096-ptr_max |
| PARAM_VALUE | 0 | args->trans | 4096-ptr_max |
| PARAM_VALUE | 0 | args->trans->t_items.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | args->trans->t_items.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | args->whichfork | 0 |
| PARAM_VALUE | 2 | bp | 4096-ptr_max |
| PARAM_VALUE | 2 | bp->b_addr | 4096-ptr_max |
| PARAM_VALUE | 2 | bp->b_log_item | 4096-ptr_max |
| PARAM_VALUE | 2 | bp->b_log_item->bli_flags | 0,2-u32max |
| PARAM_VALUE | 2 | bp->b_lru_ref.counter | 0-4 |
| BUF_SIZE | 0 | args->name | s32min-(-1),1-s32max |
| CAPPED_DATA | 2 | bp->b_log_item->bli_format_count | 1 |
| DATA_SOURCE | 0 | args | $0 |
| DATA_SOURCE | 1 | db | $3 |
| DATA_SOURCE | 2 | bp | $5 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | args->trans->t_blk_res | |
| NO_OVERFLOW_SIMPLE | 2 | bp->b_map_count |
fs/xfs/libxfs/xfs_dir2_sf.c xfs_dir2_block_to_sf() -> xfs_dir2_shrink_inode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | args | 4096-ptr_max |
| PARAM_VALUE | 0 | args->dp | 4096-ptr_max |
| PARAM_VALUE | 0 | args->dp->i_mount | 4096-ptr_max |
| PARAM_VALUE | 0 | args->geo | 4096-ptr_max |
| PARAM_VALUE | 0 | args->trans | 4096-ptr_max |
| PARAM_VALUE | 2 | bp | 4096-ptr_max |
| PARAM_VALUE | 2 | bp->b_addr | 4096-ptr_max |
| PARAM_VALUE | 2 | bp->b_lru_ref.counter | 0-4 |
| PARAM_VALUE | 2 | bp->b_ops->name | 4096-ptr_max |
| PARAM_VALUE | 2 | bp->b_ops->verify_read | 4096-ptr_max |
| PARAM_VALUE | 2 | bp->b_ops->verify_struct | 0,4096-ptr_max |
| PARAM_VALUE | 2 | bp->b_ops->verify_write | 4096-ptr_max |
| BUF_SIZE | 0 | args->name | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | args->trans | 1 |
| DATA_SOURCE | 0 | args | $0 |
| DATA_SOURCE | 2 | bp | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | args->rmtvaluelen | |
| NO_OVERFLOW_SIMPLE | 0 | args->trans->t_blk_res | |
| NO_OVERFLOW_SIMPLE | 2 | bp->b_map_count |
fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir2_leaf_removename() -> xfs_dir2_shrink_inode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | args | 4096-ptr_max |
| PARAM_VALUE | 0 | args->cmpresult | 1-2 |
| PARAM_VALUE | 0 | args->dp | 4096-ptr_max |
| PARAM_VALUE | 0 | args->dp->i_mount | 4096-ptr_max |
| PARAM_VALUE | 0 | args->geo | 4096-ptr_max |
| PARAM_VALUE | 0 | args->trans | 4096-ptr_max |
| PARAM_VALUE | 0 | args->trans->t_items.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | args->trans->t_items.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | args->whichfork | 0 |
| PARAM_VALUE | 2 | bp | 4096-ptr_max |
| PARAM_VALUE | 2 | bp->b_addr | 4096-ptr_max |
| PARAM_VALUE | 2 | bp->b_flags | 0,32-u32max |
| PARAM_VALUE | 2 | bp->b_log_item | 4096-ptr_max |
| PARAM_VALUE | 2 | bp->b_log_item->bli_flags | 0,2-u32max |
| PARAM_VALUE | 2 | bp->b_lru_ref.counter | 0-4 |
| PARAM_VALUE | 2 | bp->b_mount | 4096-ptr_max |
| PARAM_VALUE | 2 | bp->b_sema.lock.owner_cpu | 0-4294967295 |
| BUF_SIZE | 0 | args | (-1),144 |
| BUF_SIZE | 0 | args | (-1),144 |
| BUF_SIZE | 0 | args->name | s32min-(-1),1-s32max |
| CAPPED_DATA | 2 | bp->b_log_item->bli_format_count | 1 |
| DATA_SOURCE | 0 | args | $0 |
| DATA_SOURCE | 1 | db | r xfs_dir2_dataptr_to_db |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | args->trans->t_blk_res | |
| NO_OVERFLOW_SIMPLE | 2 | bp->b_map_count |
fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir2_leaf_trim_data() -> xfs_dir2_shrink_inode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | args | 4096-ptr_max |
| PARAM_VALUE | 0 | args->dp | 4096-ptr_max |
| PARAM_VALUE | 0 | args->dp->i_disk_size | 1-s64max |
| PARAM_VALUE | 0 | args->dp->i_itemp->ili_dirty_flags | 0-4294967295 |
| PARAM_VALUE | 0 | args->dp->i_mount | 4096-ptr_max |
| PARAM_VALUE | 0 | args->dp->i_mount->m_ddev_targp->bt_hash.tbl->dep_map->name | 0-255 |
| PARAM_VALUE | 0 | args->dp->i_mount->m_filestream->lru_grp | 0-4294967295 |
| PARAM_VALUE | 0 | args->geo | 4096-ptr_max |
| PARAM_VALUE | 0 | args->trans | 4096-ptr_max |
| PARAM_VALUE | 0 | args->trans->t_items.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | args->trans->t_items.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 2 | bp | 4096-ptr_max |
| PARAM_VALUE | 2 | bp->b_addr | 4096-ptr_max |
| PARAM_VALUE | 2 | bp->b_lru_ref.counter | 0-4 |
| BUF_SIZE | 0 | args->name | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | args->geo->blksize | 1 |
| CAPPED_DATA | 0 | args->trans | 1 |
| DATA_SOURCE | 0 | args | $0 |
| DATA_SOURCE | 1 | db | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | args->rmtvaluelen | |
| NO_OVERFLOW_SIMPLE | 0 | args->trans->t_blk_res | |
| NO_OVERFLOW_SIMPLE | 2 | bp->b_map_count | |
| UNITS | 1 | db | unit_byte |
fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir2_node_to_leaf() -> xfs_dir2_shrink_inode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | args | 4096-ptr_max |
| PARAM_VALUE | 0 | args->dp | 4096-ptr_max |
| PARAM_VALUE | 0 | args->dp->i_mount | 4096-ptr_max |
| PARAM_VALUE | 0 | args->geo | 4096-ptr_max |
| PARAM_VALUE | 0 | args->trans | 4096-ptr_max |
| PARAM_VALUE | 0 | args->trans->t_items.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | args->trans->t_items.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | args->trans->t_items.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 2 | bp | 4096-ptr_max |
| PARAM_VALUE | 2 | bp->b_addr | 4096-ptr_max |
| PARAM_VALUE | 2 | bp->b_lru_ref.counter | 0-4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | args->rmtvaluelen | |
| NO_OVERFLOW_SIMPLE | 2 | bp->b_map_count |