Home
last modified time | relevance | path

Searched refs:nfd (Results 1 – 5 of 5) sorted by relevance

/f-stack/app/micro_thread/
H A Dkqueue_proxy.cpp431 int nfd; in KqueueDispatch() local
437 nfd = ff_kevent(_kqfd, NULL, 0, _evtlist, _maxfd, &ts); in KqueueDispatch()
439 nfd = ff_kevent(_kqfd, NULL, 0, _evtlist, _maxfd, NULL); in KqueueDispatch()
441 if (nfd <= 0) in KqueueDispatch()
446 KqueueRcvEventList(nfd); in KqueueDispatch()
/f-stack/app/nginx-1.16.1/src/core/
H A Dngx_file.c802 ngx_fd_t fd, nfd; in ngx_copy_file() local
809 nfd = NGX_INVALID_FILE; in ngx_copy_file()
848 nfd = ngx_open_file(to, NGX_FILE_WRONLY, NGX_FILE_TRUNCATE, access); in ngx_copy_file()
850 if (nfd == NGX_INVALID_FILE) { in ngx_copy_file()
877 n = ngx_write_fd(nfd, buf, len); in ngx_copy_file()
895 if (ngx_set_file_time(to, nfd, time) != NGX_OK) { in ngx_copy_file()
905 if (nfd != NGX_INVALID_FILE) { in ngx_copy_file()
906 if (ngx_close_file(nfd) == NGX_FILE_ERROR) { in ngx_copy_file()
/f-stack/freebsd/kern/
H A Dsys_generic.c1363 selscan(struct thread *td, fd_mask **ibits, fd_mask **obits, int nfd) in selscan() argument
1376 for (idx = 0, fd = 0; fd < nfd; idx++) { in selscan()
1377 end = imin(fd + NFDBITS, nfd); in selscan()
1604 pollout(struct thread *td, struct pollfd *fds, struct pollfd *ufds, u_int nfd) in pollout() argument
1610 for (i = 0; i < nfd; i++) { in pollout()
1625 pollscan(struct thread *td, struct pollfd *fds, u_int nfd) in pollscan() argument
1635 for (i = 0; i < nfd; i++, fds++) { in pollscan()
H A Duipc_syscalls.c1602 int error, fd, *fds, nfd; in m_dispose_extcontrolm() local
1620 nfd = (cm->cmsg_len - CMSG_SPACE(0)) / in m_dispose_extcontrolm()
1623 while (nfd-- > 0) { in m_dispose_extcontrolm()
H A Dkern_descrip.c112 static void fdgrowtable(struct filedesc *fdp, int nfd);
113 static void fdgrowtable_exp(struct filedesc *fdp, int nfd);
1781 fdgrowtable_exp(struct filedesc *fdp, int nfd) in fdgrowtable_exp() argument
1788 if (nfd1 < nfd) in fdgrowtable_exp()
1789 nfd1 = nfd; in fdgrowtable_exp()
1797 fdgrowtable(struct filedesc *fdp, int nfd) in fdgrowtable() argument
1814 nnfiles = NDSLOTS(nfd) * NDENTRIES; /* round up */ in fdgrowtable()