Lines Matching refs:copy_size
247 * @copy_size: Maximum number of bytes to "extract" from the buffer
255 * @copy_size,
256 * to calculate the size to "extract" from the buffer. The @copy_size
259 * or not aligned. While the @copy_size is used to calculate the portion
262 * @alignment=8 and @copy_size=64 will work okay on AMD Opteron boxes.
264 * Note: @copy_size should be a multiple of @alignment. In many practical
265 * cases @copy_size and @alignment will probably be equal.
271 int copy_size)
280 if (size > copy_size) {
281 misaligned_size = (int)(dma_pointer & (copy_size - 1));
282 misaligned_size = copy_size - misaligned_size;