Lines Matching refs:nr_bhs
465 int i_bhs, nr_bhs, err = 0; in ntfs_sync_mft_mirror() local
512 nr_bhs = 0; in ntfs_sync_mft_mirror()
568 BUG_ON(!nr_bhs && (m_start != block_start)); in ntfs_sync_mft_mirror()
569 BUG_ON(nr_bhs >= max_bhs); in ntfs_sync_mft_mirror()
570 bhs[nr_bhs++] = bh; in ntfs_sync_mft_mirror()
571 BUG_ON((nr_bhs >= max_bhs) && (m_end != block_end)); in ntfs_sync_mft_mirror()
577 for (i_bhs = 0; i_bhs < nr_bhs; i_bhs++) { in ntfs_sync_mft_mirror()
589 for (i_bhs = 0; i_bhs < nr_bhs; i_bhs++) { in ntfs_sync_mft_mirror()
604 for (i_bhs = 0; i_bhs < nr_bhs; i_bhs++) in ntfs_sync_mft_mirror()
671 int i_bhs, nr_bhs, err = 0; in write_mft_record_nolock() local
692 nr_bhs = 0; in write_mft_record_nolock()
711 BUG_ON(nr_bhs); in write_mft_record_nolock()
755 BUG_ON(!nr_bhs && (m_start != block_start)); in write_mft_record_nolock()
756 BUG_ON(nr_bhs >= max_bhs); in write_mft_record_nolock()
757 bhs[nr_bhs++] = bh; in write_mft_record_nolock()
758 BUG_ON((nr_bhs >= max_bhs) && (m_end != block_end)); in write_mft_record_nolock()
762 if (!nr_bhs) in write_mft_record_nolock()
774 for (i_bhs = 0; i_bhs < nr_bhs; i_bhs++) { in write_mft_record_nolock()
789 for (i_bhs = 0; i_bhs < nr_bhs; i_bhs++) { in write_mft_record_nolock()
822 for (i_bhs = 0; i_bhs < nr_bhs; i_bhs++) in write_mft_record_nolock()