Defined in 1 files as a function:
Referenced in 15 files:
- fs/xfs/libxfs/xfs_ialloc.h, line 33
- fs/xfs/libxfs/xfs_inode_buf.c, line 61
- fs/xfs/scrub/ialloc.c, line 446
- fs/xfs/scrub/ialloc_repair.c, line 161
- fs/xfs/scrub/inode_repair.c
- fs/xfs/xfs_buf_item.c, line 273
- fs/xfs/xfs_buf_item_recover.c
- fs/xfs/xfs_dquot.c
- fs/xfs/xfs_dquot_item_recover.c, line 135
- fs/xfs/xfs_error.c, line 347
- fs/xfs/xfs_icache.c, line 671
- fs/xfs/xfs_inode.c, line 2389
- fs/xfs/xfs_inode_item.c, line 527
- fs/xfs/xfs_inode_item_recover.c, line 356
- fs/xfs/xfs_iunlink_item.c, line 73
Smatch caller information:
fs/xfs/xfs_buf_item_recover.c xlog_recover_buf_commit_pass2() -> xfs_buf_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 0 |
| CAPPED_DATA | 0 | bp | 1 |
| LOCK2 | &bp->b_sema |
fs/xfs/xfs_buf_item_recover.c xlog_recover_do_inode_buffer() -> xfs_buf_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 0-2147483646,18446744071562067968-u64max |
| BUF_SIZE | 0 | bp->b_ops | (-1),40 |
| CAPPED_DATA | 1 | offset | 1 |
| DATA_SOURCE | 0 | bp | $2 |
| LOCK2 | &bp->b_sema |
fs/xfs/xfs_buf_item_recover.c xlog_recover_do_inode_buffer() -> xfs_buf_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 0 | bp->b_ops | (-1),40 |
| DATA_SOURCE | 0 | bp | $2 |
| LOCK2 | &bp->b_sema |
fs/xfs/xfs_buf_item_recover.c xlog_recover_do_reg_buffer() -> xfs_buf_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 0,128-4294967040 |
| DATA_SOURCE | 0 | bp | $2 |
| BIT_INFO | 1 | offset | 0x0,0xffffff80 |
| NO_OVERFLOW_SIMPLE | 0 | bp->b_map_count | |
| HALF_LOCKED2 | &bp->b_sema |
fs/xfs/xfs_buf_item_recover.c xlog_recover_do_reg_buffer() -> xfs_buf_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 0,128-4294967040 |
| DATA_SOURCE | 0 | bp | $2 |
| BIT_INFO | 1 | offset | 0x0,0xffffff80 |
| NO_OVERFLOW_SIMPLE | 0 | bp->b_map_count | |
| HALF_LOCKED2 | &bp->b_sema |
fs/xfs/xfs_buf_item_recover.c xlog_recover_do_reg_buffer() -> xfs_buf_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 0,128-4294967040 |
| DATA_SOURCE | 0 | bp | $2 |
| BIT_INFO | 1 | offset | 0x0,0xffffff80 |
| NO_OVERFLOW_SIMPLE | 0 | bp->b_map_count | |
| HALF_LOCKED2 | &bp->b_sema |
fs/xfs/xfs_iunlink_item.c xfs_iunlink_log_dinode() -> xfs_buf_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| BIT_INFO | 0 | bp->b_flags | 0x0,0xffffffbf |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | bp->b_map_count | |
| HALF_LOCKED2 | &mp->m_growlock |
fs/xfs/libxfs/xfs_ialloc.c xfs_make_iptr() -> xfs_buf_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 0 | bp->b_ops | 40 |
| DATA_SOURCE | 0 | bp | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | bp->b_map_count |
fs/xfs/xfs_error.c xfs_verifier_error() -> xfs_buf_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 0 |
| BUF_SIZE | 0 | bp->b_ops | (-1)-0,40 |
| DATA_SOURCE | 0 | bp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | bp->b_log_item->bli_format_count | |
| NO_OVERFLOW_SIMPLE | 0 | bp->b_log_item->bli_formats | |
| NO_OVERFLOW_SIMPLE | 0 | bp->b_log_item->bli_item.li_lv_shadow | |
| NO_OVERFLOW_SIMPLE | 0 | bp->b_map_count | |
| HALF_LOCKED2 | 0 | &bp->b_sema |
fs/xfs/scrub/inode_repair.c xrep_dinode_buf_core() -> xfs_buf_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| DATA_SOURCE | 0 | bp | $1 |
| DATA_SOURCE | 1 | offset | $2 |
| NO_OVERFLOW_SIMPLE | 0 | bp->b_map_count |
fs/xfs/scrub/inode_repair.c xrep_dinode_core() -> xfs_buf_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| BUF_SIZE | 0 | bp->b_ops | 40 |
| UNITS | 1 | offset | unit_byte |
fs/xfs/scrub/ialloc_repair.c xrep_ibt_check_ifree() -> xfs_buf_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 0-4294966783 |
| CAPPED_DATA | 1 | offset | 1 |
| DATA_SOURCE | 0 | bp | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | bp->b_map_count |
fs/xfs/xfs_inode.c xfs_iflush() -> xfs_buf_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| CAPPED_DATA | 0 | bp | 1 |
| DATA_SOURCE | 0 | bp | $1 |
| LOCK2 | &ailp->ail_lock | ||
| LOCK2 | 0 | &bp->b_sema | |
| TYPE_LOCK | (struct xfs_buf)->b_sema |
fs/xfs/libxfs/xfs_inode_buf.c xfs_inode_buf_verify() -> xfs_buf_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 0 | bp->b_ops | (-1)-0,40 |
| DATA_SOURCE | 0 | bp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | bp->b_log_item->bli_format_count | |
| NO_OVERFLOW_SIMPLE | 0 | bp->b_log_item->bli_formats | |
| NO_OVERFLOW_SIMPLE | 0 | bp->b_log_item->bli_item.li_lv_shadow | |
| NO_OVERFLOW_SIMPLE | 0 | bp->b_map_count | |
| HALF_LOCKED2 | 0 | &bp->b_sema |
fs/xfs/xfs_buf_item.c xfs_buf_item_copy_iovec() -> xfs_buf_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | bp | $1 |
| DATA_SOURCE | 1 | offset | $2 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &cil->xc_ctx_lock | ||
| HALF_LOCKED2 | &mp->m_growlock | ||
| TYPE_LOCK | (struct xfs_cil)->xc_ctx_lock |
fs/xfs/xfs_inode_item_recover.c xlog_recover_inode_commit_pass2() -> xfs_buf_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 0-s32max,18446744071562067968-u64max |
| UNITS | 1 | offset | unit_byte |
| LOCK2 | &bp->b_sema |
fs/xfs/xfs_dquot_item_recover.c xlog_recover_dquot_commit_pass2() -> xfs_buf_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| LOCK2 | &bp->b_sema |
fs/xfs/xfs_dquot.c xfs_dquot_from_disk() -> xfs_buf_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 0-s32max,18446744071562067968-u64max |
| CAPPED_DATA | 1 | offset | 1 |
| DATA_SOURCE | 0 | bp | $1 |
| NOSPEC | 1 | offset | |
| NOSPEC | 1 | offset | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | offset | 0-s32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | bp->b_map_count |
fs/xfs/xfs_dquot.c xfs_qm_dqflush() -> xfs_buf_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 0,4096-ptr_max |
| PARAM_VALUE | 1 | offset | 0-s32max,18446744071562067968-u64max |
| DATA_SOURCE | 0 | bp | $1 |
| RX_PATH | |||
| LOCK2 | &dqp->q_qlock | ||
| HALF_LOCKED2 | &ailp->ail_lock | ||
| HALF_LOCKED2 | &dqp->q_logitem.qli_item.li_buf->b_sema | ||
| HALF_LOCKED2 | &qi->qi_tree_lock | ||
| TYPE_LOCK | (struct xfs_dquot)->q_qlock |
fs/xfs/scrub/ialloc.c xchk_iallocbt_check_cluster() -> xfs_buf_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| CAPPED_DATA | 1 | offset | 1 |
| NO_OVERFLOW_SIMPLE | 0 | bp->b_map_count |
fs/xfs/xfs_inode_item.c xfs_copy_dm_fields_to_log_dinode() -> xfs_buf_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &cil->xc_ctx_lock | ||
| HALF_LOCKED2 | &mp->m_growlock | ||
| TYPE_LOCK | (struct xfs_cil)->xc_ctx_lock |
fs/xfs/xfs_icache.c xfs_iget_cache_miss() -> xfs_buf_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | bp->b_map_count |