Lines Matching defs:buf
114 const void *buf, unsigned int len)
122 kfifo_copy_in(fifo, buf, len, fifo->in);
153 void *buf, unsigned int len)
161 kfifo_copy_out(fifo, buf, len, fifo->out);
167 void *buf, unsigned int len)
169 len = __kfifo_out_peek(fifo, buf, len);
295 static int setup_sgl_buf(struct scatterlist *sgl, void *buf,
310 page = virt_to_page(buf);
311 off = offset_in_page(buf);
318 buf += PAGE_SIZE;
319 npage = virt_to_page(buf);
438 unsigned int __kfifo_in_r(struct __kfifo *fifo, const void *buf,
446 kfifo_copy_in(fifo, buf, len, fifo->in + recsize);
453 void *buf, unsigned int len, size_t recsize, unsigned int *n)
460 kfifo_copy_out(fifo, buf, len, fifo->out + recsize);
464 unsigned int __kfifo_out_peek_r(struct __kfifo *fifo, void *buf,
472 return kfifo_out_copy_r(fifo, buf, len, recsize, &n);
476 unsigned int __kfifo_out_r(struct __kfifo *fifo, void *buf,
484 len = kfifo_out_copy_r(fifo, buf, len, recsize, &n);