Lines Matching refs:num_descs
110 int num_descs, idx, i; in ioat_dma_prep_memcpy_lock() local
115 num_descs = ioat_xferlen_to_descs(ioat_chan, len); in ioat_dma_prep_memcpy_lock()
116 if (likely(num_descs) && in ioat_dma_prep_memcpy_lock()
117 ioat_check_space_lock(ioat_chan, num_descs) == 0) in ioat_dma_prep_memcpy_lock()
137 } while (++i < num_descs); in ioat_dma_prep_memcpy_lock()
164 int num_descs, with_ext, idx, i; in __ioat_prep_xor_lock() local
170 num_descs = ioat_xferlen_to_descs(ioat_chan, len); in __ioat_prep_xor_lock()
176 num_descs *= 2; in __ioat_prep_xor_lock()
185 if (likely(num_descs) && in __ioat_prep_xor_lock()
186 ioat_check_space_lock(ioat_chan, num_descs+1) == 0) in __ioat_prep_xor_lock()
220 } while ((i += 1 + with_ext) < num_descs); in __ioat_prep_xor_lock()
355 int i, s, idx, with_ext, num_descs; in __ioat_prep_pq_lock() local
364 num_descs = ioat_xferlen_to_descs(ioat_chan, len); in __ioat_prep_pq_lock()
372 num_descs *= 2; in __ioat_prep_pq_lock()
381 if (likely(num_descs) && in __ioat_prep_pq_lock()
382 ioat_check_space_lock(ioat_chan, num_descs + cb32) == 0) in __ioat_prep_pq_lock()
430 } while ((i += 1 + with_ext) < num_descs); in __ioat_prep_pq_lock()
475 int i, s, idx, num_descs; in __ioat_prep_pq16_lock() local
482 num_descs = ioat_xferlen_to_descs(ioat_chan, len); in __ioat_prep_pq16_lock()
488 if (num_descs && ioat_check_space_lock(ioat_chan, num_descs) == 0) in __ioat_prep_pq16_lock()
544 } while (++i < num_descs); in __ioat_prep_pq16_lock()