1. NAME

relay_subbufs_consumed - update the bufferAqs sub-buffers-consumed count

2. SYNOPSIS

void relay_subbufs_consumed(struct rchan *  chan , unsigned int  cpu , size_t  subbufs_consumed );

3. ARGUMENTS

chan
    the channel

cpu
    the cpu associated with the channel buffer to update

subbufs_consumed
    number of sub-buffers to add to current bufAqs count

4. DESCRIPTION

Adds to the channel bufferAqs consumed sub-buffer count. subbufs_consumed should be the number of sub-buffers newly consumed, not the total consumed.

NOTE. Kernel clients donAqt need to call this function if the channel mode is AqoverwriteAq.

5. COPYRIGHT