Searched refs:nmax (Results 1 – 3 of 3) sorted by relevance
230 unsigned int nmax; in fifo_write() local236 nmax = fifo->size - READ_ONCE(fifo->fill); in fifo_write()240 unsigned int n = min(todo, nmax); in fifo_write()265 nmax -= n; in fifo_write()
423 static long snd_mixer_oss_conv(long val, long omin, long omax, long nmin, long nmax) in snd_mixer_oss_conv() argument425 long orange = omax - omin, nrange = nmax - nmin; in snd_mixer_oss_conv()
1618 size_t nmax = write ? fc->max_write : fc->max_read; in fuse_direct_io() local1661 size_t nbytes = min(count, nmax); in fuse_direct_io()