Rechercher une page de manuel
relay_subbufs_consumed
Langue: en
Version: June 2009 (debian - 07/07/09)
Section: 9 (Appels noyau Linux)
NAME
relay_subbufs_consumed - update the buffer's sub-buffers-consumed countSYNOPSIS
- void relay_subbufs_consumed(struct rchan * chan, unsigned int cpu, size_t subbufs_consumed);
ARGUMENTS
chan
- the channel
cpu
- the cpu associated with the channel buffer to update
subbufs_consumed
- number of sub-buffers to add to current buf's count
DESCRIPTION
Adds to the channel buffer's consumed sub-buffer count. subbufs_consumed should be the number of sub-buffers newly consumed, not the total consumed.
NOTE. Kernel clients don't need to call this function if the channel mode is 'overwrite'.
COPYRIGHT
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre