Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- fs/xfs/libxfs/xfs_attr_remote.c, line 546
- fs/xfs/libxfs/xfs_sb.c
- fs/xfs/xfs_buf_item_recover.c, line 1162
- fs/xfs/xfs_mount.c, line 1608
- fs/xfs/xfs_qm.c, line 170
- fs/xfs/xfs_rtalloc.c, line 852
Smatch caller information:
fs/xfs/libxfs/xfs_sb.c xfs_sync_sb_buf() -> xfs_bwrite()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->b_log_item | 4096-ptr_max |
| CAPPED_DATA | 0 | bp | 1 |
| CAPPED_DATA | 0 | bp->b_transp | 1 |
| DATA_SOURCE | 0 | bp | r xfs_trans_getsb |
| CAPABLE | 0 | 21 |
fs/xfs/libxfs/xfs_sb.c xfs_sync_sb_buf() -> xfs_bwrite()
| 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_log_item | 4096-ptr_max |
| CAPPED_DATA | 0 | bp | 1 |
| CAPPED_DATA | 0 | bp->b_log_item->bli_format_count | 1 |
| CAPPED_DATA | 0 | bp->b_transp | 1 |
| DATA_SOURCE | 0 | bp | r xfs_log_rtsb |
| CAPABLE | 0 | 21 |
fs/xfs/xfs_rtalloc.c xfs_growfs_rt_init_rtsb() -> xfs_bwrite()
| 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_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_maps | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->b_ops | 4181227529234714624 |
| PARAM_VALUE | 0 | bp->b_pin_count.counter | 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 | 4294967295 |
| BUF_SIZE | 0 | bp->b_ops | 40 |
| CAPABLE | 0 | 21 | |
| 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_buf_item_recover.c xlog_recover_buf_commit_pass2() -> xfs_bwrite()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->b_flags | 0,64-u32max |
| PARAM_VALUE | 0 | bp->b_lru.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->b_lru.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->b_lru_ref.counter | 0 |
| 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 |
| CAPPED_DATA | 0 | bp | 1 |
| LOCK2 | &bp->b_sema |
fs/xfs/libxfs/xfs_attr_remote.c xfs_attr_rmtval_set_value() -> xfs_bwrite()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->b_addr->rm_bytes | 0-4294967295 |
| PARAM_VALUE | 0 | bp->b_addr->rm_lsn | (-1) |
| PARAM_VALUE | 0 | bp->b_addr->rm_magic | 1480675917 |
| PARAM_VALUE | 0 | bp->b_addr->rm_offset | 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_maps | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->b_ops | 643195031028314112 |
| 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 |
| BUF_SIZE | 0 | bp->b_ops | 40 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &*bpp->b_sema |
fs/xfs/xfs_qm.c xfs_qm_dqpurge() -> xfs_bwrite()
| 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 |
| RX_PATH | |||
| 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_mount.c xfs_add_incompat_log_feature() -> xfs_bwrite()
| 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_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 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &bp->b_sema | |
| TYPE_LOCK | (struct xfs_buf)->b_sema |