Lines Matching refs:num_descs
122 int num_descs, idx, i; in ioat_dma_prep_memcpy_lock() local
127 num_descs = ioat_xferlen_to_descs(ioat_chan, len); in ioat_dma_prep_memcpy_lock()
128 if (likely(num_descs) && in ioat_dma_prep_memcpy_lock()
129 ioat_check_space_lock(ioat_chan, num_descs) == 0) in ioat_dma_prep_memcpy_lock()
149 } while (++i < num_descs); in ioat_dma_prep_memcpy_lock()
176 int num_descs, with_ext, idx, i; in __ioat_prep_xor_lock() local
182 num_descs = ioat_xferlen_to_descs(ioat_chan, len); in __ioat_prep_xor_lock()
188 num_descs *= 2; in __ioat_prep_xor_lock()
197 if (likely(num_descs) && in __ioat_prep_xor_lock()
198 ioat_check_space_lock(ioat_chan, num_descs+1) == 0) in __ioat_prep_xor_lock()
232 } while ((i += 1 + with_ext) < num_descs); in __ioat_prep_xor_lock()
367 int i, s, idx, with_ext, num_descs; in __ioat_prep_pq_lock() local
376 num_descs = ioat_xferlen_to_descs(ioat_chan, len); in __ioat_prep_pq_lock()
384 num_descs *= 2; in __ioat_prep_pq_lock()
393 if (likely(num_descs) && in __ioat_prep_pq_lock()
394 ioat_check_space_lock(ioat_chan, num_descs + cb32) == 0) in __ioat_prep_pq_lock()
442 } while ((i += 1 + with_ext) < num_descs); in __ioat_prep_pq_lock()
487 int i, s, idx, num_descs; in __ioat_prep_pq16_lock() local
494 num_descs = ioat_xferlen_to_descs(ioat_chan, len); in __ioat_prep_pq16_lock()
500 if (num_descs && ioat_check_space_lock(ioat_chan, num_descs) == 0) in __ioat_prep_pq16_lock()
556 } while (++i < num_descs); in __ioat_prep_pq16_lock()