Defined in 1 files as a function:
Referenced in 13 files:
- fs/xfs/libxfs/xfs_alloc.c, line 1259
- fs/xfs/libxfs/xfs_bmap.c
- fs/xfs/libxfs/xfs_btree.c, line 1370
- fs/xfs/libxfs/xfs_ialloc.c, line 365
- fs/xfs/libxfs/xfs_rtbitmap.c, line 1394
- fs/xfs/libxfs/xfs_sb.c, line 1653
- fs/xfs/libxfs/xfs_symlink_remote.c
- fs/xfs/scrub/quota_repair.c, line 85
- fs/xfs/scrub/tempfile.c, line 515
- fs/xfs/xfs_attr_inactive.c, line 212
- fs/xfs/xfs_dquot.c, line 397
- fs/xfs/xfs_inode.c, line 1741
- fs/xfs/xfs_trace.h, line 944
Smatch caller information:
fs/xfs/libxfs/xfs_sb.c xfs_sb_get_secondary() -> xfs_trans_get_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 4 | flags | 0 |
| PARAM_VALUE | 5 | bpp | 7484560753937539072 |
| DATA_SOURCE | 0 | tp | $1 |
| USER_DATA | 2 | blkno | s64min-s64max[c] |
fs/xfs/libxfs/xfs_rtbitmap.c xfs_rtfile_initialize_block() -> xfs_trans_get_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tp | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->t_flags | 0,4,16,20,32,36,64,68,80,84 |
| PARAM_VALUE | 0 | tp->t_highest_agno | 4294967295 |
| 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 | 0 | tp->t_mountp | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | tp->t_pflags | 0,262144 |
| PARAM_VALUE | 4 | flags | 0 |
| PARAM_VALUE | 5 | bpp | 8572174620000006144 |
| CAPABLE | 0 | 21 | |
| NO_OVERFLOW_SIMPLE | 0 | tp->t_blk_res | |
| LOCK2 | &mp->m_growlock | ||
| TYPE_LOCK | (struct xfs_mount)->m_growlock |
fs/xfs/libxfs/xfs_bmap.c xfs_bmap_extents_to_btree() -> xfs_trans_get_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tp | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->t_mountp | 4096-ptr_max |
| PARAM_VALUE | 1 | target->bt_file->f_inode->i_wb->dwork.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 1 | target->bt_file->f_inode->i_wb->dwork.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 1 | target->bt_file->f_inode->i_wb->dwork.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 4 | flags | 0 |
| PARAM_VALUE | 5 | bpp | 5373388105071652864 |
| DATA_SOURCE | 0 | tp | $0 |
| STR_LEN | 0 | tp | (-1)-1024 |
| STR_LEN | 0 | tp | (-1)-1024 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | tp->t_blk_res |
fs/xfs/libxfs/xfs_bmap.c xfs_bmap_local_to_extents() -> xfs_trans_get_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tp | 4096-ptr_max |
| PARAM_VALUE | 4 | flags | 0 |
| PARAM_VALUE | 5 | bpp | 8173983341537783808 |
| DATA_SOURCE | 0 | tp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | tp->t_blk_res |
fs/xfs/libxfs/xfs_btree.c xfs_btree_get_buf_block() -> xfs_trans_get_buf()
| 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 | 4 | flags | 0 |
| PARAM_VALUE | 5 | bpp | 721020436203130880,3217378907755192320,4299384713319415808,9170854478567751680 |
| DATA_SOURCE | 5 | bpp | $3 |
| STR_LEN | 0 | tp | (-1)-1024 |
| STR_LEN | 0 | tp | (-1)-1024 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | tp->t_blk_res | |
| NO_OVERFLOW_SIMPLE | 0 | tp->t_rtx_res | |
| NO_OVERFLOW_SIMPLE | 0 | tp->t_rtx_res_used |
fs/xfs/libxfs/xfs_alloc.c xfs_alloc_ag_vextent_small() -> xfs_trans_get_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tp | 4096-ptr_max |
| 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 | 4 | flags | 0 |
| PARAM_VALUE | 5 | bpp | 9146525250906816512 |
| CAPPED_DATA | 0 | tp | 1 |
| STR_LEN | 0 | tp | (-1)-1024 |
| STR_LEN | 0 | tp | (-1)-1024 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | tp->t_blk_res | |
| NO_OVERFLOW_SIMPLE | 0 | tp->t_rtx_res_used |
fs/xfs/scrub/quota_repair.c xrep_quota_item_fill_bmap_hole() -> xfs_trans_get_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tp | 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 | 4 | flags | 0 |
| PARAM_VALUE | 5 | bpp | 9084170029658984448 |
| LOCK2 | &dq->q_qlock | ||
| TYPE_LOCK | (struct xfs_dquot)->q_qlock |
fs/xfs/libxfs/xfs_ialloc.c xfs_ialloc_inode_init() -> xfs_trans_get_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tp | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tp->t_mountp | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->t_mountp->m_sb.sb_agblocks | 1-u32max |
| PARAM_VALUE | 0 | tp->t_mountp->m_sb.sb_agcount | 1-u32max |
| PARAM_VALUE | 4 | flags | 0 |
| PARAM_VALUE | 5 | bpp | 6372172714330443776 |
| CAPPED_DATA | 0 | tp | 1 |
| DATA_SOURCE | 0 | tp | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/xfs/scrub/tempfile.c xrep_tempfile_copyin() -> xfs_trans_get_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tp | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->t_dfops.prev->next | 6825190683592855552 |
| 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 | 4 | flags | 0 |
| PARAM_VALUE | 5 | bpp | 7342124605585149952 |
| CAPPED_DATA | 0 | tp | 1 |
fs/xfs/xfs_inode.c xfs_ifree_cluster() -> xfs_trans_get_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tp | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->t_dfops.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->t_dfops.prev->next->next | 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 | 0 | tp->t_mountp->m_healthmon->ref.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | tp->t_mountp->m_sb_bp->b_flags | 0,32-u32max |
| PARAM_VALUE | 4 | flags | 0 |
| PARAM_VALUE | 5 | bpp | 7508247841221836800 |
| CAPPED_DATA | 0 | tp | 1 |
| DATA_SOURCE | 0 | tp | $0 |
| LOCK2 | &pool->lock |
fs/xfs/libxfs/xfs_symlink_remote.c xfs_symlink_remote_truncate() -> xfs_trans_get_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tp | 4096-ptr_max |
| PARAM_VALUE | 4 | flags | 0 |
| PARAM_VALUE | 5 | bpp | 7036511628165185536 |
| CAPPED_DATA | 0 | tp | 1 |
| DATA_SOURCE | 0 | tp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | tp->t_blk_res | |
| HALF_LOCKED2 | &pool->lock |
fs/xfs/libxfs/xfs_symlink_remote.c xfs_symlink_write_target() -> xfs_trans_get_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tp | 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 | 3 | numblks | 0-4194304 |
| PARAM_VALUE | 4 | flags | 0 |
| PARAM_VALUE | 5 | bpp | 8267958330876764160 |
| CAPPED_DATA | 0 | tp | 1 |
| DATA_SOURCE | 0 | tp | $0 |
| STR_LEN | 0 | tp | 0-1024 |
| STR_LEN | 0 | tp | 0-1024 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | tp->t_blk_res |
fs/xfs/xfs_dquot.c xfs_dquot_disk_alloc() -> xfs_trans_get_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tp | 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 | 4 | flags | 0 |
| PARAM_VALUE | 5 | bpp | 2139480119435804672 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | tp->t_blk_res |
fs/xfs/xfs_attr_inactive.c xfs_attr3_node_inactive() -> xfs_trans_get_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 4 | flags | 0 |
| PARAM_VALUE | 5 | bpp | 862333958890254336 |
| PARAM_VALUE | 5 | *bpp | 4096-ptr_max |
| DATA_SOURCE | 2 | blkno | r xfs_buf_daddr |
| HALF_LOCKED2 | &pool->lock |