Lines Matching refs:geo

410 xfs_dir2_max_leaf_ents(struct xfs_da_geometry *geo)  in xfs_dir2_max_leaf_ents()  argument
412 return (geo->blksize - sizeof(struct xfs_dir2_leaf_hdr)) / in xfs_dir2_max_leaf_ents()
423 xfs_dir3_max_leaf_ents(struct xfs_da_geometry *geo) in xfs_dir3_max_leaf_ents() argument
425 return (geo->blksize - sizeof(struct xfs_dir3_leaf_hdr)) / in xfs_dir3_max_leaf_ents()
576 xfs_dir2_free_max_bests(struct xfs_da_geometry *geo) in xfs_dir2_free_max_bests() argument
578 return (geo->blksize - sizeof(struct xfs_dir2_free_hdr)) / in xfs_dir2_free_max_bests()
592 xfs_dir2_db_to_fdb(struct xfs_da_geometry *geo, xfs_dir2_db_t db) in xfs_dir2_db_to_fdb() argument
594 return xfs_dir2_byte_to_db(geo, XFS_DIR2_FREE_OFFSET) + in xfs_dir2_db_to_fdb()
595 (db / xfs_dir2_free_max_bests(geo)); in xfs_dir2_db_to_fdb()
602 xfs_dir2_db_to_fdindex(struct xfs_da_geometry *geo, xfs_dir2_db_t db) in xfs_dir2_db_to_fdindex() argument
604 return db % xfs_dir2_free_max_bests(geo); in xfs_dir2_db_to_fdindex()
608 xfs_dir3_free_max_bests(struct xfs_da_geometry *geo) in xfs_dir3_free_max_bests() argument
610 return (geo->blksize - sizeof(struct xfs_dir3_free_hdr)) / in xfs_dir3_free_max_bests()
624 xfs_dir3_db_to_fdb(struct xfs_da_geometry *geo, xfs_dir2_db_t db) in xfs_dir3_db_to_fdb() argument
626 return xfs_dir2_byte_to_db(geo, XFS_DIR2_FREE_OFFSET) + in xfs_dir3_db_to_fdb()
627 (db / xfs_dir3_free_max_bests(geo)); in xfs_dir3_db_to_fdb()
634 xfs_dir3_db_to_fdindex(struct xfs_da_geometry *geo, xfs_dir2_db_t db) in xfs_dir3_db_to_fdindex() argument
636 return db % xfs_dir3_free_max_bests(geo); in xfs_dir3_db_to_fdindex()