Lines Matching defs:size
44 * size_t size;
46 * size = itcw_calc_size(1, 2, 0);
47 * buffer = kmalloc(size, GFP_KERNEL | GFP_DMA);
50 * itcw = itcw_init(buffer, size, ITCW_OP_READ, 1, 2, 0);
81 * itcw_calc_size - return the size of an itcw with the given parameters
89 * given parameters and assuming tccbs with maximum size.
91 * Note that the resulting size also contains bytes needed for alignment
120 * due to it's own size.
157 * @size: number of bytes in buffer
179 struct itcw *itcw_init(void *buffer, size_t size, int op, int intrg,
190 end = start + size;
191 if ((virt_to_phys(buffer) + size) > (1 << 31))
193 memset(buffer, 0, size);