Home
last modified time | relevance | path

Searched refs:max_bhs (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/fs/ntfs/
Dmft.c459 int max_bhs = vol->mft_record_size / blocksize; in ntfs_sync_mft_mirror() local
469 BUG_ON(!max_bhs); in ntfs_sync_mft_mirror()
470 if (WARN_ON(max_bhs > MAX_BHS)) in ntfs_sync_mft_mirror()
569 BUG_ON(nr_bhs >= max_bhs); in ntfs_sync_mft_mirror()
571 BUG_ON((nr_bhs >= max_bhs) && (m_end != block_end)); in ntfs_sync_mft_mirror()
666 int max_bhs = vol->mft_record_size / blocksize; in write_mft_record_nolock() local
675 BUG_ON(!max_bhs); in write_mft_record_nolock()
677 if (WARN_ON(max_bhs > MAX_BHS)) { in write_mft_record_nolock()
756 BUG_ON(nr_bhs >= max_bhs); in write_mft_record_nolock()
758 BUG_ON((nr_bhs >= max_bhs) && (m_end != block_end)); in write_mft_record_nolock()
Daops.c914 int i, nr_locked_nis, nr_recs, nr_bhs, max_bhs, bhs_per_rec, err, err2; in ntfs_write_mst_block() local
937 max_bhs = PAGE_SIZE / bh_size; in ntfs_write_mst_block()
938 BUG_ON(!max_bhs); in ntfs_write_mst_block()
939 BUG_ON(max_bhs > MAX_BUF_PER_PAGE); in ntfs_write_mst_block()
1095 BUG_ON(nr_bhs >= max_bhs); in ntfs_write_mst_block()