Home
last modified time | relevance | path

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

/Linux-v4.19/fs/ntfs/
Dmft.c473 int max_bhs = vol->mft_record_size / blocksize; in ntfs_sync_mft_mirror() local
483 BUG_ON(!max_bhs); in ntfs_sync_mft_mirror()
484 if (WARN_ON(max_bhs > MAX_BHS)) in ntfs_sync_mft_mirror()
583 BUG_ON(nr_bhs >= max_bhs); in ntfs_sync_mft_mirror()
585 BUG_ON((nr_bhs >= max_bhs) && (m_end != block_end)); in ntfs_sync_mft_mirror()
680 int max_bhs = vol->mft_record_size / blocksize; in write_mft_record_nolock() local
689 BUG_ON(!max_bhs); in write_mft_record_nolock()
691 if (WARN_ON(max_bhs > MAX_BHS)) { in write_mft_record_nolock()
770 BUG_ON(nr_bhs >= max_bhs); in write_mft_record_nolock()
772 BUG_ON((nr_bhs >= max_bhs) && (m_end != block_end)); in write_mft_record_nolock()
Daops.c929 int i, nr_locked_nis, nr_recs, nr_bhs, max_bhs, bhs_per_rec, err, err2; in ntfs_write_mst_block() local
952 max_bhs = PAGE_SIZE / bh_size; in ntfs_write_mst_block()
953 BUG_ON(!max_bhs); in ntfs_write_mst_block()
954 BUG_ON(max_bhs > MAX_BUF_PER_PAGE); in ntfs_write_mst_block()
1110 BUG_ON(nr_bhs >= max_bhs); in ntfs_write_mst_block()