Lines Matching refs:firstdb
183 unsigned int firstdb; in xfs_dir3_free_header_check() local
185 firstdb = (xfs_dir2_da_to_db(mp->m_dir_geo, fbno) - in xfs_dir3_free_header_check()
191 if (be32_to_cpu(hdr3->firstdb) != firstdb) in xfs_dir3_free_header_check()
202 if (be32_to_cpu(hdr->firstdb) != firstdb) in xfs_dir3_free_header_check()
254 to->firstdb = be32_to_cpu(from3->hdr.firstdb); in xfs_dir2_free_hdr_from_disk()
262 to->firstdb = be32_to_cpu(from->hdr.firstdb); in xfs_dir2_free_hdr_from_disk()
283 to3->hdr.firstdb = cpu_to_be32(from->firstdb); in xfs_dir2_free_hdr_to_disk()
290 to->hdr.firstdb = cpu_to_be32(from->firstdb); in xfs_dir2_free_hdr_to_disk()
586 ASSERT((hdr.firstdb % dp->i_mount->m_dir_geo->free_max_bests) == 0); in xfs_dir2_free_hdr_check()
587 ASSERT(hdr.firstdb <= db); in xfs_dir2_free_hdr_check()
588 ASSERT(db < hdr.firstdb + hdr.nvalid); in xfs_dir2_free_hdr_check()
1363 ASSERT(freehdr.firstdb == geo->free_max_bests * in xfs_dir2_leafn_remove()
1752 hdr->firstdb = (fbno - xfs_dir2_byte_to_db(args->geo, in xfs_dir2_node_add_datablk()
1824 dbno = hdr->firstdb + findex; in xfs_dir2_node_find_freeblk()
1872 dbno = hdr->firstdb + findex; in xfs_dir2_node_find_freeblk()