new kfifo API
Stefani Seibold
maintainerPATCH 6/7 new kfifo API
include/linux/kfifo.h | 6 ++
kernel/kfifo.c | 111 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 117 insertions(+)
Signed-off-by Stefani Seibold <[email protected]>
include/linux/kfifo.h +6 -0
@@ -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