Home
last modified time | relevance | path

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

/freebsd-12.1/sys/dev/sound/pcm/
H A Dsound.c132 int cmax; in pcm_clonereset() local
136 cmax = d->playcount + d->reccount - 1; in pcm_clonereset()
138 cmax += max(d->pvchancount, snd_maxautovchans) - 1; in pcm_clonereset()
140 cmax += max(d->rvchancount, snd_maxautovchans) - 1; in pcm_clonereset()
141 if (cmax > PCMMAXCLONE) in pcm_clonereset()
142 cmax = PCMMAXCLONE; in pcm_clonereset()
144 (void)snd_clone_setmaxunit(d->clones, cmax); in pcm_clonereset()
/freebsd-12.1/usr.sbin/ppp/
H A Dcommand.c216 int n, cmax, dmax, cols, cxlen; in HelpCommand() local
235 cmax = dmax = 0; in HelpCommand()
238 if ((n = strlen(cmd->name) + strlen(showcx(cmd))) > cmax) in HelpCommand()
239 cmax = n; in HelpCommand()
244 cols = 80 / (dmax + cmax + 3); in HelpCommand()
251 cxlen = cmax - strlen(cmd->name); in HelpCommand()
/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dvdev.c2834 uint64_t cmin, cmax; in vdev_resilver_needed() local
2836 if (vdev_resilver_needed(cvd, &cmin, &cmax)) { in vdev_resilver_needed()
2838 thismax = MAX(thismax, cmax); in vdev_resilver_needed()