1KFIFO_OUT_LOCKED(9)               FIFO Buffer              KFIFO_OUT_LOCKED(9)
2
3
4

NAME

6       kfifo_out_locked - gets some data from the FIFO using a spinlock for
7       locking
8

SYNOPSIS

10       __must_check unsigned int kfifo_out_locked(struct kfifo * fifo,
11                                                  void * to, unsigned int n,
12                                                  spinlock_t * lock);
13

ARGUMENTS

15       fifo
16           the fifo to be used.
17
18       to
19           where the data must be copied.
20
21       n
22           the size of the destination buffer.
23
24       lock
25           pointer to the spinlock to use for locking.
26

DESCRIPTION

28       This function copies at most n bytes from the FIFO into the to buffer
29       and returns the number of copied bytes.
30
32Kernel Hackers Manual 2.6.       November 2011             KFIFO_OUT_LOCKED(9)
Impressum