Home
last modified time | relevance | path

Searched refs:b_ops (Results 1 – 23 of 23) sorted by relevance

/linux/fs/xfs/
H A Dxfs_buf_item_recover.c247 bp->b_ops = &xfs_bnobt_buf_ops; in xlog_recover_validate_buf_type()
251 bp->b_ops = &xfs_cntbt_buf_ops; in xlog_recover_validate_buf_type()
255 bp->b_ops = &xfs_inobt_buf_ops; in xlog_recover_validate_buf_type()
259 bp->b_ops = &xfs_finobt_buf_ops; in xlog_recover_validate_buf_type()
263 bp->b_ops = &xfs_bmbt_buf_ops; in xlog_recover_validate_buf_type()
266 bp->b_ops = &xfs_rtrmapbt_buf_ops; in xlog_recover_validate_buf_type()
269 bp->b_ops = &xfs_rmapbt_buf_ops; in xlog_recover_validate_buf_type()
272 bp->b_ops = &xfs_refcountbt_buf_ops; in xlog_recover_validate_buf_type()
275 bp->b_ops = &xfs_rtrefcountbt_buf_ops; in xlog_recover_validate_buf_type()
287 bp->b_ops = &xfs_agf_buf_ops; in xlog_recover_validate_buf_type()
[all …]
H A Dxfs_buf.c455 bp->b_ops = NULL; in xfs_buf_find_lock()
678 if (ops && !bp->b_ops) { in xfs_buf_read_map()
679 bp->b_ops = ops; in xfs_buf_read_map()
680 bp->b_ops->verify_read(bp); in xfs_buf_read_map()
696 bp->b_ops = ops; in xfs_buf_read_map()
777 bp->b_ops = ops; in xfs_buf_readahead_map()
817 bp->b_ops = ops; in xfs_buf_read_uncached()
1139 if (!bp->b_error && bp->b_ops) in xfs_buf_ioend()
1140 bp->b_ops->verify_read(bp); in xfs_buf_ioend()
1348 if (bp->b_ops) { in xfs_buf_verify_write()
[all …]
H A Dxfs_buf_item.c813 if (!bp->b_ops || !bp->b_ops->verify_struct) in xfs_buf_item_precommit()
818 fa = bp->b_ops->verify_struct(bp); in xfs_buf_item_precommit()
820 xfs_buf_verifier_error(bp, -EFSCORRUPTED, bp->b_ops->name, in xfs_buf_item_precommit()
H A Dxfs_trans_buf.c256 ASSERT(bp->b_ops); in xfs_trans_read_buf_map()
297 ASSERT(bp->b_ops != NULL || ops == NULL); in xfs_trans_read_buf_map()
H A Dxfs_buf.h193 const struct xfs_buf_ops *b_ops; member
H A Dxfs_dquot.c405 bp->b_ops = &xfs_dquot_buf_ops; in xfs_dquot_disk_alloc()
H A Dxfs_qm.c1130 bp->b_ops = &xfs_dquot_buf_ops; in xfs_qm_reset_dqcounts_all()
H A Dxfs_rtalloc.c848 rtsb_bp->b_ops = &xfs_rtsb_buf_ops; in xfs_growfs_rt_init_rtsb()
H A Dxfs_inode.c1770 bp->b_ops = &xfs_inode_buf_ops; in xfs_ifree_cluster()
H A Dxfs_trace.h750 __entry->buf_ops = bp->b_ops;
/linux/fs/xfs/scrub/
H A Drtsummary_repair.c98 bp->b_ops = &xfs_rtsummary_buf_ops; in xrep_rtsummary_prep_buf()
100 bp->b_ops = &xfs_rtbuf_ops; in xrep_rtsummary_prep_buf()
H A Drepair.c604 if (bp->b_ops) { in xrep_findroot_block()
605 if (bp->b_ops != fab->buf_ops) in xrep_findroot_block()
617 bp->b_ops = fab->buf_ops; in xrep_findroot_block()
620 bp->b_ops = NULL; in xrep_findroot_block()
1302 const struct xfs_buf_ops *old_ops = bp->b_ops; in xrep_buf_verify_struct()
1312 bp->b_ops = ops; in xrep_buf_verify_struct()
1313 fa = bp->b_ops->verify_struct(bp); in xrep_buf_verify_struct()
1314 bp->b_ops = old_ops; in xrep_buf_verify_struct()
H A Dsymlink_repair.c131 bp->b_ops = &xfs_symlink_buf_ops; in xrep_symlink_salvage_remote()
144 fa = bp->b_ops->verify_struct(bp); in xrep_symlink_salvage_remote()
H A Dquota_repair.c89 bp->b_ops = &xfs_dquot_buf_ops; in xrep_quota_item_fill_bmap_hole()
340 bp->b_ops = &xfs_dquot_buf_ops; in xrep_quota_block()
H A Drtbitmap_repair.c394 bp->b_ops = &xfs_rtbitmap_buf_ops; in xrep_rtbitmap_prep_buf()
396 bp->b_ops = &xfs_rtbuf_ops; in xrep_rtbitmap_prep_buf()
H A Dagheader_repair.c392 agf_bp->b_ops = &xfs_agf_buf_ops; in xrep_agf()
763 agfl_bp->b_ops = &xfs_agfl_buf_ops; in xrep_agfl()
1890 ragi->agi_bp->b_ops = &xfs_agi_buf_ops; in xrep_agi()
H A Dattr_repair.c602 if (bp->b_ops == NULL) in xrep_xattr_recover_block()
H A Dinode_repair.c1573 bp->b_ops = &xfs_inode_buf_ops; in xrep_dinode_core()
/linux/fs/xfs/libxfs/
H A Dxfs_dir2_data.c347 bp->b_ops = &xfs_dir3_block_buf_ops; in xfs_dir3_data_reada_verify()
348 bp->b_ops->verify_read(bp); in xfs_dir3_data_reada_verify()
352 bp->b_ops = &xfs_dir3_data_buf_ops; in xfs_dir3_data_reada_verify()
353 bp->b_ops->verify_read(bp); in xfs_dir3_data_reada_verify()
745 bp->b_ops = &xfs_dir3_data_buf_ops; in xfs_dir3_data_init()
H A Dxfs_da_btree.c352 bp->b_ops = &xfs_attr3_leaf_buf_ops; in xfs_da3_node_read_verify()
353 bp->b_ops->verify_read(bp); in xfs_da3_node_read_verify()
357 bp->b_ops = &xfs_dir3_leafn_buf_ops; in xfs_da3_node_read_verify()
358 bp->b_ops->verify_read(bp); in xfs_da3_node_read_verify()
379 bp->b_ops = &xfs_attr3_leaf_buf_ops; in xfs_da3_node_verify_struct()
380 return bp->b_ops->verify_struct(bp); in xfs_da3_node_verify_struct()
383 bp->b_ops = &xfs_dir3_leafn_buf_ops; in xfs_da3_node_verify_struct()
384 return bp->b_ops->verify_struct(bp); in xfs_da3_node_verify_struct()
489 dst->b_ops = src->b_ops; in xfs_da_buf_copy()
524 bp->b_ops = &xfs_da3_node_buf_ops; in xfs_da3_node_create()
H A Dxfs_btree_mem.c101 bp->b_ops = ops->buf_ops; in xfbtree_init_leaf_block()
H A Dxfs_sb.c1436 bp->b_ops = &xfs_sb_buf_ops; in xfs_update_secondary_sbs()
1655 bp->b_ops = &xfs_sb_buf_ops; in xfs_sb_get_secondary()
H A Dxfs_attr_leaf.c1401 bp->b_ops = &xfs_attr3_leaf_buf_ops; in xfs_attr3_leaf_create()