Lines Matching refs:cnt
924 int cnt = ioc->saved_cnt;
925 while (cnt--) {
1025 int cnt = sg_dma_len(startsg);
1032 (unsigned long) sg_dma_address(startsg), cnt,
1038 (unsigned long) sg_dma_address(startsg), cnt,
1058 if (cnt) {
1063 ** one DMA stream, *add* cnt to dma_len.
1065 sg_dma_len(dma_sg) += cnt;
1066 cnt += dma_offset;
1068 cnt = ROUNDUP(cnt, IOVP_SIZE);
1070 ioc->msg_pages += cnt >> IOVP_SHIFT;
1075 cnt -= IOVP_SIZE;
1077 } while (cnt > 0);