diff options
author | Stefani Seibold <stefani@seibold.net> | 2009-12-21 22:37:32 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-22 22:17:56 (GMT) |
commit | 86d4880313603810901f639ccb5c88ff13d4ad3c (patch) | |
tree | c182d890b5c96a1143b70b00b93e3fc4a9263555 /drivers/tc | |
parent | a121f24accac1600bf5b6fb1e12eeabdfed7cb1a (diff) | |
download | linux-fsl-qoriq-86d4880313603810901f639ccb5c88ff13d4ad3c.tar.xz |
kfifo: add record handling functions
Add kfifo_in_rec() - puts some record data into the FIFO
Add kfifo_out_rec() - gets some record data from the FIFO
Add kfifo_from_user_rec() - puts some data from user space into the FIFO
Add kfifo_to_user_rec() - gets data from the FIFO and write it to user space
Add kfifo_peek_rec() - gets the size of the next FIFO record field
Add kfifo_skip_rec() - skip the next fifo out record
Add kfifo_avail_rec() - determinate the number of bytes available in a record FIFO
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>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/tc')
0 files changed, 0 insertions, 0 deletions