Searched refs:nleft (Results 1 – 3 of 3) sorted by relevance
385 static int do_poll(unsigned int nfds, unsigned int nchunks, unsigned int nleft, in do_poll() argument398 if (nleft) in do_poll()399 do_pollfd(nleft, fds[nchunks], &pt, &count); in do_poll()417 int nchunks, nleft; in sys_poll() local447 nleft = nfds; in sys_poll()448 while (nleft > POLLFD_PER_PAGE) { /* allocate complete PAGE_SIZE chunks */ in sys_poll()453 nleft -= POLLFD_PER_PAGE; in sys_poll()455 if (nleft) { /* allocate last PAGE_SIZE chunk, only nleft elements used */ in sys_poll()465 if (nleft) { in sys_poll()467 nleft * sizeof(struct pollfd))) in sys_poll()[all …]
303 while (s->nleft < s->nbits) { in isdn_audio_get_bits()307 s->nleft += 8; in isdn_audio_get_bits()309 s->nleft -= s->nbits; in isdn_audio_get_bits()310 return (s->word >> s->nleft) & bitmask[s->nbits]; in isdn_audio_get_bits()318 s->nleft += nbits; in isdn_audio_put_bits()319 while (s->nleft >= 8) { in isdn_audio_put_bits()320 int d = (s->word >> (s->nleft - 8)); in isdn_audio_put_bits()323 s->nleft -= 8; in isdn_audio_put_bits()336 s->nleft = 0; in isdn_audio_adpcm_init()399 if (s->nleft) in isdn_audio_2adpcm_flush()[all …]
17 int nleft; member