Lines Matching refs:bc_ops
50 if (cur->bc_ops->type == XFS_BTREE_TYPE_INODE) in __xchk_btree_process_error()
94 if (cur->bc_ops->type == XFS_BTREE_TYPE_INODE) in __xchk_btree_set_corrupt()
156 !cur->bc_ops->recs_inorder(cur, &bs->lastrec, rec)) in xchk_btree_rec()
158 memcpy(&bs->lastrec, rec, cur->bc_ops->rec_len); in xchk_btree_rec()
165 cur->bc_ops->init_key_from_rec(&key, rec); in xchk_btree_rec()
171 if (!(cur->bc_ops->geom_flags & XFS_BTGEO_OVERLAPPING)) in xchk_btree_rec()
175 cur->bc_ops->init_high_key_from_rec(&hkey, rec); in xchk_btree_rec()
204 !cur->bc_ops->keys_inorder(cur, &bs->lastkey[level - 1].key, key)) in xchk_btree_key()
206 memcpy(&bs->lastkey[level - 1].key, key, cur->bc_ops->key_len); in xchk_btree_key()
218 if (!(cur->bc_ops->geom_flags & XFS_BTGEO_OVERLAPPING)) in xchk_btree_key()
240 if (bs->cur->bc_ops->type == XFS_BTREE_TYPE_INODE && in xchk_btree_ptr_ok()
387 init_sa = bs->cur->bc_ops->type != XFS_BTREE_TYPE_AG; in xchk_btree_check_block_owner()
401 if (!bs->sc->sa.bno_cur && xfs_btree_is_bno(bs->cur->bc_ops)) in xchk_btree_check_block_owner()
405 if (!bs->sc->sa.rmap_cur && xfs_btree_is_rmap(bs->cur->bc_ops)) in xchk_btree_check_block_owner()
431 if (cur->bc_ops->type != XFS_BTREE_TYPE_INODE) in xchk_btree_check_owner()
444 if (xfs_btree_is_bno(cur->bc_ops) || xfs_btree_is_rmap(cur->bc_ops)) { in xchk_btree_check_owner()
477 if (xfs_btree_is_bmap(bs->cur->bc_ops) && in xchk_btree_check_iroot_minrecs()
500 if (numrecs >= cur->bc_ops->get_minrecs(cur, level)) in xchk_btree_check_minrecs()
510 if (cur->bc_ops->type == XFS_BTREE_TYPE_INODE && in xchk_btree_check_minrecs()
517 root_maxrecs = cur->bc_ops->get_dmaxrecs(cur, root_level); in xchk_btree_check_minrecs()
564 if (!(cur->bc_ops->geom_flags & XFS_BTGEO_OVERLAPPING)) in xchk_btree_block_check_keys()
659 if (!(cur->bc_ops->geom_flags & XFS_BTGEO_OVERLAPPING)) in xchk_btree_block_keys()