Lines Matching defs:fd
138 int nchanges, user_addr_t eventlist, int nevents, int fd,
1167 int fd, error;
1169 error = falloc(p, &fp, &fd, vfs_context_current());
1176 fp_free(p, fd, fp);
1186 procfdtbl_releasefd(p, fd, NULL);
1187 fp_drop(p, fd, fp, 1);
1190 *retval = fd;
1293 int fd;
1299 fd = cont_args->fd;
1302 fp_drop(p, fd, fp, 0);
1327 uap->fd,
1342 uap->fd,
1350 int nchanges, user_addr_t ueventlist, int nevents, int fd,
1389 if ((error = fp_getfkq(p, fd, &fp, &kq)) != 0)
1431 cont_args->fd = fd;
1445 fp_drop(p, fd, fp, 0);
1554 /* fd-based knotes are linked off the fd table */
1562 /* hash non-fd knotes here too */
2494 * remove all knotes referencing a specified fd
2503 knote_fdclose(struct proc *p, int fd)
2509 list = &fdp->fd_knlist[fd];
2533 /* the fd tables may have changed - start over */
2534 list = &fdp->fd_knlist[fd];
2990 /* No need for the funnel as fd is kept alive */