Lines Matching refs:geo
155 struct xfs_da_geometry *geo = mp->m_dir_geo; in xchk_dir_rec() local
189 db = xfs_dir2_dataptr_to_db(geo, ptr); in xchk_dir_rec()
190 off = xfs_dir2_dataptr_to_off(geo, ptr); in xchk_dir_rec()
191 rec_bno = xfs_dir2_db_to_da(geo, db); in xchk_dir_rec()
193 if (rec_bno >= geo->leafblk) { in xchk_dir_rec()
214 iter_off = geo->data_entry_offset; in xchk_dir_rec()
215 end = xfs_dir3_data_end_offset(geo, bp->b_addr); in xchk_dir_rec()
460 struct xfs_da_geometry *geo = sc->mp->m_dir_geo; in xchk_directory_leaf1_bestfree() local
478 ltp = xfs_dir2_leaf_tail_p(geo, leaf); in xchk_directory_leaf1_bestfree()
503 if (leafhdr.count > geo->leaf_max_ents) { in xchk_directory_leaf1_bestfree()
533 xfs_dir2_db_to_da(args->geo, i), in xchk_directory_leaf1_bestfree()
599 (freehdr.firstdb + i) * args->geo->fsbcount, in xchk_directory_free_bestfree()
624 .geo = sc->mp->m_dir_geo, in xchk_directory_blocks()
672 args.geo->fsbcount); in xchk_directory_blocks()
674 lblk += args.geo->fsbcount) { in xchk_directory_blocks()
675 last_data_db = xfs_dir2_da_to_db(args.geo, lblk); in xchk_directory_blocks()
682 lblk = roundup(dabno, args.geo->fsbcount); in xchk_directory_blocks()
692 got.br_blockcount == args.geo->fsbcount && in xchk_directory_blocks()
737 args.geo->fsbcount); in xchk_directory_blocks()
739 lblk += args.geo->fsbcount) { in xchk_directory_blocks()
746 lblk = roundup(dabno, args.geo->fsbcount); in xchk_directory_blocks()