Lines Matching refs:nr_bhs
470 int i_bhs, nr_bhs, err = 0;
515 nr_bhs = 0;
571 BUG_ON(!nr_bhs && (m_start != block_start));
572 BUG_ON(nr_bhs >= max_bhs);
573 bhs[nr_bhs++] = bh;
574 BUG_ON((nr_bhs >= max_bhs) && (m_end != block_end));
580 for (i_bhs = 0; i_bhs < nr_bhs; i_bhs++) {
592 for (i_bhs = 0; i_bhs < nr_bhs; i_bhs++) {
607 for (i_bhs = 0; i_bhs < nr_bhs; i_bhs++)
674 int i_bhs, nr_bhs, err = 0;
691 nr_bhs = 0;
710 BUG_ON(nr_bhs);
754 BUG_ON(!nr_bhs && (m_start != block_start));
755 BUG_ON(nr_bhs >= max_bhs);
756 bhs[nr_bhs++] = bh;
757 BUG_ON((nr_bhs >= max_bhs) && (m_end != block_end));
761 if (!nr_bhs)
773 for (i_bhs = 0; i_bhs < nr_bhs; i_bhs++) {
788 for (i_bhs = 0; i_bhs < nr_bhs; i_bhs++) {
821 for (i_bhs = 0; i_bhs < nr_bhs; i_bhs++)