Lines Matching defs:offset
100 do_sync_xor_offs(struct page *dest, unsigned int offset,
119 (src_offs ? src_offs[i] : offset);
122 dest_buf = page_address(dest) + offset;
141 dma_xor_aligned_offsets(struct dma_device *device, unsigned int offset,
146 if (!is_dma_xor_aligned(device, offset, 0, len))
162 * @offset: dst offset to start transaction
164 * @src_offs: array of source pages offset, NULL means common src/dst offset
182 async_xor_offs(struct page *dest, unsigned int offset,
197 if (unmap && dma_xor_aligned_offsets(device, offset,
211 src_offs ? src_offs[i] : offset,
216 unmap->addr[j] = dma_map_page(device->dev, dest, offset, len,
243 do_sync_xor_offs(dest, offset, src_list, src_offs,
255 * @offset: common src/dst offset to start transaction
273 async_xor(struct page *dest, struct page **src_list, unsigned int offset,
276 return async_xor_offs(dest, offset, src_list, NULL,
281 static int page_is_zero(struct page *p, unsigned int offset, size_t len)
283 return !memchr_inv(page_address(p) + offset, 0, len);
300 * @offset: des offset in pages to start transaction
302 * @src_offs: array of source pages offset, NULL means common src/det offset
315 async_xor_val_offs(struct page *dest, unsigned int offset,
331 dma_xor_aligned_offsets(device, offset, src_offs, src_cnt, len)) {
344 src_offs ? src_offs[i] : offset,
376 tx = async_xor_offs(dest, offset, src_list, src_offs,
381 *result = !page_is_zero(dest, offset, len) << SUM_CHECK_P;
396 * @offset: offset in pages to start transaction
409 async_xor_val(struct page *dest, struct page **src_list, unsigned int offset,
413 return async_xor_val_offs(dest, offset, src_list, NULL, src_cnt,