Lines Matching refs:nr_bhs
479 int i_bhs, nr_bhs, err = 0; in ntfs_sync_mft_mirror() local
526 nr_bhs = 0; in ntfs_sync_mft_mirror()
582 BUG_ON(!nr_bhs && (m_start != block_start)); in ntfs_sync_mft_mirror()
583 BUG_ON(nr_bhs >= max_bhs); in ntfs_sync_mft_mirror()
584 bhs[nr_bhs++] = bh; in ntfs_sync_mft_mirror()
585 BUG_ON((nr_bhs >= max_bhs) && (m_end != block_end)); in ntfs_sync_mft_mirror()
591 for (i_bhs = 0; i_bhs < nr_bhs; i_bhs++) { in ntfs_sync_mft_mirror()
603 for (i_bhs = 0; i_bhs < nr_bhs; i_bhs++) { in ntfs_sync_mft_mirror()
618 for (i_bhs = 0; i_bhs < nr_bhs; i_bhs++) in ntfs_sync_mft_mirror()
685 int i_bhs, nr_bhs, err = 0; in write_mft_record_nolock() local
706 nr_bhs = 0; in write_mft_record_nolock()
725 BUG_ON(nr_bhs); in write_mft_record_nolock()
769 BUG_ON(!nr_bhs && (m_start != block_start)); in write_mft_record_nolock()
770 BUG_ON(nr_bhs >= max_bhs); in write_mft_record_nolock()
771 bhs[nr_bhs++] = bh; in write_mft_record_nolock()
772 BUG_ON((nr_bhs >= max_bhs) && (m_end != block_end)); in write_mft_record_nolock()
776 if (!nr_bhs) in write_mft_record_nolock()
788 for (i_bhs = 0; i_bhs < nr_bhs; i_bhs++) { in write_mft_record_nolock()
803 for (i_bhs = 0; i_bhs < nr_bhs; i_bhs++) { in write_mft_record_nolock()
836 for (i_bhs = 0; i_bhs < nr_bhs; i_bhs++) in write_mft_record_nolock()