---
name: "__kfifo_get"
section: "9"
platform: "linux"
package: "linux-manual-2.6.32"
version: "2.6.32-48squeeze6"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/__kfifo_get"
---

# \_\_kfifo\_get(9)

gets some data from the FIFO, no locking version

## NAME

\_\_kfifo\_get - gets some data from the FIFO, no locking version

## SYNOPSIS

**unsigned int \_\_kfifo\_get(struct kfifo \*** *fifo***, unsigned char \*** *buffer***, unsigned int** *len***);**

## ARGUMENTS

*fifo*

the fifo to be used.

*buffer*

where the data must be copied.

*len*

the size of the destination buffer.

## DESCRIPTION

This function copies at most *len* bytes from the FIFO into the *buffer* and returns the number of copied bytes.

Note that with only one concurrent reader and one concurrent writer, you don't need extra locking to use these functions.

## COPYRIGHT
