Home
last modified time | relevance | path

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

/fs/ntfs/
Dmft.c470 int max_bhs = vol->mft_record_size / blocksize; in ntfs_sync_mft_mirror() local
471 struct buffer_head *bhs[max_bhs]; in ntfs_sync_mft_mirror()
480 BUG_ON(!max_bhs); in ntfs_sync_mft_mirror()
578 BUG_ON(nr_bhs >= max_bhs); in ntfs_sync_mft_mirror()
580 BUG_ON((nr_bhs >= max_bhs) && (m_end != block_end)); in ntfs_sync_mft_mirror()
675 int max_bhs = vol->mft_record_size / blocksize; in write_mft_record_nolock() local
676 struct buffer_head *bhs[max_bhs]; in write_mft_record_nolock()
684 BUG_ON(!max_bhs); in write_mft_record_nolock()
761 BUG_ON(nr_bhs >= max_bhs); in write_mft_record_nolock()
763 BUG_ON((nr_bhs >= max_bhs) && (m_end != block_end)); in write_mft_record_nolock()
Daops.c932 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_CACHE_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()