Lines Matching refs:db
40 xfs_dir2_db_to_fdb(struct xfs_da_geometry *geo, xfs_dir2_db_t db) in xfs_dir2_db_to_fdb() argument
43 (db / geo->free_max_bests); in xfs_dir2_db_to_fdb()
50 xfs_dir2_db_to_fdindex(struct xfs_da_geometry *geo, xfs_dir2_db_t db) in xfs_dir2_db_to_fdindex() argument
52 return db % geo->free_max_bests; in xfs_dir2_db_to_fdindex()
580 xfs_dir2_db_t db) in xfs_dir2_free_hdr_check() argument
587 ASSERT(hdr.firstdb <= db); in xfs_dir2_free_hdr_check()
588 ASSERT(db < hdr.firstdb + hdr.nvalid); in xfs_dir2_free_hdr_check()
591 #define xfs_dir2_free_hdr_check(dp, bp, db) argument
1270 xfs_dir2_db_t db; /* data block number */ in xfs_dir2_leafn_remove() local
1299 db = xfs_dir2_dataptr_to_db(geo, be32_to_cpu(lep->address)); in xfs_dir2_leafn_remove()
1300 ASSERT(dblk->blkno == db); in xfs_dir2_leafn_remove()
1352 fdb = xfs_dir2_db_to_fdb(geo, db); in xfs_dir2_leafn_remove()
1370 findex = xfs_dir2_db_to_fdindex(geo, db); in xfs_dir2_leafn_remove()
1380 error = xfs_dir2_shrink_inode(args, db, dbp); in xfs_dir2_leafn_remove()