Lines Matching defs:buffer
25 * contiguous buffer provided by the user.
43 * void *buffer;
47 * buffer = kmalloc(size, GFP_KERNEL | GFP_DMA);
48 * if (!buffer)
50 * itcw = itcw_init(buffer, size, ITCW_OP_READ, 1, 2, 0);
156 * @buffer: address of buffer to use for data structures
157 * @size: number of bytes in buffer
166 * Prepare the specified buffer to be used as an incremental tcw, i.e. a
168 * successive calls to other helper functions. Note: the buffer needs to be
179 struct itcw *itcw_init(void *buffer, size_t size, int op, int intrg,
189 start = (addr_t) buffer;
191 if ((virt_to_phys(buffer) + size) > (1 << 31))
193 memset(buffer, 0, size);