Home
last modified time | relevance | path

Searched refs:b_ops (Results 1 – 19 of 19) 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.c435 bp->b_ops = NULL; in xfs_buf_find_lock()
671 if (!ops || bp->b_ops) in xfs_buf_reverify()
674 bp->b_ops = ops; in xfs_buf_reverify()
675 bp->b_ops->verify_read(bp); in xfs_buf_reverify()
708 bp->b_ops = ops; in xfs_buf_read_map()
716 ASSERT(bp->b_ops != NULL || ops == NULL); in xfs_buf_read_map()
785 bp->b_ops = ops; in xfs_buf_readahead_map()
820 bp->b_ops = ops; in xfs_buf_read_uncached()
1173 if (!bp->b_error && bp->b_ops) in __xfs_buf_ioend()
1174 bp->b_ops->verify_read(bp); in __xfs_buf_ioend()
[all …]
H A Dxfs_buf_item.c814 if (!bp->b_ops || !bp->b_ops->verify_struct) in xfs_buf_item_precommit()
819 fa = bp->b_ops->verify_struct(bp); in xfs_buf_item_precommit()
821 xfs_buf_verifier_error(bp, -EFSCORRUPTED, bp->b_ops->name, in xfs_buf_item_precommit()
H A Dxfs_buf_mem.c219 fa = bp->b_ops->verify_struct(bp); in xmbuf_finalize()
H A Dxfs_buf.h211 const struct xfs_buf_ops *b_ops; member
H A Dxfs_dquot.c401 bp->b_ops = &xfs_dquot_buf_ops; in xfs_dquot_disk_alloc()
H A Dxfs_qm.c1131 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()
/linux/fs/xfs/scrub/
H A Ddabtree.c174 bp->b_ops = &xfs_dir3_leaf1_buf_ops; in xchk_da_btree_read_verify()
175 bp->b_ops->verify_read(bp); in xchk_da_btree_read_verify()
182 bp->b_ops = &xfs_da3_node_buf_ops; in xchk_da_btree_read_verify()
183 bp->b_ops->verify_read(bp); in xchk_da_btree_read_verify()
196 bp->b_ops = &xfs_dir3_leaf1_buf_ops; in xchk_da_btree_write_verify()
197 bp->b_ops->verify_write(bp); in xchk_da_btree_write_verify()
204 bp->b_ops = &xfs_da3_node_buf_ops; in xchk_da_btree_write_verify()
205 bp->b_ops->verify_write(bp); in xchk_da_btree_write_verify()
218 bp->b_ops = &xfs_dir3_leaf1_buf_ops; in xchk_da_btree_verify()
219 return bp->b_ops->verify_struct(bp); in xchk_da_btree_verify()
[all …]
H A Dagheader_repair.c392 agf_bp->b_ops = &xfs_agf_buf_ops; in xrep_agf()
749 agfl_bp->b_ops = &xfs_agfl_buf_ops; in xrep_agfl()
1768 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.c1569 bp->b_ops = &xfs_inode_buf_ops; in xrep_dinode_core()
/linux/fs/nilfs2/
H A Ddirect.c237 ret = bmap->b_ops->bop_delete(bmap, key); in nilfs_direct_delete_and_convert()
242 if (bmap->b_ops->bop_clear != NULL) in nilfs_direct_delete_and_convert()
243 bmap->b_ops->bop_clear(bmap); in nilfs_direct_delete_and_convert()
385 bmap->b_ops = &nilfs_direct_ops; in nilfs_direct_init()
H A Dbmap.h118 const struct nilfs_bmap_operations *b_ops; member
H A Dbtree.c1813 if (btree->b_ops->bop_clear != NULL) in nilfs_btree_commit_convert_and_insert()
1814 btree->b_ops->bop_clear(btree); in nilfs_btree_commit_convert_and_insert()
2422 bmap->b_ops = &nilfs_btree_ops; in __nilfs_btree_init()
2444 bmap->b_ops = &nilfs_btree_ops_gc; in nilfs_btree_init_gc()
/linux/fs/xfs/libxfs/
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_sb.c1436 bp->b_ops = &xfs_sb_buf_ops; in xfs_update_secondary_sbs()
1658 bp->b_ops = &xfs_sb_buf_ops; in xfs_sb_get_secondary()
H A Dxfs_ag.c309 bp->b_ops = ops; in xfs_get_aghdr_buf()
H A Dxfs_ialloc.c372 fbuf->b_ops = &xfs_inode_buf_ops; in xfs_ialloc_inode_init()