Lines Matching refs:sg_cnt
3149 uchar sg_cnt; /* Valid entries in block. */ member
3999 ADV_DCNT sg_cnt; /* # scatter-gather I/O requests received */ member
5556 int sg_cnt = 0; in ASC_INITFUNC() local
5601 for (sg_cnt = 0; sg_cnt < ADV_TOT_SG_BLOCK; sg_cnt++) { in ASC_INITFUNC()
5616 sg_cnt, sizeof(adv_sgblk_t), in ASC_INITFUNC()
5617 (unsigned) (sizeof(adv_sgblk_t) * sg_cnt)); in ASC_INITFUNC()
6784 ASC_STATS(scp->host, sg_cnt); in asc_build_req()
6954 ASC_STATS(scp->host, sg_cnt); in adv_build_req()
7070 sg_block->sg_cnt = i + 1; in adv_get_sglist()
7076 sg_block->sg_cnt = NO_OF_SG_PER_BLOCK; in adv_get_sglist()
9332 if (s->sg_cnt > 0) { in asc_prt_board_stats()
9335 s->sg_cnt, s->sg_elem); in asc_prt_board_stats()
9345 s->sg_elem/s->sg_cnt, in asc_prt_board_stats()
9346 ASC_TENTHS(s->sg_elem, s->sg_cnt)); in asc_prt_board_stats()
9355 (s->sg_xfer/2)/s->sg_cnt, in asc_prt_board_stats()
9356 ASC_TENTHS((s->sg_xfer/2), s->sg_cnt)); in asc_prt_board_stats()
9824 b->sg_cnt, (ulong) le32_to_cpu(b->sg_ptr)); in asc_prt_adv_sgblock()
9825 ASC_ASSERT(b->sg_cnt <= NO_OF_SG_PER_BLOCK); in asc_prt_adv_sgblock()
9828 ASC_ASSERT(b->sg_cnt == NO_OF_SG_PER_BLOCK); in asc_prt_adv_sgblock()
9830 for (i = 0; i < b->sg_cnt; i++) { in asc_prt_adv_sgblock()