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