/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/alsa-lib-1.0.26/test/ |
H A D | seq-sender.c | 149 struct pollfd *pfds; local 232 pfds = alloca(sizeof(*pfds) * max); 236 snd_seq_poll_descriptors(handle, pfds, nseqs, POLLOUT|POLLIN); 238 snd_seq_poll_descriptors(handle, pfds, nseqs, POLLIN); 243 snd_seq_poll_descriptors(phandle, pfds + max, pmax); 247 if (poll(pfds, max, -1) < 0) 250 if (phandle && (pfds[nseqs].revents & POLLOUT)) { 257 if (pfds[0].revents & POLLOUT) 259 if (pfds[ [all...] |
H A D | playmidi1.c | 120 struct pollfd *pfds = alloca(sizeof(*pfds) * npfds); local 121 snd_seq_poll_descriptors(seq_handle, pfds, npfds, POLLOUT); 122 if ((rc = poll(pfds, npfds, -1)) < 0) { 378 struct pollfd *pfds = alloca(sizeof(*pfds) * npfds); local 379 snd_seq_poll_descriptors(seq_handle, pfds, npfds, POLLIN); 380 if ((left = poll(pfds, npfds, -1)) < 0) {
|
H A D | seq-decoder.c | 268 struct pollfd *pfds; local 339 pfds = alloca(sizeof(*pfds) * max); 341 snd_seq_poll_descriptors(handle, pfds, max, POLLIN); 342 if (poll(pfds, max, -1) < 0)
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/alsa-lib-1.0.26/include/ |
H A D | hwdep.h | 99 int snd_hwdep_poll_descriptors(snd_hwdep_t *hwdep, struct pollfd *pfds, unsigned int space); 100 int snd_hwdep_poll_descriptors_revents(snd_hwdep_t *hwdep, struct pollfd *pfds, unsigned int nfds, unsigned short *revents);
|
H A D | control_external.h | 244 int (*poll_descriptors)(snd_ctl_ext_t *ext, struct pollfd *pfds, unsigned int space); 248 int (*poll_revents)(snd_ctl_ext_t *ext, struct pollfd *pfds, unsigned int nfds, unsigned short *revents);
|
H A D | rawmidi.h | 88 int snd_rawmidi_poll_descriptors(snd_rawmidi_t *rmidi, struct pollfd *pfds, unsigned int space); 89 int snd_rawmidi_poll_descriptors_revents(snd_rawmidi_t *rawmidi, struct pollfd *pfds, unsigned int nfds, unsigned short *revent);
|
H A D | timer.h | 157 int snd_timer_poll_descriptors(snd_timer_t *handle, struct pollfd *pfds, unsigned int space); 158 int snd_timer_poll_descriptors_revents(snd_timer_t *timer, struct pollfd *pfds, unsigned int nfds, unsigned short *revents);
|
H A D | control.h | 234 int snd_ctl_poll_descriptors(snd_ctl_t *ctl, struct pollfd *pfds, unsigned int space); 235 int snd_ctl_poll_descriptors_revents(snd_ctl_t *ctl, struct pollfd *pfds, unsigned int nfds, unsigned short *revents); 528 int snd_hctl_poll_descriptors(snd_hctl_t *hctl, struct pollfd *pfds, unsigned int space); 529 int snd_hctl_poll_descriptors_revents(snd_hctl_t *ctl, struct pollfd *pfds, unsigned int nfds, unsigned short *revents);
|
H A D | mixer.h | 107 int snd_mixer_poll_descriptors(snd_mixer_t *mixer, struct pollfd *pfds, unsigned int space); 108 int snd_mixer_poll_descriptors_revents(snd_mixer_t *mixer, struct pollfd *pfds, unsigned int nfds, unsigned short *revents);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/alsa-lib-1.0.26/src/control/ |
H A D | control_local.h | 53 int (*poll_descriptors)(snd_ctl_t *handle, struct pollfd *pfds, unsigned int space); 54 int (*poll_revents)(snd_ctl_t *handle, struct pollfd *pfds, unsigned int nfds, unsigned short *revents);
|
H A D | control_ext.c | 433 static int snd_ctl_ext_poll_descriptors(snd_ctl_t *handle, struct pollfd *pfds, unsigned int space) argument 438 return ext->callback->poll_descriptors(ext, pfds, space); 442 pfds->fd = ext->poll_fd; 443 pfds->events = POLLIN|POLLERR|POLLNVAL; 449 static int snd_ctl_ext_poll_revents(snd_ctl_t *handle, struct pollfd *pfds, unsigned int nfds, unsigned short *revents) argument 454 return ext->callback->poll_revents(ext, pfds, nfds, revents); 456 *revents = pfds->revents;
|
H A D | hcontrol.c | 177 * \param pfds array of poll descriptors 181 int snd_hctl_poll_descriptors(snd_hctl_t *hctl, struct pollfd *pfds, unsigned int space) argument 184 return snd_ctl_poll_descriptors(hctl->ctl, pfds, space); 190 * \param pfds array of poll descriptors 195 int snd_hctl_poll_descriptors_revents(snd_hctl_t *hctl, struct pollfd *pfds, unsigned int nfds, unsigned short *revents) argument 198 return snd_ctl_poll_descriptors_revents(hctl->ctl, pfds, nfds, revents);
|
H A D | control.c | 174 * \param pfds array of poll descriptors 178 int snd_ctl_poll_descriptors(snd_ctl_t *ctl, struct pollfd *pfds, unsigned int space) argument 180 assert(ctl && pfds); 182 return ctl->ops->poll_descriptors(ctl, pfds, space); 186 pfds->fd = ctl->poll_fd; 187 pfds->events = POLLIN|POLLERR|POLLNVAL; 196 * \param pfds array of poll descriptors 201 int snd_ctl_poll_descriptors_revents(snd_ctl_t *ctl, struct pollfd *pfds, unsigned int nfds, unsigned short *revents) argument 203 assert(ctl && pfds && revents); 205 return ctl->ops->poll_revents(ctl, pfds, nfd [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/alsa-lib-1.0.26/src/hwdep/ |
H A D | hwdep.c | 258 * \param pfds array of poll descriptors 262 int snd_hwdep_poll_descriptors(snd_hwdep_t *hwdep, struct pollfd *pfds, unsigned int space) argument 266 pfds->fd = hwdep->poll_fd; 269 pfds->events = POLLOUT|POLLERR|POLLNVAL; 272 pfds->events = POLLIN|POLLERR|POLLNVAL; 275 pfds->events = POLLOUT|POLLIN|POLLERR|POLLNVAL; 288 * \param pfds array of poll descriptors 293 int snd_hwdep_poll_descriptors_revents(snd_hwdep_t *hwdep, struct pollfd *pfds, unsigned int nfds, unsigned short *revents) argument 295 assert(hwdep && pfds && revents); 297 *revents = pfds [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/alsa-lib-1.0.26/src/timer/ |
H A D | timer.c | 349 * \param pfds array of poll descriptors 353 int snd_timer_poll_descriptors(snd_timer_t *timer, struct pollfd *pfds, unsigned int space) argument 357 pfds->fd = timer->poll_fd; 360 pfds->events = POLLOUT|POLLERR|POLLNVAL; 363 pfds->events = POLLIN|POLLERR|POLLNVAL; 366 pfds->events = POLLOUT|POLLIN|POLLERR|POLLNVAL; 379 * \param pfds array of poll descriptors 384 int snd_timer_poll_descriptors_revents(snd_timer_t *timer, struct pollfd *pfds, unsigned int nfds, unsigned short *revents) argument 386 assert(timer && pfds && revents); 388 *revents = pfds [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/alsa-lib-1.0.26/src/rawmidi/ |
H A D | rawmidi.c | 406 * \param pfds array of poll descriptors 410 int snd_rawmidi_poll_descriptors(snd_rawmidi_t *rawmidi, struct pollfd *pfds, unsigned int space) argument 414 pfds->fd = rawmidi->poll_fd; 415 pfds->events = rawmidi->stream == SND_RAWMIDI_STREAM_OUTPUT ? (POLLOUT|POLLERR|POLLNVAL) : (POLLIN|POLLERR|POLLNVAL); 424 * \param pfds array of poll descriptors 429 int snd_rawmidi_poll_descriptors_revents(snd_rawmidi_t *rawmidi, struct pollfd *pfds, unsigned int nfds, unsigned short *revents) argument 431 assert(rawmidi && pfds && revents); 433 *revents = pfds->revents;
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/alsa-lib-1.0.26/src/mixer/ |
H A D | mixer.c | 704 * \param pfds array of poll descriptors 708 int snd_mixer_poll_descriptors(snd_mixer_t *mixer, struct pollfd *pfds, unsigned int space) argument 717 n = snd_hctl_poll_descriptors(s->hctl, pfds, space); 723 pfds += n; 733 * \param pfds array of poll descriptors 738 int snd_mixer_poll_descriptors_revents(snd_mixer_t *mixer, struct pollfd *pfds, unsigned int nfds, unsigned short *revents) argument 742 assert(mixer && pfds && revents); 747 res |= pfds->revents & (POLLIN|POLLERR|POLLNVAL); 761 struct pollfd *pfds = spfds; local 764 count = snd_mixer_poll_descriptors(mixer, pfds, sizeo [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/alsa-lib-1.0.26/src/pcm/ |
H A D | pcm_generic.h | 111 int snd_pcm_generic_poll_descriptors(snd_pcm_t *pcm, struct pollfd *pfds, unsigned int space); 112 int snd_pcm_generic_poll_revents(snd_pcm_t *pcm, struct pollfd *pfds, unsigned int nfds, unsigned short *revents);
|
H A D | pcm_direct.c | 309 struct pollfd pfds[max + 1]; local 331 pfds[0].fd = dmix->server_fd; 332 pfds[0].events = POLLIN | POLLERR | POLLHUP; 336 ret = poll(pfds, current + 1, 500); 337 server_printf("DIRECT SERVER: poll ret = %i, revents[0] = 0x%x, errno = %i\n", ret, pfds[0].revents, errno); 344 if (ret == 0 || (pfds[0].revents & (POLLERR | POLLHUP))) { /* timeout or error? */ 358 if (pfds[0].revents & POLLIN) { 367 pfds[current+1].fd = sck; 368 pfds[current+1].events = POLLIN | POLLERR | POLLHUP; 376 struct pollfd *pfd = &pfds[ 546 snd_pcm_direct_poll_revents(snd_pcm_t *pcm, struct pollfd *pfds, unsigned int nfds, unsigned short *revents) argument [all...] |
H A D | pcm_generic.c | 65 int snd_pcm_generic_poll_descriptors(snd_pcm_t *pcm, struct pollfd *pfds, unsigned int space) argument 68 return snd_pcm_poll_descriptors(generic->slave, pfds, space); 71 int snd_pcm_generic_poll_revents(snd_pcm_t *pcm, struct pollfd *pfds, unsigned int nfds, unsigned short *revents) argument 74 return snd_pcm_poll_descriptors_revents(generic->slave, pfds, nfds, revents);
|
H A D | pcm_ioplug.c | 668 static int snd_pcm_ioplug_poll_descriptors(snd_pcm_t *pcm, struct pollfd *pfds, unsigned int space) argument 673 return io->data->callback->poll_descriptors(io->data, pfds, space); 676 if (space >= 1 && pfds) { 677 pfds->fd = pcm->poll_fd; 678 pfds->events = pcm->poll_events | POLLERR | POLLNVAL; 685 static int snd_pcm_ioplug_poll_revents(snd_pcm_t *pcm, struct pollfd *pfds, unsigned int nfds, unsigned short *revents) argument 690 return io->data->callback->poll_revents(io->data, pfds, nfds, revents); 692 *revents = pfds->revents;
|
H A D | pcm_hw.c | 168 static int snd_pcm_hw_poll_descriptors(snd_pcm_t *pcm, struct pollfd *pfds, unsigned int space) argument 174 pfds[0].fd = hw->fd; 175 pfds[0].events = pcm->poll_events | POLLERR | POLLNVAL; 176 pfds[1].fd = hw->period_timer_pfd.fd; 177 pfds[1].events = POLLIN | POLLERR | POLLNVAL; 181 static int snd_pcm_hw_poll_revents(snd_pcm_t *pcm, struct pollfd *pfds, unsigned nfds, unsigned short *revents) argument 186 if (nfds != 2 || pfds[0].fd != hw->fd || pfds[1].fd != hw->period_timer_pfd.fd) 188 events = pfds[0].revents; 189 if (pfds[ [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/dbus-1.6.8/dbus/ |
H A D | dbus-spawn.c | 1082 DBusPollFD pfds[2]; local 1084 pfds[0].fd = parent_pipe; 1085 pfds[0].events = _DBUS_POLLIN; 1086 pfds[0].revents = 0; 1088 pfds[1].fd = sigchld_pipe[READ_END]; 1089 pfds[1].events = _DBUS_POLLIN; 1090 pfds[1].revents = 0; 1092 if (_dbus_poll (pfds, _DBUS_N_ELEMENTS (pfds), -1) < 0 && errno != EINTR) 1098 if (pfds[ [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/smbd/ |
H A D | oplock.c | 60 if so. pfds is the fd_set from the main select loop (which contains any 65 void process_kernel_oplocks(fd_set *pfds) argument 77 while (koplocks->msg_waiting(pfds)) { 81 fsp = koplocks->receive_message(pfds);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/alsa-lib-1.0.26/aserver/ |
H A D | aserver.c | 967 struct pollfd pfds[open_max]; local 978 memcpy(pfds, pollfds, sizeof(*pfds) * pfds_count); 980 struct pollfd *pfd = &pfds[k];
|