Lines Matching refs:geo
193 struct xfs_da_geometry *geo = mp->m_dir_geo; in xchk_dir_rec() local
227 db = xfs_dir2_dataptr_to_db(geo, ptr); in xchk_dir_rec()
228 off = xfs_dir2_dataptr_to_off(geo, ptr); in xchk_dir_rec()
229 rec_bno = xfs_dir2_db_to_da(geo, db); in xchk_dir_rec()
231 if (rec_bno >= geo->leafblk) { in xchk_dir_rec()
252 iter_off = geo->data_entry_offset; in xchk_dir_rec()
253 end = xfs_dir3_data_end_offset(geo, bp->b_addr); in xchk_dir_rec()
493 struct xfs_da_geometry *geo = sc->mp->m_dir_geo; in xchk_directory_leaf1_bestfree() local
511 ltp = xfs_dir2_leaf_tail_p(geo, leaf); in xchk_directory_leaf1_bestfree()
526 if (bestcount != xfs_dir2_byte_to_db(geo, sc->ip->i_d.di_size)) { in xchk_directory_leaf1_bestfree()
532 if (leafhdr.count > geo->leaf_max_ents) { in xchk_directory_leaf1_bestfree()
562 xfs_dir2_db_to_da(args->geo, i), in xchk_directory_leaf1_bestfree()
628 (freehdr.firstdb + i) * args->geo->fsbcount, in xchk_directory_free_bestfree()
673 args.geo = mp->m_dir_geo; in xchk_directory_blocks()
685 got.br_blockcount != args.geo->fsbcount)) { in xchk_directory_blocks()
707 args.geo->fsbcount); in xchk_directory_blocks()
709 lblk += args.geo->fsbcount) { in xchk_directory_blocks()
716 lblk = roundup(dabno, args.geo->fsbcount); in xchk_directory_blocks()
726 got.br_blockcount == args.geo->fsbcount && in xchk_directory_blocks()
771 args.geo->fsbcount); in xchk_directory_blocks()
773 lblk += args.geo->fsbcount) { in xchk_directory_blocks()
780 lblk = roundup(dabno, args.geo->fsbcount); in xchk_directory_blocks()