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.c456 bp->b_ops = NULL; in xfs_buf_find_lock()
679 if (ops && !bp->b_ops) { in xfs_buf_read_map()
680 bp->b_ops = ops; in xfs_buf_read_map()
681 bp->b_ops->verify_read(bp); in xfs_buf_read_map()
697 bp->b_ops = ops; in xfs_buf_read_map()
778 bp->b_ops = ops; in xfs_buf_readahead_map()
818 bp->b_ops = ops; in xfs_buf_read_uncached()
1140 if (!bp->b_error && bp->b_ops) in xfs_buf_ioend()
1141 bp->b_ops->verify_read(bp); in xfs_buf_ioend()
1349 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.c415 bp->b_ops = &xfs_dquot_buf_ops; in xfs_dquot_disk_alloc()
H A Dxfs_qm.c1161 bp->b_ops = &xfs_dquot_buf_ops; in xfs_qm_reset_dqcounts_buf()
H A Dxfs_rtalloc.c848 rtsb_bp->b_ops = &xfs_rtsb_buf_ops; in xfs_growfs_rt_init_rtsb()
H A Dxfs_inode.c1780 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 Drepair.c569 * memory from some other caller it will already have b_ops assigned. in xrep_findroot_block()
571 * call, the buffer won't have b_ops but it should be clean and ready in xrep_findroot_block()
576 * left in memory with NULL b_ops. This shouldn't be a problem unless in xrep_findroot_block()
604 if (bp->b_ops) { in xrep_findroot_block()
605 if (bp->b_ops != fab->buf_ops) in xrep_findroot_block()
613 * Read verifiers can reference b_ops, so we set the pointer in xrep_findroot_block()
617 bp->b_ops = fab->buf_ops; in xrep_findroot_block()
620 bp->b_ops = NULL; in xrep_findroot_block()
626 * Some read verifiers will (re)set b_ops, so we must be in xrep_findroot_block()
627 * careful not to change b_ops afte in xrep_findroot_block()
[all...]
H A Drtsummary_repair.c
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()
346 bp->b_ops = &xfs_dquot_buf_ops; in xrep_quota_block()
H A Drtbitmap_repair.c
H A Dagheader_repair.c415 agf_bp->b_ops = &xfs_agf_buf_ops; in xrep_agf()
786 agfl_bp->b_ops = &xfs_agfl_buf_ops; in xrep_agfl()
1914 ragi->agi_bp->b_ops = &xfs_agi_buf_ops; in xrep_agi()
H A Dattr_repair.c615 if (bp->b_ops == NULL) in xrep_xattr_insert_rec()
H A Dinode_repair.c1615 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()
[all...]
H A Dxfs_btree_mem.c99 bp->b_ops = ops->buf_ops; in xfbtree_init_leaf_block()
H A Dxfs_sb.c1435 bp->b_ops = &xfs_sb_buf_ops; in xfs_update_secondary_sbs()
1614 bp->b_ops = &xfs_sb_buf_ops;
H A Dxfs_attr_leaf.c1414 bp->b_ops = &xfs_attr3_leaf_buf_ops; in xfs_attr3_leaf_create()