Home
last modified time | relevance | path

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

12

/fs/nilfs2/
Dbmap.c69 ret = bmap->b_ops->bop_lookup(bmap, key, level, ptrp); in nilfs_bmap_lookup_at_level()
100 ret = bmap->b_ops->bop_lookup_contig(bmap, key, ptrp, maxblocks); in nilfs_bmap_lookup_contig()
112 if (bmap->b_ops->bop_check_insert != NULL) { in nilfs_bmap_do_insert()
113 ret = bmap->b_ops->bop_check_insert(bmap, key); in nilfs_bmap_do_insert()
115 n = bmap->b_ops->bop_gather_data( in nilfs_bmap_do_insert()
129 return bmap->b_ops->bop_insert(bmap, key, ptr); in nilfs_bmap_do_insert()
167 if (bmap->b_ops->bop_check_delete != NULL) { in nilfs_bmap_do_delete()
168 ret = bmap->b_ops->bop_check_delete(bmap, key); in nilfs_bmap_do_delete()
170 n = bmap->b_ops->bop_gather_data( in nilfs_bmap_do_delete()
184 return bmap->b_ops->bop_delete(bmap, key); in nilfs_bmap_do_delete()
[all …]
Ddirect.c232 ret = bmap->b_ops->bop_delete(bmap, key); in nilfs_direct_delete_and_convert()
237 if (bmap->b_ops->bop_clear != NULL) in nilfs_direct_delete_and_convert()
238 bmap->b_ops->bop_clear(bmap); in nilfs_direct_delete_and_convert()
376 bmap->b_ops = &nilfs_direct_ops; in nilfs_direct_init()
Dbmap.h106 const struct nilfs_bmap_operations *b_ops; member
Dbtree.c1808 if (btree->b_ops->bop_clear != NULL) in nilfs_btree_commit_convert_and_insert()
1809 btree->b_ops->bop_clear(btree); in nilfs_btree_commit_convert_and_insert()
2405 bmap->b_ops = &nilfs_btree_ops; in __nilfs_btree_init()
2427 bmap->b_ops = &nilfs_btree_ops_gc; in nilfs_btree_init_gc()
/fs/xfs/
Dxfs_buf_item_recover.c233 bp->b_ops = &xfs_bnobt_buf_ops; in xlog_recover_validate_buf_type()
237 bp->b_ops = &xfs_cntbt_buf_ops; in xlog_recover_validate_buf_type()
241 bp->b_ops = &xfs_inobt_buf_ops; in xlog_recover_validate_buf_type()
245 bp->b_ops = &xfs_finobt_buf_ops; in xlog_recover_validate_buf_type()
249 bp->b_ops = &xfs_bmbt_buf_ops; in xlog_recover_validate_buf_type()
252 bp->b_ops = &xfs_rmapbt_buf_ops; in xlog_recover_validate_buf_type()
255 bp->b_ops = &xfs_refcountbt_buf_ops; in xlog_recover_validate_buf_type()
267 bp->b_ops = &xfs_agf_buf_ops; in xlog_recover_validate_buf_type()
274 bp->b_ops = &xfs_agfl_buf_ops; in xlog_recover_validate_buf_type()
281 bp->b_ops = &xfs_agi_buf_ops; in xlog_recover_validate_buf_type()
[all …]
Dxfs_buf.c669 bp->b_ops = NULL; in xfs_buf_find()
802 if (!ops || bp->b_ops) in xfs_buf_reverify()
805 bp->b_ops = ops; in xfs_buf_reverify()
806 bp->b_ops->verify_read(bp); in xfs_buf_reverify()
837 bp->b_ops = ops; in xfs_buf_read_map()
855 ASSERT(bp->b_ops != NULL || ops == NULL); in xfs_buf_read_map()
933 bp->b_ops = ops; in xfs_buf_read_uncached()
1329 if (!bp->b_error && bp->b_ops) in xfs_buf_ioend()
1330 bp->b_ops->verify_read(bp); in xfs_buf_ioend()
1578 if (bp->b_ops) { in _xfs_buf_ioapply()
[all …]
Dxfs_trans_buf.c264 ASSERT(bp->b_ops != NULL); in xfs_trans_read_buf_map()
284 ASSERT(bp->b_ops != NULL || ops == NULL); in xfs_trans_read_buf_map()
313 ASSERT(bp->b_ops != NULL || ops == NULL); in xfs_trans_read_buf_map()
Dxfs_error.c365 fa, bp->b_ops->name, bp->b_bn); in xfs_buf_corruption_error()
396 fa, bp->b_ops->name, bp->b_bn, name); in xfs_buf_verifier_error()
Dxfs_buf.h192 const struct xfs_buf_ops *b_ops; member
Dxfs_symlink.c282 bp->b_ops = &xfs_symlink_buf_ops; in xfs_symlink()
Dxfs_mount.c351 bp->b_ops = &xfs_sb_buf_ops; in xfs_readsb()
/fs/xfs/scrub/
Ddabtree.c155 bp->b_ops = &xfs_dir3_leaf1_buf_ops; in xchk_da_btree_read_verify()
156 bp->b_ops->verify_read(bp); in xchk_da_btree_read_verify()
163 bp->b_ops = &xfs_da3_node_buf_ops; in xchk_da_btree_read_verify()
164 bp->b_ops->verify_read(bp); in xchk_da_btree_read_verify()
177 bp->b_ops = &xfs_dir3_leaf1_buf_ops; in xchk_da_btree_write_verify()
178 bp->b_ops->verify_write(bp); in xchk_da_btree_write_verify()
185 bp->b_ops = &xfs_da3_node_buf_ops; in xchk_da_btree_write_verify()
186 bp->b_ops->verify_write(bp); in xchk_da_btree_write_verify()
199 bp->b_ops = &xfs_dir3_leaf1_buf_ops; in xchk_da_btree_verify()
200 return bp->b_ops->verify_struct(bp); in xchk_da_btree_verify()
[all …]
Drepair.c361 bp->b_ops = ops; in xrep_init_btblock()
748 if (bp->b_ops) { in xrep_findroot_block()
749 if (bp->b_ops != fab->buf_ops) in xrep_findroot_block()
761 bp->b_ops = fab->buf_ops; in xrep_findroot_block()
764 bp->b_ops = NULL; in xrep_findroot_block()
Dcommon.c807 if (bp->b_ops == NULL) { in xchk_buffer_recheck()
811 if (bp->b_ops->verify_struct == NULL) { in xchk_buffer_recheck()
815 fa = bp->b_ops->verify_struct(bp); in xchk_buffer_recheck()
Dagheader_repair.c378 agf_bp->b_ops = &xfs_agf_buf_ops; in xrep_agf()
664 agfl_bp->b_ops = &xfs_agfl_buf_ops; in xrep_agfl()
910 agi_bp->b_ops = &xfs_agi_buf_ops; in xrep_agi()
/fs/xfs/libxfs/
Dxfs_symlink_remote.c55 bp->b_ops = &xfs_symlink_buf_ops; in xfs_symlink_hdr_set()
177 bp->b_ops = NULL; in xfs_symlink_local_to_remote()
190 bp->b_ops = &xfs_symlink_buf_ops; in xfs_symlink_local_to_remote()
Dxfs_da_btree.c293 bp->b_ops = &xfs_attr3_leaf_buf_ops; in xfs_da3_node_read_verify()
294 bp->b_ops->verify_read(bp); in xfs_da3_node_read_verify()
298 bp->b_ops = &xfs_dir3_leafn_buf_ops; in xfs_da3_node_read_verify()
299 bp->b_ops->verify_read(bp); in xfs_da3_node_read_verify()
320 bp->b_ops = &xfs_attr3_leaf_buf_ops; in xfs_da3_node_verify_struct()
321 return bp->b_ops->verify_struct(bp); in xfs_da3_node_verify_struct()
324 bp->b_ops = &xfs_dir3_leafn_buf_ops; in xfs_da3_node_verify_struct()
325 return bp->b_ops->verify_struct(bp); in xfs_da3_node_verify_struct()
441 bp->b_ops = &xfs_da3_node_buf_ops; in xfs_da3_node_create()
718 bp->b_ops = blk1->bp->b_ops; in xfs_da3_root_split()
[all …]
Dxfs_dir2_data.c325 bp->b_ops = &xfs_dir3_block_buf_ops; in xfs_dir3_data_reada_verify()
326 bp->b_ops->verify_read(bp); in xfs_dir3_data_reada_verify()
330 bp->b_ops = &xfs_dir3_data_buf_ops; in xfs_dir3_data_reada_verify()
331 bp->b_ops->verify_read(bp); in xfs_dir3_data_reada_verify()
713 bp->b_ops = &xfs_dir3_data_buf_ops; in xfs_dir3_data_init()
Dxfs_dir2_leaf.c332 bp->b_ops = &xfs_dir3_leaf1_buf_ops; in xfs_dir3_leaf_init()
335 bp->b_ops = &xfs_dir3_leafn_buf_ops; in xfs_dir3_leaf_init()
453 dbp->b_ops = &xfs_dir3_data_buf_ops; in xfs_dir2_block_to_leaf()
1766 lbp->b_ops = &xfs_dir3_leaf1_buf_ops; in xfs_dir2_node_to_leaf()
Dxfs_dir2_node.c335 bp->b_ops = &xfs_dir3_free_buf_ops; in xfs_dir3_free_get_buf()
481 lbp->b_ops = &xfs_dir3_leafn_buf_ops; in xfs_dir2_leaf_to_node()
897 curbp->b_ops = &xfs_dir3_data_buf_ops; in xfs_dir2_leafn_lookup_for_entry()
912 curbp->b_ops = &xfs_dir3_data_buf_ops; in xfs_dir2_leafn_lookup_for_entry()
Dxfs_sb.c1050 bp->b_ops = &xfs_sb_buf_ops; in xfs_update_secondary_sbs()
1241 bp->b_ops = &xfs_sb_buf_ops; in xfs_sb_get_secondary()
Dxfs_alloc_btree.c317 if (bp->b_ops->magic[0] == cpu_to_be32(XFS_ABTC_MAGIC)) in xfs_allocbt_verify()
Dxfs_attr_remote.c518 bp->b_ops = &xfs_attr3_rmt_buf_ops; in xfs_attr_rmtval_set_value()
Dxfs_ag.c44 bp->b_ops = ops; in xfs_get_aghdr_buf()
Dxfs_attr_leaf.c1204 bp2->b_ops = bp1->b_ops; in xfs_attr3_leaf_to_node()
1263 bp->b_ops = &xfs_attr3_leaf_buf_ops; in xfs_attr3_leaf_create()

12