Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 14 files:
- fs/xfs/libxfs/xfs_ag.c, line 599
- fs/xfs/libxfs/xfs_btree.c, line 4807
- fs/xfs/libxfs/xfs_ialloc.c, line 417
- fs/xfs/libxfs/xfs_sb.c, line 1440
- fs/xfs/xfs_buf.c, line 1917
- fs/xfs/xfs_buf_item.c, line 599
- fs/xfs/xfs_buf_item_recover.c
- fs/xfs/xfs_dquot_item.c, line 172
- fs/xfs/xfs_dquot_item_recover.c, line 171
- fs/xfs/xfs_inode_item.c, line 792
- fs/xfs/xfs_inode_item_recover.c, line 589
- fs/xfs/xfs_qm.c
- fs/xfs/xfs_trace.h, line 782
- fs/xfs/xfs_trans_ail.c, line 356
Smatch caller information:
fs/xfs/libxfs/xfs_sb.c xfs_update_secondary_sbs() -> xfs_buf_delwri_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->b_addr | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->b_addr->sb_agblklog | 0-255 |
| PARAM_VALUE | 0 | bp->b_addr->sb_agblocks | 0-4294967295 |
| PARAM_VALUE | 0 | bp->b_addr->sb_agcount | 0-4294967295 |
| PARAM_VALUE | 0 | bp->b_addr->sb_bad_features2 | 0-4294967295 |
| PARAM_VALUE | 0 | bp->b_addr->sb_blocklog | 0-255 |
| PARAM_VALUE | 0 | bp->b_addr->sb_blocksize | 0-4294967295 |
| PARAM_VALUE | 0 | bp->b_addr->sb_dirblklog | 0-255 |
| PARAM_VALUE | 0 | bp->b_addr->sb_features2 | 0-4294967295 |
| PARAM_VALUE | 0 | bp->b_addr->sb_flags | 0-255 |
| PARAM_VALUE | 0 | bp->b_addr->sb_imax_pct | 0-255 |
| PARAM_VALUE | 0 | bp->b_addr->sb_inoalignmt | 0-4294967295 |
| PARAM_VALUE | 0 | bp->b_addr->sb_inodelog | 0-255 |
| PARAM_VALUE | 0 | bp->b_addr->sb_inodesize | 0-u16max |
| PARAM_VALUE | 0 | bp->b_addr->sb_inopblock | 0-u16max |
| PARAM_VALUE | 0 | bp->b_addr->sb_inopblog | 0-255 |
| PARAM_VALUE | 0 | bp->b_addr->sb_inprogress | 0-255 |
| PARAM_VALUE | 0 | bp->b_addr->sb_logblocks | 0-4294967295 |
| PARAM_VALUE | 0 | bp->b_addr->sb_logsectlog | 0-255 |
| PARAM_VALUE | 0 | bp->b_addr->sb_logsectsize | 0-u16max |
| PARAM_VALUE | 0 | bp->b_addr->sb_logsunit | 0-4294967295 |
| PARAM_VALUE | 0 | bp->b_addr->sb_magicnum | 0-4294967295 |
| PARAM_VALUE | 0 | bp->b_addr->sb_qflags | 0-u16max |
| PARAM_VALUE | 0 | bp->b_addr->sb_rbmblocks | 0-4294967295 |
| PARAM_VALUE | 0 | bp->b_addr->sb_rextsize | 0-4294967295 |
| PARAM_VALUE | 0 | bp->b_addr->sb_rextslog | 0-255 |
| PARAM_VALUE | 0 | bp->b_addr->sb_sectlog | 0-255 |
| PARAM_VALUE | 0 | bp->b_addr->sb_sectsize | 0-u16max |
| PARAM_VALUE | 0 | bp->b_addr->sb_shared_vn | 0-255 |
| PARAM_VALUE | 0 | bp->b_addr->sb_unit | 0-4294967295 |
| PARAM_VALUE | 0 | bp->b_addr->sb_versionnum | 0-u16max |
| PARAM_VALUE | 0 | bp->b_addr->sb_width | 0-4294967295 |
| PARAM_VALUE | 0 | bp->b_error | 0 |
| PARAM_VALUE | 0 | bp->b_flags | 0,2097152 |
| PARAM_VALUE | 0 | bp->b_lockref.count | 1-s32max |
| PARAM_VALUE | 0 | bp->b_ops | 725821516516683776 |
| PARAM_VALUE | 0 | bp->b_sema.first_waiter->list.next | 5349227543279349760 |
| PARAM_VALUE | 0 | bp->b_sema.first_waiter->list.prev | 5349227543279349760 |
| PARAM_VALUE | 0 | bp->b_sema.first_waiter->list.prev->next | 5349227543279349760 |
| PARAM_VALUE | 0 | bp->b_sema.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | bp->b_sema.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bp->b_sema.lock.owner | (-1) |
| PARAM_VALUE | 0 | bp->b_sema.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 1 | list | 6587084637324853248 |
| PARAM_VALUE | 1 | list->prev | 4096-ptr_max |
| BUF_SIZE | 0 | bp->b_ops | 40 |
| CAPABLE | 0 | 21 | |
| NOCHECK_CALL | |||
| LOCK2 | &*bpp->b_sema | ||
| LOCK2 | &mp->m_growlock | ||
| TYPE_LOCK | (struct xfs_mount)->m_growlock |
fs/xfs/libxfs/xfs_btree.c xfs_btree_block_change_owner() -> xfs_buf_delwri_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/xfs/xfs_buf_item_recover.c xlog_recover_buf_commit_pass2() -> xfs_buf_delwri_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->b_addr | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->b_addr->rsb_magicnum | 1181904743 |
| PARAM_VALUE | 0 | bp->b_addr->rsb_pad | 0 |
| PARAM_VALUE | 0 | bp->b_sema.first_waiter->list.next | 5349227543279349760 |
| PARAM_VALUE | 0 | bp->b_sema.first_waiter->list.prev | 5349227543279349760 |
| PARAM_VALUE | 0 | bp->b_sema.first_waiter->list.prev->next | 5349227543279349760 |
| PARAM_VALUE | 0 | bp->b_sema.first_waiter->up | 0 |
| PARAM_VALUE | 0 | bp->b_sema.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bp->b_sema.lock.owner | (-1) |
| PARAM_VALUE | 0 | bp->b_sema.lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | list | 4097936156751990784 |
| BUF_SIZE | 1 | list->next | (-1),16 |
| BUF_SIZE | 1 | list->prev | (-1),16 |
| DATA_SOURCE | 1 | list | $1 |
| NOCHECK_CALL | |||
| LOCK2 | &bp->b_sema | ||
| LOCK2 | 0 | &bp->b_sema | |
| TYPE_LOCK | (struct xfs_buf)->b_sema |
fs/xfs/xfs_buf_item_recover.c xlog_recover_buf_commit_pass2() -> xfs_buf_delwri_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->b_maps | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->b_ops->name | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->b_ops->verify_read | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->b_ops->verify_struct | 0,4096-ptr_max |
| PARAM_VALUE | 0 | bp->b_ops->verify_write | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->b_sema.lock.owner | (-1) |
| PARAM_VALUE | 0 | bp->b_sema.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | bp->b_sema.lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 1 | list | 4097936156751990784 |
| BUF_SIZE | 1 | list->next | (-1),16 |
| BUF_SIZE | 1 | list->prev | (-1),16 |
| CAPPED_DATA | 0 | bp | 1 |
| DATA_SOURCE | 1 | list | $1 |
| NOCHECK_CALL | |||
| LOCK2 | &bp->b_sema |
fs/xfs/xfs_qm.c xfs_qm_flush_one() -> xfs_buf_delwri_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->b_iodone | 8399946854380957696 |
| PARAM_VALUE | 0 | bp->b_li_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->b_li_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->b_li_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->b_sema.count | 0-2147483646 |
| PARAM_VALUE | 0 | bp->b_sema.lock.owner | (-1) |
| PARAM_VALUE | 0 | bp->b_sema.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 1 | list | 0,5893033425444913152 |
| BUF_SIZE | 1 | list | (-1),16 |
| BUF_SIZE | 1 | list | (-1),16 |
| DATA_SOURCE | 1 | list | $1 |
| RX_PATH | |||
| NOCHECK_CALL | |||
| LOCK2 | &dqp->q_logitem.qli_item.li_buf->b_sema | ||
| LOCK2 | &dqp->q_qlock | ||
| LOCK2 | &qi->qi_tree_lock | ||
| TYPE_LOCK | (struct xfs_buf)->b_sema | ||
| TYPE_LOCK | (struct xfs_dquot)->q_qlock | ||
| TYPE_LOCK | (struct xfs_quotainfo)->qi_tree_lock |
fs/xfs/xfs_qm.c xfs_qm_reset_dqcounts_all() -> xfs_buf_delwri_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->b_ops | 5083309936992202752 |
| PARAM_VALUE | 0 | bp->b_sema.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | bp->b_sema.lock.owner | (-1) |
| PARAM_VALUE | 0 | bp->b_sema.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | bp->b_sema.lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 1 | list | 5893033425444913152 |
| PARAM_VALUE | 1 | list->next | 5893033425444913152 |
| BUF_SIZE | 0 | bp->b_ops | 40 |
| DATA_SOURCE | 1 | list | $5 |
| RX_PATH | |||
| NOCHECK_CALL | |||
| LOCK2 | &bp->b_sema |
fs/xfs/libxfs/xfs_ialloc.c xfs_ialloc_inode_init() -> xfs_buf_delwri_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->b_error | s32min-s32max |
| PARAM_VALUE | 0 | bp->b_flags | 0,32-u32max |
| PARAM_VALUE | 0 | bp->b_map_count | s32min-s32max |
| PARAM_VALUE | 0 | bp->b_ops | 5551355641396621312 |
| PARAM_VALUE | 0 | bp->b_sema.count | 0-4294967295 |
| PARAM_VALUE | 0 | bp->b_sema.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | bp->b_sema.lock.owner_cpu | 0-4294967295 |
| PARAM_VALUE | 0 | bp->b_sema.lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 1 | list | 4097936156751990784 |
| PARAM_VALUE | 1 | list->prev | 4096-ptr_max |
| BUF_SIZE | 0 | bp->b_ops | 40 |
| BUF_SIZE | 1 | list->next | (-1),16 |
| BUF_SIZE | 1 | list->prev | (-1),16 |
| DATA_SOURCE | 1 | list | $2 |
| RX_PATH | |||
| NOCHECK_CALL |
fs/xfs/xfs_trans_ail.c xfsaild_resubmit_item() -> xfs_buf_delwri_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->b_sema.count | 0-2147483646 |
| PARAM_VALUE | 0 | bp->b_sema.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bp->b_sema.lock.owner | (-1) |
| PARAM_VALUE | 0 | bp->b_sema.lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | list | 4096-ptr_max |
| DATA_SOURCE | 1 | list | $1 |
| PREEMPT_ADD | |||
| LOCK2 | &ailp->ail_lock | ||
| LOCK2 | 0 | &bp->b_sema | |
| TYPE_LOCK | (struct xfs_ail)->ail_lock | ||
| TYPE_LOCK | (struct xfs_buf)->b_sema |
fs/xfs/xfs_buf_item.c xfs_buf_item_push() -> xfs_buf_delwri_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->b_pin_count.counter | 0 |
| PARAM_VALUE | 0 | bp->b_sema.count | 0-2147483646 |
| PARAM_VALUE | 0 | bp->b_sema.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bp->b_sema.lock.owner | (-1) |
| PARAM_VALUE | 0 | bp->b_sema.lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | list | 4096-ptr_max |
| DATA_SOURCE | 1 | list | $1 |
| LOCK2 | &ailp->ail_lock | ||
| LOCK2 | 0 | &bp->b_sema | |
| TYPE_LOCK | (struct xfs_ail)->ail_lock | ||
| TYPE_LOCK | (struct xfs_buf)->b_sema |
fs/xfs/xfs_inode_item_recover.c xlog_recover_inode_commit_pass2() -> xfs_buf_delwri_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->b_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->b_sema.lock.owner | (-1) |
| PARAM_VALUE | 0 | bp->b_sema.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | bp->b_sema.lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 1 | list | 4097936156751990784 |
| BUF_SIZE | 1 | list->next | (-1),16 |
| BUF_SIZE | 1 | list->prev | (-1),16 |
| DATA_SOURCE | 1 | list | $1 |
| NOCHECK_CALL | |||
| LOCK2 | &bp->b_sema |
fs/xfs/xfs_buf.c xfs_buf_delwri_queue_here() -> xfs_buf_delwri_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->b_ops->name | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->b_ops->verify_read | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->b_ops->verify_struct | 0,4096-ptr_max |
| PARAM_VALUE | 0 | bp->b_ops->verify_write | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->b_sema.first_waiter->up | 0-1 |
| PARAM_VALUE | 1 | list | 816824707507695616,3136985920959348736 |
| CAPPED_DATA | 0 | &bp->b_list | 1 |
| DATA_SOURCE | 0 | bp | $0 |
| DATA_SOURCE | 1 | list | $1 |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | bp->b_map_count | |
| HALF_LOCKED2 | 0 | &bp->b_sema |
fs/xfs/xfs_dquot_item_recover.c xlog_recover_dquot_commit_pass2() -> xfs_buf_delwri_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->b_sema.lock.owner | (-1) |
| PARAM_VALUE | 0 | bp->b_sema.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | bp->b_sema.lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 1 | list | 4097936156751990784 |
| BUF_SIZE | 1 | list->next | (-1),16 |
| BUF_SIZE | 1 | list->prev | (-1),16 |
| DATA_SOURCE | 1 | list | $1 |
| NOCHECK_CALL | |||
| LOCK2 | &bp->b_sema |
fs/xfs/libxfs/xfs_ag.c xfs_ag_init_hdr() -> xfs_buf_delwri_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->b_flags | 0-270532608 |
| PARAM_VALUE | 0 | bp->b_iowait.done | 0 |
| PARAM_VALUE | 0 | bp->b_iowait.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | bp->b_iowait.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | bp->b_iowait.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | bp->b_lockref.count | 1 |
| PARAM_VALUE | 0 | bp->b_lru_ref.counter | 1 |
| PARAM_VALUE | 0 | bp->b_map_count | 1 |
| PARAM_VALUE | 0 | bp->b_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->b_ops->name | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->b_ops->verify_read | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->b_ops->verify_struct | 0,4096-ptr_max |
| PARAM_VALUE | 0 | bp->b_ops->verify_write | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->b_pin_count.counter | 0 |
| PARAM_VALUE | 0 | bp->b_sema.lock.owner | (-1) |
| PARAM_VALUE | 0 | bp->b_sema.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 1 | list | 8137560968420274184 |
| PARAM_VALUE | 1 | list->next | 8137560968420274184 |
| CAPABLE | 0 | 21 | |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | bp->b_map_count | |
| LOCK2 | &*bpp->b_sema | ||
| LOCK2 | &mp->m_growlock | ||
| TYPE_LOCK | (struct xfs_mount)->m_growlock |
fs/xfs/xfs_dquot_item.c xfs_qm_dquot_logitem_push() -> xfs_buf_delwri_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 0,4096-ptr_max |
| PARAM_VALUE | 0 | bp->b_iodone | 8399946854380957696 |
| PARAM_VALUE | 0 | bp->b_li_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->b_li_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->b_li_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->b_sema.count | 0-4294967295 |
| PARAM_VALUE | 0 | bp->b_sema.lock.owner_cpu | 0-4294967295 |
| PARAM_VALUE | 1 | list | 4096-ptr_max |
| DATA_SOURCE | 1 | list | $1 |
| LOCK2 | &ailp->ail_lock | ||
| LOCK2 | &dqp->q_qlock | ||
| HALF_LOCKED2 | &dqp->q_logitem.qli_item.li_buf->b_sema | ||
| TYPE_LOCK | (struct xfs_dquot)->q_qlock |
fs/xfs/xfs_inode_item.c xfs_inode_item_push() -> xfs_buf_delwri_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->b_ops->name | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->b_ops->verify_read | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->b_ops->verify_struct | 0,4096-ptr_max |
| PARAM_VALUE | 0 | bp->b_ops->verify_write | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->b_pin_count.counter | 0 |
| PARAM_VALUE | 0 | bp->b_sema.count | 0-2147483646 |
| PARAM_VALUE | 0 | bp->b_sema.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | bp->b_sema.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bp->b_sema.lock.owner | (-1) |
| PARAM_VALUE | 0 | bp->b_sema.lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | list | 4096-ptr_max |
| CAPPED_DATA | 0 | bp | 1 |
| DATA_SOURCE | 1 | list | $1 |
| LOCK2 | &ailp->ail_lock | ||
| LOCK2 | 0 | &bp->b_sema | |
| TYPE_LOCK | (struct xfs_buf)->b_sema |