Lines Matching refs:nr_bhs
476 int i_bhs, nr_bhs, err = 0; in ntfs_sync_mft_mirror() local
521 nr_bhs = 0; in ntfs_sync_mft_mirror()
577 BUG_ON(!nr_bhs && (m_start != block_start)); in ntfs_sync_mft_mirror()
578 BUG_ON(nr_bhs >= max_bhs); in ntfs_sync_mft_mirror()
579 bhs[nr_bhs++] = bh; in ntfs_sync_mft_mirror()
580 BUG_ON((nr_bhs >= max_bhs) && (m_end != block_end)); in ntfs_sync_mft_mirror()
586 for (i_bhs = 0; i_bhs < nr_bhs; i_bhs++) { in ntfs_sync_mft_mirror()
598 for (i_bhs = 0; i_bhs < nr_bhs; i_bhs++) { in ntfs_sync_mft_mirror()
613 for (i_bhs = 0; i_bhs < nr_bhs; i_bhs++) in ntfs_sync_mft_mirror()
680 int i_bhs, nr_bhs, err = 0; in write_mft_record_nolock() local
697 nr_bhs = 0; in write_mft_record_nolock()
716 BUG_ON(nr_bhs); in write_mft_record_nolock()
760 BUG_ON(!nr_bhs && (m_start != block_start)); in write_mft_record_nolock()
761 BUG_ON(nr_bhs >= max_bhs); in write_mft_record_nolock()
762 bhs[nr_bhs++] = bh; in write_mft_record_nolock()
763 BUG_ON((nr_bhs >= max_bhs) && (m_end != block_end)); in write_mft_record_nolock()
767 if (!nr_bhs) in write_mft_record_nolock()
779 for (i_bhs = 0; i_bhs < nr_bhs; i_bhs++) { in write_mft_record_nolock()
794 for (i_bhs = 0; i_bhs < nr_bhs; i_bhs++) { in write_mft_record_nolock()
827 for (i_bhs = 0; i_bhs < nr_bhs; i_bhs++) in write_mft_record_nolock()