Skip to contentSkip to conversation

new kfifo API

PATCH In review Stefani Seibold 1 participant 1 message Aug 11, 2009 Kfifo

lore
Share & tools
lore

Stefani Seibold

author maintainer
#0 lore raw

PATCH 6/7 new kfifo API

include/linux/kfifo.h | 6 ++

 kernel/kfifo.c        |  111 ++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 117 insertions(+)
include/linux/kfifo.h +6 -0
diff -u -N -r linux-2.6.31-rc4-kfifo5/include/linux/kfifo.h linux-2.6.31-rc4-kfifo6/include/linux/kfifo.h
@@ -198,4 +198,10 @@
 	return kfifo_size(fifo) - kfifo_len(fifo);
 }
 
+extern __must_check unsigned int kfifo_from_user(struct kfifo *fifo,
+	const void __user *from, unsigned int n);
+
+extern __must_check unsigned int kfifo_to_user(struct kfifo *fifo,
+	void __user *to, unsigned int n);
+
 #endif
kernel/kfifo.c +111 -0

120 lines not on this page · raw message