Searched refs:nfd (Results 1 - 2 of 2) sorted by relevance
/darwin-on-arm/xnu/bsd/kern/ |
H A D | sys_generic.c | 959 int nfd, int32_t *retval, int sel_pass, wait_queue_sub_t wqsub); 960 static int selcount(struct proc *p, u_int32_t *ibits, int nfd, int *count); 961 static int seldrop_locked(struct proc *p, u_int32_t *ibits, int nfd, int lim, int *need_wakeup, int fromselcount); 962 static int seldrop(struct proc *p, u_int32_t *ibits, int nfd); 1300 * nfd The number of file descriptors to scan 1312 selscan(struct proc *p, struct _select *sel, int nfd, int32_t *retval, argument 1342 nw = howmany(nfd, NFDBITS); 1353 for (i = 0; i < nfd; i += NFDBITS) { 1356 while ((j = ffs(bits)) && (fd = i + --j) < nfd) { 1635 * nfd Th 1651 selcount(struct proc *p, u_int32_t *ibits, int nfd, int *countp) argument 1741 seldrop_locked(struct proc *p, u_int32_t *ibits, int nfd, int lim, int *need_wakeup, int fromselcount) argument 1821 seldrop(struct proc *p, u_int32_t *ibits, int nfd) argument [all...] |
H A D | kern_descrip.c | 355 int nfd = 0; local 365 while ((nfd = fdp->fd_lastfile) > 0 && 366 fdp->fd_ofiles[nfd] == NULL && 367 !(fdp->fd_ofileflags[nfd] & UF_RESERVED)) 3974 int error, nfd; local 3978 if ( (error = fdalloc(p, 0, &nfd)) ) { 4042 p->p_fd->fd_ofiles[nfd] = fp; 4050 *resultfd = nfd;
|
Completed in 19 milliseconds