diff options
author | Stefani Seibold <stefani@seibold.net> | 2009-12-21 14:37:31 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-22 14:17:56 -0800 |
commit | a121f24accac1600bf5b6fb1e12eeabdfed7cb1a (patch) | |
tree | 24a3bb527e50304677785dbb390dd5ff838c94e8 /security | |
parent | 37bdfbbfaab47811fcec84dff23c4e8da1a09f9e (diff) | |
download | op-kernel-dev-a121f24accac1600bf5b6fb1e12eeabdfed7cb1a.zip op-kernel-dev-a121f24accac1600bf5b6fb1e12eeabdfed7cb1a.tar.gz |
kfifo: add kfifo_skip, kfifo_from_user and kfifo_to_user
Add kfifo_reset_out() for save lockless discard the fifo output
Add kfifo_skip() to skip a number of output bytes
Add kfifo_from_user() to copy user space data into the fifo
Add kfifo_to_user() to copy fifo data to user space
Signed-off-by: Stefani Seibold <stefani@seibold.net>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Acked-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Acked-by: Andi Kleen <ak@linux.intel.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions