Lines Matching refs:copy_size
252 * @copy_size: Maximum number of bytes to "extract" from the buffer
260 * @copy_size,
261 * to calculate the size to "extract" from the buffer. The @copy_size
264 * or not aligned. While the @copy_size is used to calculate the portion
267 * @alignment=8 and @copy_size=64 will work okay on AMD Opteron boxes.
269 * Note: @copy_size should be a multiple of @alignment. In many practical
270 * cases @copy_size and @alignment will probably be equal.
276 int copy_size)
285 if (size > copy_size) {
286 misaligned_size = (int)(dma_pointer & (copy_size - 1));
287 misaligned_size = copy_size - misaligned_size;