Home
last modified time | relevance | path

Searched refs:allocunit (Results 1 – 1 of 1) sorted by relevance

/dragonfly/sys/dev/sound/
HDclone.c614 int cunit, allocunit; in snd_clone_alloc() local
638 allocunit = (*unit == -1) ? 0 : *unit; in snd_clone_alloc()
667 if (*unit == -1 && (ce->unit & ~tmask) == allocunit) in snd_clone_alloc()
668 allocunit++; in snd_clone_alloc()
669 if ((ce->unit & ~tmask) < allocunit) in snd_clone_alloc()
708 if (allocunit < (nce->unit & ~tmask)) in snd_clone_alloc()
712 } else if (allocunit > c->maxunit) { in snd_clone_alloc()
764 ce->unit = tmask | allocunit; in snd_clone_alloc()
779 *unit = allocunit; in snd_clone_alloc()