Lines Matching refs:offset

100 do_sync_xor_offs(struct page *dest, unsigned int offset,  in do_sync_xor_offs()  argument
119 (src_offs ? src_offs[i] : offset); in do_sync_xor_offs()
122 dest_buf = page_address(dest) + offset; in do_sync_xor_offs()
141 dma_xor_aligned_offsets(struct dma_device *device, unsigned int offset, in dma_xor_aligned_offsets() argument
146 if (!is_dma_xor_aligned(device, offset, 0, len)) in dma_xor_aligned_offsets()
182 async_xor_offs(struct page *dest, unsigned int offset, in async_xor_offs() argument
197 if (unmap && dma_xor_aligned_offsets(device, offset, in async_xor_offs()
211 src_offs ? src_offs[i] : offset, in async_xor_offs()
216 unmap->addr[j] = dma_map_page(device->dev, dest, offset, len, in async_xor_offs()
243 do_sync_xor_offs(dest, offset, src_list, src_offs, in async_xor_offs()
273 async_xor(struct page *dest, struct page **src_list, unsigned int offset, in async_xor() argument
276 return async_xor_offs(dest, offset, src_list, NULL, in async_xor()
281 static int page_is_zero(struct page *p, unsigned int offset, size_t len) in page_is_zero() argument
283 return !memchr_inv(page_address(p) + offset, 0, len); in page_is_zero()
315 async_xor_val_offs(struct page *dest, unsigned int offset, in async_xor_val_offs() argument
331 dma_xor_aligned_offsets(device, offset, src_offs, src_cnt, len)) { in async_xor_val_offs()
344 src_offs ? src_offs[i] : offset, in async_xor_val_offs()
376 tx = async_xor_offs(dest, offset, src_list, src_offs, in async_xor_val_offs()
381 *result = !page_is_zero(dest, offset, len) << SUM_CHECK_P; in async_xor_val_offs()