FreeBSD/sys/dev/vnic/nicvf_queues.c
/* Free descriptor back to SQ for future use */
Free descriptor back to SQ for future use
Free descriptor back to SQ for future use
static void
nicvf_put_sq_desc(struct snd_queue *sq, int desc_cnt)
{
	atomic_add_int(&sq->free_cnt, desc_cnt);
	sq->head += desc_cnt;
	sq->head &= (sq->dmem.q_len - 1);
}
static void nicvf_put_sq_desc ( struct snd_queue * sq , int desc_cnt ) { atomic_add_int ( & sq -> free_cnt , desc_cnt ) ; sq -> head += desc_cnt ; sq -> head &= ( sq -> dmem . q_len - 1 ) ; }
Free descriptor back to SQ for future use
Free descriptor back to SQ for future use