diff options
| author | Stefani Seibold <[email protected]> | 2009-12-21 22:37:32 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2009-12-22 22:17:56 +0000 |
| commit | 86d4880313603810901f639ccb5c88ff13d4ad3c (patch) | |
| tree | c182d890b5c96a1143b70b00b93e3fc4a9263555 /lib/debugobjects.c | |
| parent | kfifo: add kfifo_skip, kfifo_from_user and kfifo_to_user (diff) | |
| download | kernel-86d4880313603810901f639ccb5c88ff13d4ad3c.tar.gz kernel-86d4880313603810901f639ccb5c88ff13d4ad3c.zip | |
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 <[email protected]>
Acked-by: Greg Kroah-Hartman <[email protected]>
Acked-by: Mauro Carvalho Chehab <[email protected]>
Acked-by: Andi Kleen <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
