Searched refs:pfd (Results 1 - 17 of 17) sorted by last modified time

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/curl-7.23.1/source/lib/
H A Dasyn-ares.c262 struct pollfd pfd[ARES_GETSOCK_MAXNUM]; local
270 pfd[i].events = 0;
271 pfd[i].revents = 0;
273 pfd[i].fd = socks[i];
274 pfd[i].events |= POLLRDNORM|POLLIN;
277 pfd[i].fd = socks[i];
278 pfd[i].events |= POLLWRNORM|POLLOUT;
280 if(pfd[i].events != 0)
287 nfds = Curl_poll(pfd, num, timeout_ms);
300 pfd[
[all...]
H A Dselect.c149 struct pollfd pfd[2]; local
184 pfd[num].fd = readfd;
185 pfd[num].events = POLLRDNORM|POLLIN|POLLRDBAND|POLLPRI;
186 pfd[num].revents = 0;
190 pfd[num].fd = writefd;
191 pfd[num].events = POLLWRNORM|POLLOUT;
192 pfd[num].revents = 0;
201 r = poll(pfd, num, pending_ms);
222 if(pfd[num].revents & (POLLRDNORM|POLLIN|POLLERR|POLLHUP))
224 if(pfd[nu
[all...]
H A Dtelnet.c1099 struct pollfd pfd[1]; local
1100 pfd[0].fd = conn->sock[FIRSTSOCKET];
1101 pfd[0].events = POLLOUT;
1102 switch (Curl_poll(pfd, 1, -1)) {
1158 struct pollfd pfd[2]; local
1420 pfd[0].fd = sockfd;
1421 pfd[0].events = POLLIN;
1428 pfd[1].fd = 0;
1429 pfd[1].events = POLLIN;
1435 switch (Curl_poll(pfd, poll_cn
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/smbd/
H A Doplock_irix.c35 int pfd[2]; local
42 if(pipe(pfd) != 0) {
52 close(pfd[0]);
53 close(pfd[1]);
59 if(sys_fcntl_long(fd, F_OPLKREG, pfd[1]) == -1) {
62 close(pfd[0]);
63 close(pfd[1]);
71 close(pfd[0]);
72 close(pfd[1]);
77 close(pfd[
259 int pfd[2]; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ppp-2.4.4/pppd/
H A Dsys-solaris.c1338 struct pollfd pfd; local
1352 pfd.fd = pppfd;
1353 pfd.events = POLLOUT;
1354 poll(&pfd, 1, 250); /* wait for up to 0.25 seconds */
2337 struct pollfd pfd; local
2342 pfd.fd = fd;
2343 pfd.events = POLLIN | POLLPRI;
2345 n = poll(&pfd, 1, 1000);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ntfs-3g-2009.3.8/libfuse-lite/
H A Dmount.c180 struct pollfd pfd; local
182 pfd.fd = fd;
183 pfd.events = 0;
184 res = poll(&pfd, 1, 0);
187 if (res == 1 && (pfd.revents & POLLERR))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/v850/kernel/
H A Dsimcons.c118 struct pollfd pfd;
119 pfd.fd = 0;
120 pfd.events = POLLIN;
122 if (V850_SIM_SYSCALL (poll, &pfd, 1, 0) > 0) {
123 if (pfd.revents & POLLIN) {
133 } else if (pfd.revents & POLLERR)
115 struct pollfd pfd; local
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/
H A Danon_inodes.c60 * @pfd: [out] pointer to the file descriptor
73 int anon_inode_getfd(int *pfd, struct inode **pinode, struct file **pfile, argument
129 *pfd = fd;
H A Dselect.c597 struct pollfd * pfd, * pfd_end; local
599 pfd = walk->entries;
600 pfd_end = pfd + walk->len;
601 for (; pfd != pfd_end; pfd++) {
609 if (do_pollfd(pfd, pt)) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/telephony/
H A Dphonedev.c120 void phone_unregister_device(struct phone_device *pfd) argument
123 if (phone_device[pfd->minor] != pfd)
125 phone_device[pfd->minor] = NULL;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/runit/
H A Drunsvdir.c51 static struct pollfd pfd[1]; variable in typeref:struct:pollfd
201 pfd[0].fd = logpipe[0];
202 pfd[0].events = POLLIN;
304 pfd[0].revents = 0;
308 poll(pfd, 1, deadline*1000);
313 if (pfd[0].revents & POLLIN) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Danon_inodes.h11 int anon_inode_getfd(int *pfd, struct inode **pinode, struct file **pfile,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/Documentation/connector/
H A Ducon.c92 struct pollfd pfd; local
148 pfd.fd = s;
151 pfd.events = POLLIN;
152 pfd.revents = 0;
153 switch (poll(&pfd, 1, -1)) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/util-linux/
H A Dfdisk_sun.c165 FILE *pfd; local
184 pfd = fopen("/proc/scsi/scsi", "r");
185 if (!pfd) {
188 while (fgets(buffer2, 2048, pfd)) {
191 if (!fgets(buffer2, 2048, pfd))
224 fclose(pfd);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/radvd/
H A Dprivsep-linux.c27 static int pfd = -1; variable
52 ret = readn(pfd, &cmd, sizeof(cmd));
55 close(pfd);
116 if (pfd < 0)
147 pfd = pipefds[0];
153 close(pfd);
163 close(pfd);
169 pfd = pipefds[1];
183 if (writen(pfd, &cmd, sizeof(cmd)) != sizeof(cmd))
195 if (writen(pfd,
[all...]
H A Dprivsep.c27 static int pfd = -1; variable
52 ret = readn(pfd, &cmd, sizeof(cmd));
55 close(pfd);
116 if (pfd < 0)
147 pfd = pipefds[0];
153 close(pfd);
163 close(pfd);
169 pfd = pipefds[1];
183 if (writen(pfd, &cmd, sizeof(cmd)) != sizeof(cmd))
195 if (writen(pfd,
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/rc/
H A Dinit.c181 struct pollfd pfd = { STDIN_FILENO, POLLIN, 0 }; local
184 while ((poll(&pfd, 1, 0) > 0) && (pfd.revents & POLLIN))

Completed in 113 milliseconds