Lines Matching refs:out

21 	return (fifo->mask + 1) - (fifo->in - fifo->out);  in kfifo_unused()
34 fifo->out = 0; in __kfifo_alloc()
59 fifo->out = 0; in __kfifo_free()
75 fifo->out = 0; in __kfifo_init()
157 l = fifo->in - fifo->out; in __kfifo_out_peek()
161 kfifo_copy_out(fifo, buf, len, fifo->out); in __kfifo_out_peek()
170 fifo->out += len; in __kfifo_out()
281 l = fifo->in - fifo->out; in __kfifo_to_user()
284 ret = kfifo_copy_to_user(fifo, to, len, fifo->out, copied); in __kfifo_to_user()
290 fifo->out += len; in __kfifo_to_user()
374 l = fifo->in - fifo->out; in __kfifo_dma_out_prepare()
378 return setup_sgl(fifo, sgl, nents, len, fifo->out); in __kfifo_dma_out_prepare()
392 #define __KFIFO_PEEK(data, out, mask) \ argument
393 ((data)[(out) & (mask)])
404 l = __KFIFO_PEEK(data, fifo->out, mask); in __kfifo_peek_n()
407 l |= __KFIFO_PEEK(data, fifo->out + 1, mask) << 8; in __kfifo_peek_n()
460 kfifo_copy_out(fifo, buf, len, fifo->out + recsize); in kfifo_out_copy_r()
469 if (fifo->in == fifo->out) in __kfifo_out_peek_r()
481 if (fifo->in == fifo->out) in __kfifo_out_r()
485 fifo->out += n + recsize; in __kfifo_out_r()
495 fifo->out += n + recsize; in __kfifo_skip_r()
529 if (fifo->in == fifo->out) { in __kfifo_to_user_r()
538 ret = kfifo_copy_to_user(fifo, to, len, fifo->out + recsize, copied); in __kfifo_to_user_r()
543 fifo->out += n + recsize; in __kfifo_to_user_r()
578 if (len + recsize > fifo->in - fifo->out) in __kfifo_dma_out_prepare_r()
581 return setup_sgl(fifo, sgl, nents, len, fifo->out + recsize); in __kfifo_dma_out_prepare_r()
590 fifo->out += len + recsize; in __kfifo_dma_out_finish_r()