.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "__KFIFO_PUT" "9" "09 October 2005" "" "" .SH NAME __kfifo_put \- puts some data into the FIFO, no locking version .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp unsigned int __kfifo_put (struct kfifo * \fIfifo\fB, unsigned char * \fIbuffer\fB, unsigned int \fIlen\fB); \fR .SH "ARGUMENTS" .TP \fB\fIfifo\fB\fR the fifo to be used. .TP \fB\fIbuffer\fB\fR the data to be added. .TP \fB\fIlen\fB\fR the length of the data to be added. .SH "DESCRIPTION" .PP This function copies at most 'len' bytes from the 'buffer' into the FIFO depending on the free space, and returns the number of bytes copied. .PP Note that with only one concurrent reader and one concurrent writer, you don't need extra locking to use these functions.