p_fd 441 arch/i386/i386/linux_machdep.c fdp = p->p_fd; p_fd 144 compat/common/vfs_syscalls_25.c if ((error = getvnode(p->p_fd, SCARG(uap, fd), &fp)) != 0) p_fd 157 compat/common/vfs_syscalls_35.c struct filedesc *fdp = p->p_fd; p_fd 183 compat/common/vfs_syscalls_43.c struct filedesc *fdp = p->p_fd; p_fd 351 compat/common/vfs_syscalls_43.c if ((error = getvnode(p->p_fd, SCARG(uap, fd), &fp)) != 0) p_fd 622 compat/freebsd/freebsd_file.c if ((error = getvnode(p->p_fd, SCARG(uap, fd), &fp)) != 0) p_fd 812 compat/freebsd/freebsd_file.c fdp = p->p_fd; p_fd 147 compat/freebsd/freebsd_misc.c if ((error = getvnode(p->p_fd, SCARG(uap, fd), &fp)) != 0) p_fd 293 compat/hpux/hpux_compat.c char *fp = &p->p_fd->fd_ofileflags[SCARG(uap, fd)]; p_fd 317 compat/hpux/hpux_compat.c char *fp = &p->p_fd->fd_ofileflags[SCARG(uap, fd)]; p_fd 341 compat/hpux/hpux_compat.c char *fp = &p->p_fd->fd_ofileflags[SCARG(uap, fd)]; p_fd 365 compat/hpux/hpux_compat.c char *fp = &p->p_fd->fd_ofileflags[SCARG(uap, fd)]; p_fd 814 compat/hpux/hpux_compat.c struct filedesc *fdp = p->p_fd; p_fd 189 compat/hpux/hpux_file.c p->p_fd->fd_ofileflags[*retval] |= p_fd 217 compat/hpux/hpux_file.c struct filedesc *fdp = p->p_fd; p_fd 223 compat/hpux/hpux_file.c pop = &p->p_fd->fd_ofileflags[SCARG(uap, fd)]; p_fd 82 compat/hpux/hpux_tty.c if ((fp = fd_getfile(p->p_fd, fd)) == NULL) p_fd 513 compat/hpux/hpux_tty.c struct filedesc *fdp = p->p_fd; p_fd 203 compat/hpux/m68k/hpux_net.c if ((error = getsock(p->p_fd, SCARG(uap, s), &fp))) p_fd 248 compat/hpux/m68k/hpux_net.c if ((error = getsock(p->p_fd, SCARG(uap, s), &fp))) p_fd 281 compat/hpux/m68k/hpux_net.c if ((error = getsock(p->p_fd, SCARG(uap, s), &fp))) p_fd 187 compat/ibcs2/ibcs2_fcntl.c struct filedesc *fdp = p->p_fd; p_fd 343 compat/ibcs2/ibcs2_ioctl.c struct filedesc *fdp = p->p_fd; p_fd 430 compat/ibcs2/ibcs2_misc.c if ((error = getvnode(p->p_fd, SCARG(uap, fd), &fp)) != 0) p_fd 461 compat/ibcs2/ibcs2_misc.c if ((error = getvnode(p->p_fd, SCARG(uap, fd), &fp)) != 0) { p_fd 153 compat/ibcs2/ibcs2_stat.c if ((error = getvnode(p->p_fd, SCARG(uap, fd), &fp)) != 0) p_fd 71 compat/linux/linux_blkio.c fdp = p->p_fd; p_fd 110 compat/linux/linux_cdrom.c fdp = p->p_fd; p_fd 77 compat/linux/linux_fdio.c fdp = p->p_fd; p_fd 194 compat/linux/linux_file.c struct filedesc *fdp = p->p_fd; p_fd 395 compat/linux/linux_file.c fdp = p->p_fd; p_fd 79 compat/linux/linux_hdio.c fdp = p->p_fd; p_fd 1056 compat/linux/linux_misc.c if ((error = getvnode(p->p_fd, SCARG(uap, fd), &fp)) != 0) p_fd 1323 compat/linux/linux_socket.c fdp = p->p_fd; p_fd 463 compat/linux/linux_termios.c fdp = p->p_fd; p_fd 240 compat/osf1/osf1_descrip.c struct filedesc *fdp = p->p_fd; p_fd 120 compat/osf1/osf1_mount.c if ((error = getvnode(p->p_fd, SCARG(uap, fd), &fp))) p_fd 90 compat/ossaudio/ossaudio.c fdp = p->p_fd; p_fd 670 compat/ossaudio/ossaudio.c fdp = p->p_fd; p_fd 858 compat/ossaudio/ossaudio.c fdp = p->p_fd; p_fd 402 compat/sunos/sunos_ioctl.c struct filedesc *fdp = p->p_fd; p_fd 430 compat/sunos/sunos_misc.c if ((error = getvnode(p->p_fd, SCARG(uap, fd), &fp)) != 0) p_fd 528 compat/sunos/sunos_misc.c if ((error = getsock(p->p_fd, SCARG(uap, s), &fp)) != 0) p_fd 586 compat/sunos/sunos_misc.c register struct filedesc *fdp = p->p_fd; p_fd 697 compat/sunos/sunos_misc.c struct filedesc *fdp = p->p_fd; p_fd 859 compat/sunos/sunos_misc.c if ((error = getvnode(p->p_fd, SCARG(uap, fd), &fp)) != 0) p_fd 257 compat/svr4/svr4_fcntl.c struct filedesc *fdp = p->p_fd; p_fd 343 compat/svr4/svr4_fcntl.c struct filedesc *fdp = p->p_fd; p_fd 66 compat/svr4/svr4_filio.c struct filedesc *fdp = p->p_fd; p_fd 110 compat/svr4/svr4_ioctl.c fdp = p->p_fd; p_fd 302 compat/svr4/svr4_misc.c if ((error = getvnode(p->p_fd, SCARG(uap, fd), &fp)) != 0) p_fd 330 compat/svr4/svr4_misc.c if ((error = getvnode(p->p_fd, SCARG(uap, fd), &fp)) != 0) p_fd 422 compat/svr4/svr4_misc.c struct filedesc *fdp = p->p_fd; p_fd 175 compat/svr4/svr4_net.c fdremove(p->p_fd, fd); p_fd 1415 compat/svr4/svr4_stream.c struct filedesc *fdp = p->p_fd; p_fd 1567 compat/svr4/svr4_stream.c struct filedesc *fdp = p->p_fd; p_fd 447 compat/ultrix/ultrix_ioctl.c struct filedesc *fdp = p->p_fd; p_fd 350 compat/ultrix/ultrix_misc.c if ((error = getsock(p->p_fd, SCARG(uap, s), &fp)) != 0) p_fd 183 compat/ultrix/ultrix_pathname.c struct filedesc *fdp = p->p_fd; p_fd 281 compat/ultrix/ultrix_pathname.c if ((error = getvnode(p->p_fd, SCARG(uap, fd), &fp)) != 0) p_fd 384 dev/systrace.c fdp = p->p_fd; p_fd 1160 dev/systrace.c myfdp = curproc->p_fd; p_fd 1161 dev/systrace.c fdp = strp->proc->p_fd; p_fd 294 kern/init_main.c p->p_fd = fdinit(NULL); p_fd 456 kern/init_main.c p->p_fd->fd_cdir = rootvnode; p_fd 457 kern/init_main.c VREF(p->p_fd->fd_cdir); p_fd 459 kern/init_main.c p->p_fd->fd_rdir = NULL; p_fd 466 kern/init_main.c initproc->p_fd->fd_cdir = rootvnode; p_fd 467 kern/init_main.c VREF(initproc->p_fd->fd_cdir); p_fd 468 kern/init_main.c initproc->p_fd->fd_rdir = NULL; p_fd 207 kern/kern_descrip.c struct filedesc *fdp = p->p_fd; p_fd 246 kern/kern_descrip.c struct filedesc *fdp = p->p_fd; p_fd 301 kern/kern_descrip.c struct filedesc *fdp = p->p_fd; p_fd 505 kern/kern_descrip.c struct filedesc *fdp = p->p_fd; p_fd 547 kern/kern_descrip.c struct filedesc *fdp = p->p_fd; p_fd 578 kern/kern_descrip.c struct filedesc *fdp = p->p_fd; p_fd 601 kern/kern_descrip.c struct filedesc *fdp = p->p_fd; p_fd 636 kern/kern_descrip.c struct filedesc *fdp = p->p_fd; p_fd 676 kern/kern_descrip.c struct filedesc *fdp = p->p_fd; p_fd 723 kern/kern_descrip.c struct filedesc *fdp = p->p_fd; p_fd 801 kern/kern_descrip.c fd_unused(p->p_fd, i); p_fd 815 kern/kern_descrip.c if ((fq = p->p_fd->fd_ofiles[0]) != NULL) { p_fd 820 kern/kern_descrip.c p->p_fd->fd_ofiles[i] = fp; p_fd 844 kern/kern_descrip.c struct filedesc *fdp = p->p_fd; p_fd 876 kern/kern_descrip.c p->p_fd->fd_refcnt++; p_fd 877 kern/kern_descrip.c return (p->p_fd); p_fd 886 kern/kern_descrip.c struct filedesc *newfdp, *fdp = p->p_fd; p_fd 974 kern/kern_descrip.c struct filedesc *fdp = p->p_fd; p_fd 989 kern/kern_descrip.c p->p_fd = NULL; p_fd 1110 kern/kern_descrip.c struct filedesc *fdp = p->p_fd; p_fd 1257 kern/kern_descrip.c struct filedesc *fdp = p->p_fd; p_fd 1269 kern/kern_descrip.c struct filedesc *fdp = p->p_fd; p_fd 382 kern/kern_event.c struct filedesc *fdp = p->p_fd; p_fd 408 kern/kern_event.c struct filedesc* fdp = p->p_fd; p_fd 590 kern/kern_event.c knote_drop(kn, p, p->p_fd); p_fd 715 kern/kern_event.c knote_drop(kn, p, p->p_fd); p_fd 812 kern/kern_event.c struct filedesc *fdp = p->p_fd; p_fd 895 kern/kern_event.c knote_drop(kn, p, p->p_fd); p_fd 905 kern/kern_event.c struct filedesc *fdp = p->p_fd; p_fd 522 kern/kern_exec.c fp = fd_getfile(p->p_fd, i); p_fd 553 kern/kern_exec.c fdremove(p->p_fd, indx); p_fd 558 kern/kern_exec.c fdremove(p->p_fd, indx); p_fd 289 kern/kern_fork.c p2->p_fd = fdinit(p1); p_fd 291 kern/kern_fork.c p2->p_fd = fdshare(p1); p_fd 293 kern/kern_fork.c p2->p_fd = fdcopy(p1); p_fd 877 kern/kern_prot.c if (p->p_fd->fd_refcnt > 1) p_fd 1196 kern/kern_sysctl.c ki->p_fd = PTRTOINT64(p->p_fd); p_fd 83 kern/sys_generic.c struct filedesc *fdp = p->p_fd; p_fd 167 kern/sys_generic.c struct filedesc *fdp = p->p_fd; p_fd 282 kern/sys_generic.c struct filedesc *fdp = p->p_fd; p_fd 369 kern/sys_generic.c struct filedesc *fdp = p->p_fd; p_fd 495 kern/sys_generic.c fdp = p->p_fd; p_fd 634 kern/sys_generic.c if (nd > p->p_fd->fd_nfiles) { p_fd 636 kern/sys_generic.c nd = p->p_fd->fd_nfiles; p_fd 740 kern/sys_generic.c struct filedesc *fdp = p->p_fd; p_fd 831 kern/sys_generic.c struct filedesc *fdp = p->p_fd; p_fd 106 kern/sys_pipe.c struct filedesc *fdp = p->p_fd; p_fd 1099 kern/tty_pty.c struct filedesc *fdp = p->p_fd; p_fd 70 kern/uipc_syscalls.c struct filedesc *fdp = p->p_fd; p_fd 110 kern/uipc_syscalls.c if ((error = getsock(p->p_fd, SCARG(uap, s), &fp)) != 0) p_fd 133 kern/uipc_syscalls.c if ((error = getsock(p->p_fd, SCARG(uap, s), &fp)) != 0) p_fd 158 kern/uipc_syscalls.c if ((error = getsock(p->p_fd, SCARG(uap, s), &fp)) != 0) p_fd 204 kern/uipc_syscalls.c fdplock(p->p_fd); p_fd 241 kern/uipc_syscalls.c fdremove(p->p_fd, tmpfd); p_fd 248 kern/uipc_syscalls.c fdpunlock(p->p_fd); p_fd 268 kern/uipc_syscalls.c if ((error = getsock(p->p_fd, SCARG(uap, s), &fp)) != 0) p_fd 318 kern/uipc_syscalls.c struct filedesc *fdp = p->p_fd; p_fd 460 kern/uipc_syscalls.c if ((error = getsock(p->p_fd, s, &fp)) != 0) p_fd 639 kern/uipc_syscalls.c if ((error = getsock(p->p_fd, s, &fp)) != 0) p_fd 787 kern/uipc_syscalls.c if ((error = getsock(p->p_fd, SCARG(uap, s), &fp)) != 0) p_fd 809 kern/uipc_syscalls.c if ((error = getsock(p->p_fd, SCARG(uap, s), &fp)) != 0) p_fd 861 kern/uipc_syscalls.c if ((error = getsock(p->p_fd, SCARG(uap, s), &fp)) != 0) p_fd 903 kern/uipc_syscalls.c fdplock(p->p_fd); p_fd 906 kern/uipc_syscalls.c fdpunlock(p->p_fd); p_fd 929 kern/uipc_syscalls.c if ((error = getsock(p->p_fd, SCARG(uap, fdes), &fp)) != 0) p_fd 969 kern/uipc_syscalls.c if ((error = getsock(p->p_fd, SCARG(uap, fdes), &fp)) != 0) p_fd 1012 kern/uipc_syscalls.c if ((error = getsock(p->p_fd, SCARG(uap, fdes), &fp)) != 0) p_fd 428 kern/uipc_usrreq.c vattr.va_mode = ACCESSPERMS &~ p->p_fd->fd_cmask; p_fd 651 kern/uipc_usrreq.c fdplock(p->p_fd); p_fd 679 kern/uipc_usrreq.c fdremove(p->p_fd, fdp[i]); p_fd 692 kern/uipc_usrreq.c fdpunlock(p->p_fd); p_fd 701 kern/uipc_usrreq.c p->p_fd->fd_ofiles[fdp[i]] = fp; p_fd 723 kern/uipc_usrreq.c fdpunlock(p->p_fd); p_fd 731 kern/uipc_usrreq.c struct filedesc *fdp = p->p_fd; p_fd 278 kern/vfs_getcwd.c struct filedesc *fdp = p->p_fd; p_fd 401 kern/vfs_getcwd.c struct vnode *r1 = p1->p_fd->fd_rdir; p_fd 402 kern/vfs_getcwd.c struct vnode *r2 = p2->p_fd->fd_rdir; p_fd 437 kern/vfs_getcwd.c error = vfs_getcwd_common(p->p_fd->fd_cdir, NULL, &bp, path, len/2, p_fd 104 kern/vfs_lookup.c fdp = cnp->cn_proc->p_fd; p_fd 336 kern/vfs_syscalls.c fdp = p->p_fd; p_fd 603 kern/vfs_syscalls.c if ((error = getvnode(p->p_fd, SCARG(uap, fd), &fp)) != 0) p_fd 699 kern/vfs_syscalls.c struct filedesc *fdp = p->p_fd; p_fd 746 kern/vfs_syscalls.c struct filedesc *fdp = p->p_fd; p_fd 769 kern/vfs_syscalls.c struct filedesc *fdp = p->p_fd; p_fd 828 kern/vfs_syscalls.c struct filedesc *fdp = p->p_fd; p_fd 971 kern/vfs_syscalls.c struct filedesc *fdp = p->p_fd; p_fd 1175 kern/vfs_syscalls.c if (p->p_fd->fd_rdir) p_fd 1185 kern/vfs_syscalls.c vattr.va_mode = (SCARG(uap, mode) & ALLPERMS) &~ p->p_fd->fd_cmask; p_fd 1249 kern/vfs_syscalls.c vattr.va_mode = (SCARG(uap, mode) & ALLPERMS) &~ p->p_fd->fd_cmask; p_fd 1333 kern/vfs_syscalls.c vattr.va_mode = ACCESSPERMS &~ p->p_fd->fd_cmask; p_fd 1394 kern/vfs_syscalls.c struct filedesc *fdp = p->p_fd; p_fd 1682 kern/vfs_syscalls.c if ((error = getvnode(p->p_fd, SCARG(uap, fd), &fp)) != 0) p_fd 1764 kern/vfs_syscalls.c if ((error = getvnode(p->p_fd, SCARG(uap, fd), &fp)) != 0) p_fd 1894 kern/vfs_syscalls.c if ((error = getvnode(p->p_fd, SCARG(uap, fd), &fp)) != 0) p_fd 2007 kern/vfs_syscalls.c if ((error = getvnode(p->p_fd, SCARG(uap, fd), &fp)) != 0) p_fd 2077 kern/vfs_syscalls.c if ((error = getvnode(p->p_fd, SCARG(uap, fd), &fp)) != 0) p_fd 2113 kern/vfs_syscalls.c if ((error = getvnode(p->p_fd, SCARG(uap, fd), &fp)) != 0) p_fd 2247 kern/vfs_syscalls.c vattr.va_mode = (SCARG(uap, mode) & ACCESSPERMS) &~ p->p_fd->fd_cmask; p_fd 2324 kern/vfs_syscalls.c if ((error = getvnode(p->p_fd, SCARG(uap, fd), &fp)) != 0) p_fd 2369 kern/vfs_syscalls.c fdp = p->p_fd; p_fd 2447 kern/vfs_syscalls.c struct filedesc *fdp = p->p_fd; p_fd 2485 kern/vfs_syscalls.c struct filedesc *fdp = p->p_fd; p_fd 2523 kern/vfs_syscalls.c struct filedesc *fdp = p->p_fd; p_fd 2561 kern/vfs_syscalls.c struct filedesc *fdp = p->p_fd; p_fd 97 miscfs/portal/portal_vfsops.c if ((error = getsock(p->p_fd, args.pa_socket, &fp)) != 0) p_fd 397 miscfs/portal/portal_vnops.c fdpunlock(p->p_fd); p_fd 400 miscfs/portal/portal_vnops.c fdplock(p->p_fd); p_fd 472 miscfs/portal/portal_vnops.c if ((fp = fd_getfile(p->p_fd, fd)) == NULL) { p_fd 154 nfs/nfs_syscalls.c error = getsock(p->p_fd, nfsdarg.sock, &fp); p_fd 159 sys/proc.h struct filedesc *p_fd; /* Ptr to open files structure. */ p_fd 356 sys/sysctl.h u_int64_t p_fd; /* PTR: Ptr to open files structure. */ p_fd 186 uvm/uvm_mmap.c if ((error = getvnode(p->p_fd, fd, &fp)) != 0) p_fd 400 uvm/uvm_mmap.c struct filedesc *fdp = p->p_fd;