file 187 altq/altq_subr.c altq_assert(file, line, failedexpr) file 188 altq/altq_subr.c const char *file, *failedexpr; file 192 altq/altq_subr.c failedexpr, file, line); file 431 arch/i386/i386/linux_machdep.c struct file *fp; file 433 arch/i386/i386/linux_machdep.c int (*ioctlf)(struct file *, u_long, caddr_t, struct proc *); file 393 arch/i386/stand/libsa/biosdev.c register char *cp, **file; file 399 arch/i386/stand/libsa/biosdev.c cp = *(file = va_arg(ap, char **)); file 417 arch/i386/stand/libsa/biosdev.c for (maj = 0; maj < nbdevs && strncmp(*file, bdevs[maj], cp - *file); ) file 421 arch/i386/stand/libsa/biosdev.c for (cp = *file; *cp != ':'; cp++) file 444 arch/i386/stand/libsa/biosdev.c *file = cp; file 51 arch/i386/stand/libsa/dev_i386.c devopen(struct open_file *f, const char *fname, char **file) file 56 arch/i386/stand/libsa/dev_i386.c *file = (char *)fname; file 68 arch/i386/stand/libsa/dev_i386.c if ((rc = (*dp->dv_open)(f, file)) == 0) { file 58 arch/i386/stand/pxeboot/devopen.c devopen(struct open_file *f, const char *fname, char **file) file 66 arch/i386/stand/pxeboot/devopen.c *file = (char *)fname; file 90 arch/i386/stand/pxeboot/devopen.c *file = stripdev; file 116 arch/i386/stand/pxeboot/devopen.c if ((rc = (*dp->dv_open)(f, file)) == 0) { file 81 arch/i386/stand/pxeboot/open.c char *file; file 97 arch/i386/stand/pxeboot/open.c file = (char *)0; file 98 arch/i386/stand/pxeboot/open.c error = devopen(f, fname, &file); file 104 arch/i386/stand/pxeboot/open.c if (file == (char *)0 || *file == '\0') { file 111 arch/i386/stand/pxeboot/open.c error = f->f_ops->open(file, f); file 119 arch/i386/stand/pxeboot/open.c error = (file_system[i].open)(file, f); file 45 compat/common/compat_dir.c struct file *fp; file 30 compat/common/compat_dir.h int readdir_with_callback(struct file *, off_t *, u_long, file 138 compat/common/vfs_syscalls_25.c struct file *fp; file 158 compat/common/vfs_syscalls_35.c struct file *fp; file 184 compat/common/vfs_syscalls_43.c struct file *fp; file 341 compat/common/vfs_syscalls_43.c struct file *fp; file 616 compat/freebsd/freebsd_file.c struct file *fp; file 803 compat/freebsd/freebsd_file.c struct file *fp; file 143 compat/freebsd/freebsd_misc.c struct file *fp; file 815 compat/hpux/hpux_compat.c struct file *fp; file 211 compat/hpux/hpux_file.c struct file *fp; file 74 compat/hpux/hpux_tty.c struct file *fp; file 79 compat/hpux/hpux_tty.c int (*ioctlrout)(struct file *fp, u_long com, file 514 compat/hpux/hpux_tty.c struct file *fp; file 199 compat/hpux/m68k/hpux_net.c struct file *fp; file 244 compat/hpux/m68k/hpux_net.c struct file *fp; file 277 compat/hpux/m68k/hpux_net.c struct file *fp; file 188 compat/ibcs2/ibcs2_fcntl.c struct file *fp; file 344 compat/ibcs2/ibcs2_ioctl.c struct file *fp; file 345 compat/ibcs2/ibcs2_ioctl.c int (*ctl)(struct file *, u_long, caddr_t, struct proc *); file 427 compat/ibcs2/ibcs2_misc.c struct file *fp; file 458 compat/ibcs2/ibcs2_misc.c struct file *fp; file 148 compat/ibcs2/ibcs2_stat.c struct file *fp; file 66 compat/linux/linux_blkio.c struct file *fp; file 67 compat/linux/linux_blkio.c int (*ioctlf)(struct file *, u_long, caddr_t, struct proc *); file 79 compat/linux/linux_cdrom.c struct file *fp; file 67 compat/linux/linux_fdio.c struct file *fp; file 69 compat/linux/linux_fdio.c int (*ioctlf)(struct file *, u_long, caddr_t, struct proc *); file 195 compat/linux/linux_file.c struct file *fp; file 318 compat/linux/linux_file.c struct file *fp; file 70 compat/linux/linux_hdio.c struct file *fp; file 71 compat/linux/linux_hdio.c int (*ioctlf)(struct file *, u_long, caddr_t, struct proc *); file 1052 compat/linux/linux_misc.c struct file *fp; file 1316 compat/linux/linux_socket.c struct file *fp; file 1319 compat/linux/linux_socket.c int (*ioctlf)(struct file *, u_long, caddr_t, struct proc *); file 451 compat/linux/linux_termios.c struct file *fp; file 241 compat/osf1/osf1_descrip.c struct file *fp; file 114 compat/osf1/osf1_mount.c struct file *fp; file 62 compat/ossaudio/ossaudio.c static struct audiodevinfo *getdevinfo(struct file *, struct proc *); file 64 compat/ossaudio/ossaudio.c static void setblocksize(struct file *, struct audio_info *, struct proc *); file 77 compat/ossaudio/ossaudio.c struct file *fp; file 88 compat/ossaudio/ossaudio.c int (*ioctlf)(struct file *, u_long, caddr_t, struct proc *); file 544 compat/ossaudio/ossaudio.c struct file *fp; file 575 compat/ossaudio/ossaudio.c int (*ioctlf)(struct file *, u_long, caddr_t, struct proc *) = file 659 compat/ossaudio/ossaudio.c struct file *fp; file 668 compat/ossaudio/ossaudio.c int (*ioctlf)(struct file *, u_long, caddr_t, struct proc *); file 850 compat/ossaudio/ossaudio.c struct file *fp; file 878 compat/ossaudio/ossaudio.c struct file *fp; file 403 compat/sunos/sunos_ioctl.c struct file *fp; file 404 compat/sunos/sunos_ioctl.c int (*ctl)(struct file *, u_long, caddr_t, struct proc *); file 426 compat/sunos/sunos_misc.c struct file *fp; file 524 compat/sunos/sunos_misc.c struct file *fp; file 588 compat/sunos/sunos_misc.c struct file *fp; file 698 compat/sunos/sunos_misc.c struct file *fp; file 854 compat/sunos/sunos_misc.c struct file *fp; file 258 compat/svr4/svr4_fcntl.c struct file *fp; file 344 compat/svr4/svr4_fcntl.c struct file *fp; file 57 compat/svr4/svr4_filio.c struct file *fp; file 67 compat/svr4/svr4_filio.c int (*ctl)(struct file *, u_long, caddr_t, struct proc *) = file 93 compat/svr4/svr4_ioctl.c struct file *fp; file 96 compat/svr4/svr4_ioctl.c int (*fun)(struct file *, struct proc *, register_t *, file 49 compat/svr4/svr4_ioctl.h int svr4_stream_ti_ioctl(struct file *, struct proc *, register_t *, file 51 compat/svr4/svr4_ioctl.h int svr4_stream_ioctl(struct file *, struct proc *, register_t *, file 53 compat/svr4/svr4_ioctl.h int svr4_term_ioctl(struct file *, struct proc *, register_t *, file 55 compat/svr4/svr4_ioctl.h int svr4_ttold_ioctl(struct file *, struct proc *, register_t *, file 57 compat/svr4/svr4_ioctl.h int svr4_fil_ioctl(struct file *, struct proc *, register_t *, file 59 compat/svr4/svr4_ioctl.h int svr4_sock_ioctl(struct file *, struct proc *, register_t *, file 61 compat/svr4/svr4_ioctl.h int svr4_jerq_ioctl(struct file *, struct proc *, register_t *, file 49 compat/svr4/svr4_jioctl.c struct file *fp; file 59 compat/svr4/svr4_jioctl.c int (*ctl)(struct file *, u_long, caddr_t, struct proc *) = file 299 compat/svr4/svr4_misc.c struct file *fp; file 327 compat/svr4/svr4_misc.c struct file *fp; file 424 compat/svr4/svr4_misc.c struct file *fp; file 82 compat/svr4/svr4_net.c static int svr4_soo_close(struct file *fp, struct proc *p); file 110 compat/svr4/svr4_net.c struct file *fp; file 196 compat/svr4/svr4_net.c struct file *fp; file 207 compat/svr4/svr4_net.c struct file *fp; file 79 compat/svr4/svr4_socket.c struct file *fp; file 115 compat/svr4/svr4_socket.c struct file *fp; file 38 compat/svr4/svr4_socket.h struct file; file 40 compat/svr4/svr4_socket.h struct sockaddr_un *svr4_find_socket(struct proc *, struct file *, file 42 compat/svr4/svr4_socket.h void svr4_delete_socket(struct proc *, struct file *); file 80 compat/svr4/svr4_sockio.c struct file *fp; file 88 compat/svr4/svr4_sockio.c int (*ctl)(struct file *, u_long, caddr_t, struct proc *) = file 75 compat/svr4/svr4_stream.c static void getparm(struct file *, struct svr4_si_sockparms *); file 88 compat/svr4/svr4_stream.c static int i_nread(struct file *, struct proc *, register_t *, int, file 90 compat/svr4/svr4_stream.c static int i_fdinsert(struct file *, struct proc *, register_t *, int, file 92 compat/svr4/svr4_stream.c static int i_str(struct file *, struct proc *, register_t *, int, file 94 compat/svr4/svr4_stream.c static int _i_bind_rsvd(struct file *, struct proc *, register_t *, int, file 96 compat/svr4/svr4_stream.c static int _i_rele_rsvd(struct file *, struct proc *, register_t *, int, file 100 compat/svr4/svr4_stream.c static int sockmod(struct file *, int, struct svr4_strioctl *, file 102 compat/svr4/svr4_stream.c static int si_listen(struct file *, int, struct svr4_strioctl *, file 104 compat/svr4/svr4_stream.c static int si_ogetudata(struct file *, int, struct svr4_strioctl *, file 106 compat/svr4/svr4_stream.c static int si_sockparams(struct file *, int, struct svr4_strioctl *, file 108 compat/svr4/svr4_stream.c static int si_shutdown(struct file *, int, struct svr4_strioctl *, file 110 compat/svr4/svr4_stream.c static int si_getudata(struct file *, int, struct svr4_strioctl *, file 114 compat/svr4/svr4_stream.c static int timod(struct file *, int, struct svr4_strioctl *, file 116 compat/svr4/svr4_stream.c static int ti_getinfo(struct file *, int, struct svr4_strioctl *, file 118 compat/svr4/svr4_stream.c static int ti_bind(struct file *, int, struct svr4_strioctl *, file 383 compat/svr4/svr4_stream.c struct file *fp; file 420 compat/svr4/svr4_stream.c struct file *fp; file 476 compat/svr4/svr4_stream.c struct file *fp; file 490 compat/svr4/svr4_stream.c struct file *fp; file 558 compat/svr4/svr4_stream.c struct file *fp; file 614 compat/svr4/svr4_stream.c struct file *fp; file 639 compat/svr4/svr4_stream.c struct file *fp; file 695 compat/svr4/svr4_stream.c struct file *fp; file 736 compat/svr4/svr4_stream.c struct file *fp; file 843 compat/svr4/svr4_stream.c struct file *fp; file 874 compat/svr4/svr4_stream.c struct file *fp; file 1015 compat/svr4/svr4_stream.c struct file *fp; file 1046 compat/svr4/svr4_stream.c struct file *fp; file 1108 compat/svr4/svr4_stream.c struct file *fp; file 1132 compat/svr4/svr4_stream.c struct file *fp; file 1152 compat/svr4/svr4_stream.c struct file *fp; file 1197 compat/svr4/svr4_stream.c struct file *fp; file 1416 compat/svr4/svr4_stream.c struct file *fp; file 1568 compat/svr4/svr4_stream.c struct file *fp; file 150 compat/svr4/svr4_stropts.h struct svr4_strm *svr4_stream_get(struct file *fp); file 520 compat/svr4/svr4_termios.c struct file *fp; file 531 compat/svr4/svr4_termios.c int (*ctl)(struct file *, u_long, caddr_t, struct proc *) = file 187 compat/svr4/svr4_ttold.c struct file *fp; file 195 compat/svr4/svr4_ttold.c int (*ctl)(struct file *, u_long, caddr_t, struct proc *) = file 448 compat/ultrix/ultrix_ioctl.c struct file *fp; file 346 compat/ultrix/ultrix_misc.c struct file *fp; file 184 compat/ultrix/ultrix_pathname.c struct file *fp; file 276 compat/ultrix/ultrix_pathname.c struct file *fp; file 86 crypto/cryptodev.c int cryptof_read(struct file *, off_t *, struct uio *, struct ucred *); file 87 crypto/cryptodev.c int cryptof_write(struct file *, off_t *, struct uio *, struct ucred *); file 88 crypto/cryptodev.c int cryptof_ioctl(struct file *, u_long, caddr_t, struct proc *p); file 89 crypto/cryptodev.c int cryptof_poll(struct file *, int, struct proc *); file 90 crypto/cryptodev.c int cryptof_kqfilter(struct file *, struct knote *); file 91 crypto/cryptodev.c int cryptof_stat(struct file *, struct stat *, struct proc *); file 92 crypto/cryptodev.c int cryptof_close(struct file *, struct proc *); file 125 crypto/cryptodev.c cryptof_read(struct file *fp, off_t *poff, struct uio *uio, struct ucred *cred) file 132 crypto/cryptodev.c cryptof_write(struct file *fp, off_t *poff, struct uio *uio, struct ucred *cred) file 139 crypto/cryptodev.c cryptof_ioctl(struct file *fp, u_long cmd, caddr_t data, struct proc *p) file 596 crypto/cryptodev.c cryptof_poll(struct file *fp, int events, struct proc *p) file 603 crypto/cryptodev.c cryptof_kqfilter(struct file *fp, struct knote *kn) file 610 crypto/cryptodev.c cryptof_stat(struct file *fp, struct stat *sb, struct proc *p) file 617 crypto/cryptodev.c cryptof_close(struct file *fp, struct proc *p) file 669 crypto/cryptodev.c struct file *f; file 10124 dev/ic/aic79xx.c ahd_mode dstmode, const char *file, int line) file 10130 dev/ic/aic79xx.c ahd_name(ahd), file, line); file 34 dev/microcode/myx/build.c myx_build_firmware(u_int32_t *fw, size_t len, const char *file) file 40 dev/microcode/myx/build.c printf("creating %s", file); file 41 dev/microcode/myx/build.c fd = open(file, O_WRONLY|O_CREAT|O_TRUNC, 0644); file 43 dev/microcode/myx/build.c err(1, file); file 50 dev/microcode/myx/build.c err(1, "%s", file); file 54 dev/microcode/myx/build.c errx(1, "%s: short write", file); file 64 dev/raidframe/rf_cvscan.c rf_CheckCvscanState(RF_CvscanHeader_t *hdr, char *file, int line) file 55 dev/raidframe/rf_freelist.h char *file; file 68 dev/raidframe/rf_freelist.h (_fl_)->stats.file = __FILE__; \ file 102 dev/raidframe/rf_freelist.h printf("Freelist at %s %d (%s)\n", (_fl_)->stats.file, \ file 53 dev/raidframe/rf_shutdown.c void *arg, char *file, int line) file 69 dev/raidframe/rf_shutdown.c ent->file = file; file 80 dev/raidframe/rf_shutdown.c char *file; file 85 dev/raidframe/rf_shutdown.c file = r->file; file 89 dev/raidframe/rf_shutdown.c printf("call shutdown, created %s:%d\n", file, line); file 94 dev/raidframe/rf_shutdown.c printf("completed shutdown, created %s:%d\n", file, file 57 dev/raidframe/rf_shutdown.h char *file; file 72 dev/raidframe/rf_threadstuff.c char *file, int line) file 80 dev/raidframe/rf_threadstuff.c rc = _rf_ShutdownCreate(listp, mutex_destroyer, (void *) m, file, line); file 95 dev/raidframe/rf_threadstuff.c char *file, int line) file 103 dev/raidframe/rf_threadstuff.c rc = _rf_ShutdownCreate(listp, cond_destroyer, (void *) c, file, line); file 117 dev/raidframe/rf_threadstuff.c char *file, int line) file 121 dev/raidframe/rf_threadstuff.c rc = _rf_create_managed_mutex(listp, &g->mutex, file, line); file 125 dev/raidframe/rf_threadstuff.c rc = _rf_create_managed_cond(listp, &g->cond, file, line); file 134 dev/raidframe/rf_threadstuff.c _rf_destroy_threadgroup(RF_ThreadGroup_t *g, char *file, int line) file 148 dev/raidframe/rf_threadstuff.c _rf_init_threadgroup(RF_ThreadGroup_t *g, char *file, int line) file 67 dev/systrace.c int systracef_read(struct file *, off_t *, struct uio *, struct ucred *); file 68 dev/systrace.c int systracef_write(struct file *, off_t *, struct uio *, struct ucred *); file 69 dev/systrace.c int systracef_ioctl(struct file *, u_long, caddr_t, struct proc *p); file 70 dev/systrace.c int systracef_poll(struct file *, int, struct proc *); file 71 dev/systrace.c int systracef_kqfilter(struct file *, struct knote *); file 72 dev/systrace.c int systracef_stat(struct file *, struct stat *, struct proc *); file 73 dev/systrace.c int systracef_close(struct file *, struct proc *); file 204 dev/systrace.c struct file *fp; file 255 dev/systrace.c struct file *fp; file 270 dev/systrace.c struct file *fp; file 414 dev/systrace.c struct file *fp; file 439 dev/systrace.c struct file *fp; file 448 dev/systrace.c struct file *fp; file 458 dev/systrace.c struct file *fp; file 559 dev/systrace.c struct file *f; file 183 kern/exec_script.c struct file *fp; file 76 kern/kern_descrip.c int finishdup(struct proc *, struct file *, int, int, register_t *); file 85 kern/kern_descrip.c pool_init(&file_pool, sizeof(struct file), 0, 0, 0, "filepl", file 127 kern/kern_descrip.c struct file **ofiles = fd->fd_ofiles; file 179 kern/kern_descrip.c struct file * file 182 kern/kern_descrip.c struct file *fp; file 209 kern/kern_descrip.c struct file *fp; file 247 kern/kern_descrip.c struct file *fp; file 302 kern/kern_descrip.c struct file *fp; file 502 kern/kern_descrip.c finishdup(struct proc *p, struct file *fp, int old, int new, register_t *retval) file 504 kern/kern_descrip.c struct file *oldfp; file 548 kern/kern_descrip.c struct file **fpp, *fp; file 602 kern/kern_descrip.c struct file *fp; file 637 kern/kern_descrip.c struct file *fp; file 725 kern/kern_descrip.c struct file **newofile; file 745 kern/kern_descrip.c (i = sizeof(struct file *) * fdp->fd_nfiles)); file 746 kern/kern_descrip.c bzero((char *)newofile + i, nfiles * sizeof(struct file *) - i); file 787 kern/kern_descrip.c falloc(struct proc *p, struct file **resultfp, int *resultfd) file 789 kern/kern_descrip.c struct file *fp, *fq; file 813 kern/kern_descrip.c bzero(fp, sizeof(struct file)); file 887 kern/kern_descrip.c struct file **fpp; file 933 kern/kern_descrip.c bcopy(fdp->fd_ofiles, newfdp->fd_ofiles, i * sizeof(struct file **)); file 975 kern/kern_descrip.c struct file **fpp, *fp; file 1016 kern/kern_descrip.c closef(struct file *fp, struct proc *p) file 1111 kern/kern_descrip.c struct file *fp; file 1178 kern/kern_descrip.c struct file *wfp; file 55 kern/kern_event.c int kqueue_scan(struct file *fp, int maxevents, file 59 kern/kern_event.c int kqueue_read(struct file *fp, off_t *poff, struct uio *uio, file 61 kern/kern_event.c int kqueue_write(struct file *fp, off_t *poff, struct uio *uio, file 63 kern/kern_event.c int kqueue_ioctl(struct file *fp, u_long com, caddr_t data, file 65 kern/kern_event.c int kqueue_poll(struct file *fp, int events, struct proc *p); file 66 kern/kern_event.c int kqueue_kqfilter(struct file *fp, struct knote *kn); file 67 kern/kern_event.c int kqueue_stat(struct file *fp, struct stat *st, struct proc *p); file 68 kern/kern_event.c int kqueue_close(struct file *fp, struct proc *p); file 155 kern/kern_event.c struct file *fp = kn->kn_fp; file 161 kern/kern_event.c kqueue_kqfilter(struct file *fp, struct knote *kn) file 384 kern/kern_event.c struct file *fp; file 419 kern/kern_event.c struct file *fp; file 487 kern/kern_event.c struct file *fp = NULL; file 617 kern/kern_event.c kqueue_scan(struct file *fp, int maxevents, struct kevent *ulistp, file 754 kern/kern_event.c kqueue_read(struct file *fp, off_t *poff, struct uio *uio, struct ucred *cred) file 761 kern/kern_event.c kqueue_write(struct file *fp, off_t *poff, struct uio *uio, struct ucred *cred) file 769 kern/kern_event.c kqueue_ioctl(struct file *fp, u_long com, caddr_t data, struct proc *p) file 776 kern/kern_event.c kqueue_poll(struct file *fp, int events, struct proc *p) file 796 kern/kern_event.c kqueue_stat(struct file *fp, struct stat *st, struct proc *p) file 809 kern/kern_event.c kqueue_close(struct file *fp, struct proc *p) file 515 kern/kern_exec.c struct file *fp = NULL; file 293 kern/kern_lock.c lkp->lk_unlock_file = file; file 342 kern/kern_lock.c lkp->lk_lock_file = file; file 363 kern/kern_lock.c lkp->lk_unlock_file = file; file 406 kern/kern_lock.c lkp->lk_lock_file = file; file 923 kern/kern_sysctl.c struct file *fp; file 931 kern/kern_sysctl.c *sizep = sizeof(filehead) + (nfiles + 10) * sizeof(struct file); file 952 kern/kern_sysctl.c if (buflen < sizeof(struct file)) { file 956 kern/kern_sysctl.c error = copyout((caddr_t)fp, where, sizeof (struct file)); file 959 kern/kern_sysctl.c buflen -= sizeof(struct file); file 960 kern/kern_sysctl.c where += sizeof(struct file); file 198 kern/subr_pool.c pr_log(struct pool *pp, void *v, int action, const char *file, long line) file 211 kern/subr_pool.c pl->pl_file = file; file 251 kern/subr_pool.c pr_enter(struct pool *pp, const char *file, long line) file 256 kern/subr_pool.c pp->pr_wchan, file, line); file 262 kern/subr_pool.c pp->pr_entered_file = file; file 288 kern/subr_pool.c #define pr_log(pp, v, action, file, line) file 290 kern/subr_pool.c #define pr_enter(pp, file, line) file 618 kern/subr_pool.c _pool_get(struct pool *pp, int flags, const char *file, long line) file 654 kern/subr_pool.c pr_enter(pp, file, line); file 678 kern/subr_pool.c pr_enter(pp, file, line); file 724 kern/subr_pool.c pr_enter(pp, file, line); file 756 kern/subr_pool.c pr_enter(pp, file, line); file 783 kern/subr_pool.c pr_log(pp, v, PRLOG_GET, file, line); file 972 kern/subr_pool.c _pool_put(struct pool *pp, void *v, const char *file, long line) file 976 kern/subr_pool.c pr_enter(pp, file, line); file 978 kern/subr_pool.c pr_log(pp, v, PRLOG_PUT, file, line); file 1241 kern/subr_pool.c _pool_reclaim(struct pool *pp, const char *file, long line) file 1253 kern/subr_pool.c pr_enter(pp, file, line); file 82 kern/sys_generic.c struct file *fp; file 98 kern/sys_generic.c dofileread(struct proc *p, int fd, struct file *fp, void *buf, size_t nbyte, file 166 kern/sys_generic.c struct file *fp; file 182 kern/sys_generic.c dofilereadv(struct proc *p, int fd, struct file *fp, const struct iovec *iovp, file 281 kern/sys_generic.c struct file *fp; file 297 kern/sys_generic.c dofilewrite(struct proc *p, int fd, struct file *fp, const void *buf, file 368 kern/sys_generic.c struct file *fp; file 384 kern/sys_generic.c dofilewritev(struct proc *p, int fd, struct file *fp, const struct iovec *iovp, file 485 kern/sys_generic.c struct file *fp; file 743 kern/sys_generic.c struct file *fp; file 832 kern/sys_generic.c struct file *fp; file 51 kern/sys_pipe.c int pipe_read(struct file *, off_t *, struct uio *, struct ucred *); file 52 kern/sys_pipe.c int pipe_write(struct file *, off_t *, struct uio *, struct ucred *); file 53 kern/sys_pipe.c int pipe_close(struct file *, struct proc *); file 54 kern/sys_pipe.c int pipe_poll(struct file *, int events, struct proc *); file 55 kern/sys_pipe.c int pipe_kqfilter(struct file *fp, struct knote *kn); file 56 kern/sys_pipe.c int pipe_ioctl(struct file *, u_long, caddr_t, struct proc *); file 57 kern/sys_pipe.c int pipe_stat(struct file *fp, struct stat *ub, struct proc *p); file 107 kern/sys_pipe.c struct file *rf, *wf; file 266 kern/sys_pipe.c pipe_read(struct file *fp, off_t *poff, struct uio *uio, struct ucred *cred) file 383 kern/sys_pipe.c pipe_write(struct file *fp, off_t *poff, struct uio *uio, struct ucred *cred) file 606 kern/sys_pipe.c pipe_ioctl(struct file *fp, u_long cmd, caddr_t data, struct proc *p) file 640 kern/sys_pipe.c pipe_poll(struct file *fp, int events, struct proc *p) file 677 kern/sys_pipe.c pipe_stat(struct file *fp, struct stat *ub, struct proc *p) file 700 kern/sys_pipe.c pipe_close(struct file *fp, struct proc *p) file 766 kern/sys_pipe.c pipe_kqfilter(struct file *fp, struct knote *kn) file 57 kern/sys_socket.c soo_read(struct file *fp, off_t *poff, struct uio *uio, struct ucred *cred) file 66 kern/sys_socket.c soo_write(struct file *fp, off_t *poff, struct uio *uio, struct ucred *cred) file 74 kern/sys_socket.c soo_ioctl(struct file *fp, u_long cmd, caddr_t data, struct proc *p) file 131 kern/sys_socket.c soo_poll(struct file *fp, int events, struct proc *p) file 164 kern/sys_socket.c soo_stat(struct file *fp, struct stat *ub, struct proc *p) file 177 kern/sys_socket.c soo_close(struct file *fp, struct proc *p) file 1100 kern/tty_pty.c struct file *cfp = NULL, *sfp = NULL; file 1196 kern/uipc_socket.c soo_kqfilter(struct file *fp, struct knote *kn) file 72 kern/uipc_syscalls.c struct file *fp; file 106 kern/uipc_syscalls.c struct file *fp; file 130 kern/uipc_syscalls.c struct file *fp; file 148 kern/uipc_syscalls.c struct file *fp, *headfp; file 263 kern/uipc_syscalls.c struct file *fp; file 319 kern/uipc_syscalls.c struct file *fp1, *fp2; file 448 kern/uipc_syscalls.c struct file *fp; file 628 kern/uipc_syscalls.c struct file *fp; file 784 kern/uipc_syscalls.c struct file *fp; file 805 kern/uipc_syscalls.c struct file *fp; file 856 kern/uipc_syscalls.c struct file *fp; file 923 kern/uipc_syscalls.c struct file *fp; file 963 kern/uipc_syscalls.c struct file *fp; file 1006 kern/uipc_syscalls.c struct file *fp; file 1082 kern/uipc_syscalls.c getsock(struct filedesc *fdp, int fdes, struct file **fpp) file 1084 kern/uipc_syscalls.c struct file *fp; file 616 kern/uipc_usrreq.c struct file **rp; file 617 kern/uipc_usrreq.c struct file *fp; file 621 kern/uipc_usrreq.c sizeof(struct file *); file 622 kern/uipc_usrreq.c rp = (struct file **)CMSG_DATA(cm); file 629 kern/uipc_usrreq.c rp = (struct file **)CMSG_DATA(cm); file 653 kern/uipc_usrreq.c rp = ((struct file **)CMSG_DATA(cm)); file 670 kern/uipc_usrreq.c rp = ((struct file **)CMSG_DATA(cm)); file 708 kern/uipc_usrreq.c rp = (struct file **)CMSG_DATA(cm); file 733 kern/uipc_usrreq.c struct file **rp, *fp; file 744 kern/uipc_usrreq.c neededspace = CMSG_SPACE(nfds * sizeof(struct file *)) - file 763 kern/uipc_usrreq.c cm->cmsg_len = CMSG_LEN(nfds * sizeof(struct file *)); file 764 kern/uipc_usrreq.c control->m_len = CMSG_SPACE(nfds * sizeof(struct file *)); file 767 kern/uipc_usrreq.c rp = ((struct file **)CMSG_DATA(cm)) + nfds - 1; file 806 kern/uipc_usrreq.c struct file *fp, *nextfp; file 808 kern/uipc_usrreq.c struct file **extra_ref, **fpp; file 896 kern/uipc_usrreq.c extra_ref = malloc(nfiles * sizeof(struct file *), M_FILE, M_WAITOK); file 927 kern/uipc_usrreq.c unp_scan(struct mbuf *m0, void (*op)(struct file *), int discard) file 930 kern/uipc_usrreq.c struct file **rp, *fp; file 944 kern/uipc_usrreq.c / sizeof(struct file *); file 945 kern/uipc_usrreq.c rp = (struct file **)CMSG_DATA(cm); file 961 kern/uipc_usrreq.c unp_mark(struct file *fp) file 981 kern/uipc_usrreq.c unp_discard(struct file *fp) file 598 kern/vfs_syscalls.c struct file *fp; file 702 kern/vfs_syscalls.c struct file *fp; file 829 kern/vfs_syscalls.c struct file *fp; file 972 kern/vfs_syscalls.c struct file *fp; file 1395 kern/vfs_syscalls.c struct file *fp; file 1679 kern/vfs_syscalls.c struct file *fp; file 1758 kern/vfs_syscalls.c struct file *fp; file 1891 kern/vfs_syscalls.c struct file *fp; file 1989 kern/vfs_syscalls.c struct file *fp; file 2073 kern/vfs_syscalls.c struct file *fp; file 2110 kern/vfs_syscalls.c struct file *fp; file 2316 kern/vfs_syscalls.c struct file *fp; file 2413 kern/vfs_syscalls.c getvnode(struct filedesc *fdp, int fd, struct file **fpp) file 2415 kern/vfs_syscalls.c struct file *fp; file 2448 kern/vfs_syscalls.c struct file *fp; file 2486 kern/vfs_syscalls.c struct file *fp; file 2524 kern/vfs_syscalls.c struct file *fp; file 2562 kern/vfs_syscalls.c struct file *fp; file 59 kern/vfs_vnops.c int vn_read(struct file *, off_t *, struct uio *, struct ucred *); file 60 kern/vfs_vnops.c int vn_write(struct file *, off_t *, struct uio *, struct ucred *); file 61 kern/vfs_vnops.c int vn_poll(struct file *, int, struct proc *); file 62 kern/vfs_vnops.c int vn_kqfilter(struct file *, struct knote *); file 63 kern/vfs_vnops.c int vn_closefile(struct file *, struct proc *); file 283 kern/vfs_vnops.c vn_read(struct file *fp, off_t *poff, struct uio *uio, struct ucred *cred) file 305 kern/vfs_vnops.c vn_write(struct file *fp, off_t *poff, struct uio *uio, struct ucred *cred) file 335 kern/vfs_vnops.c vn_statfile(struct file *fp, struct stat *sb, struct proc *p) file 405 kern/vfs_vnops.c vn_ioctl(struct file *fp, u_long com, caddr_t data, struct proc *p) file 446 kern/vfs_vnops.c vn_poll(struct file *fp, int events, struct proc *p) file 481 kern/vfs_vnops.c vn_closefile(struct file *fp, struct proc *p) file 488 kern/vfs_vnops.c vn_kqfilter(struct file *fp, struct knote *kn) file 59 lib/libsa/cd9660.c struct file { file 133 lib/libsa/cd9660.c struct file *fp = 0; file 261 lib/libsa/cd9660.c fp = alloc(sizeof(struct file)); file 262 lib/libsa/cd9660.c bzero(fp, sizeof(struct file)); file 274 lib/libsa/cd9660.c free(fp, sizeof(struct file)); file 283 lib/libsa/cd9660.c struct file *fp = (struct file *)f->f_fsdata; file 294 lib/libsa/cd9660.c struct file *fp = (struct file *)f->f_fsdata; file 351 lib/libsa/cd9660.c struct file *fp = (struct file *)f->f_fsdata; file 372 lib/libsa/cd9660.c struct file *fp = (struct file *)f->f_fsdata; file 81 lib/libsa/open.c char *file; file 97 lib/libsa/open.c file = (char *)0; file 98 lib/libsa/open.c error = devopen(f, fname, &file); file 104 lib/libsa/open.c if (file == (char *)0 || *file == '\0') { file 112 lib/libsa/open.c error = (file_system[i].open)(file, f); file 80 lib/libsa/ufs.c struct file { file 111 lib/libsa/ufs.c struct file *fp = (struct file *)f->f_fsdata; file 162 lib/libsa/ufs.c struct file *fp = (struct file *)f->f_fsdata; file 259 lib/libsa/ufs.c struct file *fp = (struct file *)f->f_fsdata; file 317 lib/libsa/ufs.c struct file *fp = (struct file *)f->f_fsdata; file 365 lib/libsa/ufs.c struct file *fp; file 370 lib/libsa/ufs.c fp = alloc(sizeof(struct file)); file 371 lib/libsa/ufs.c bzero(fp, sizeof(struct file)); file 531 lib/libsa/ufs.c free(fp, sizeof(struct file)); file 539 lib/libsa/ufs.c struct file *fp = (struct file *)f->f_fsdata; file 543 lib/libsa/ufs.c if (fp == (struct file *)0) file 553 lib/libsa/ufs.c free(fp, sizeof(struct file)); file 564 lib/libsa/ufs.c struct file *fp = (struct file *)f->f_fsdata; file 605 lib/libsa/ufs.c struct file *fp = (struct file *)f->f_fsdata; file 626 lib/libsa/ufs.c struct file *fp = (struct file *)f->f_fsdata; file 640 lib/libsa/ufs.c struct file *fp = (struct file *)f->f_fsdata; file 67 lib/libsa/unixdev.c char **file, *p = NULL; file 72 lib/libsa/unixdev.c file = va_arg(ap, char **); file 76 lib/libsa/unixdev.c printf("unixopen: %s\n", *file); file 79 lib/libsa/unixdev.c if (strncmp("/dev/", *file, 5) == 0) { file 81 lib/libsa/unixdev.c for (p = *file + 5; *p != '\0' && *p != '/'; p++) file 87 lib/libsa/unixdev.c f->f_devdata = (void *)(fd = uopen(*file, O_RDWR, 0)); file 89 lib/libsa/unixdev.c *file = p; file 1099 lib/libz/zlib.h ZEXTERN int ZEXPORT gzsetparams OF((gzFile file, int level, int strategy)); file 1107 lib/libz/zlib.h ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); file 1115 lib/libz/zlib.h ZEXTERN int ZEXPORT gzwrite OF((gzFile file, file 1123 lib/libz/zlib.h ZEXTERN int ZEXPORTVA gzprintf OF((gzFile file, const char *format, ...)); file 1136 lib/libz/zlib.h ZEXTERN int ZEXPORT gzputs OF((gzFile file, const char *s)); file 1143 lib/libz/zlib.h ZEXTERN char * ZEXPORT gzgets OF((gzFile file, char *buf, int len)); file 1152 lib/libz/zlib.h ZEXTERN int ZEXPORT gzputc OF((gzFile file, int c)); file 1158 lib/libz/zlib.h ZEXTERN int ZEXPORT gzgetc OF((gzFile file)); file 1164 lib/libz/zlib.h ZEXTERN int ZEXPORT gzungetc OF((int c, gzFile file)); file 1174 lib/libz/zlib.h ZEXTERN int ZEXPORT gzflush OF((gzFile file, int flush)); file 1184 lib/libz/zlib.h ZEXTERN z_off_t ZEXPORT gzseek OF((gzFile file, file 1202 lib/libz/zlib.h ZEXTERN int ZEXPORT gzrewind OF((gzFile file)); file 1209 lib/libz/zlib.h ZEXTERN z_off_t ZEXPORT gztell OF((gzFile file)); file 1218 lib/libz/zlib.h ZEXTERN int ZEXPORT gzeof OF((gzFile file)); file 1224 lib/libz/zlib.h ZEXTERN int ZEXPORT gzdirect OF((gzFile file)); file 1230 lib/libz/zlib.h ZEXTERN int ZEXPORT gzclose OF((gzFile file)); file 1237 lib/libz/zlib.h ZEXTERN const char * ZEXPORT gzerror OF((gzFile file, int *errnum)); file 1246 lib/libz/zlib.h ZEXTERN void ZEXPORT gzclearerr OF((gzFile file)); file 292 miscfs/fifofs/fifo_vnops.c struct file filetmp; file 317 miscfs/fifofs/fifo_vnops.c struct file filetmp; file 55 miscfs/portal/portal.h struct file *pm_server; /* Held reference to server socket */ file 79 miscfs/portal/portal_vfsops.c struct file *fp; file 289 miscfs/portal/portal_vnops.c struct file *fp; file 347 nfs/nfs.h struct file *ns_fp; file 128 nfs/nfs_syscalls.c struct file *fp; file 199 nfs/nfs_syscalls.c struct file *fp; file 558 nfs/nfs_syscalls.c struct file *fp; file 48 nfs/nfs_var.h struct file; file 280 nfs/nfs_var.h int nfssvc_addsock(struct file *, struct mbuf *); file 146 sys/event.h struct file *p_fp; /* file data pointer */ file 45 sys/file.h struct file; file 48 sys/file.h int (*fo_read)(struct file *, off_t *, struct uio *, file 50 sys/file.h int (*fo_write)(struct file *, off_t *, struct uio *, file 52 sys/file.h int (*fo_ioctl)(struct file *, u_long, caddr_t, file 54 sys/file.h int (*fo_poll)(struct file *, int, struct proc *); file 55 sys/file.h int (*fo_kqfilter)(struct file *, struct knote *); file 56 sys/file.h int (*fo_stat)(struct file *, struct stat *, struct proc *); file 57 sys/file.h int (*fo_close)(struct file *, struct proc *); file 64 sys/file.h struct file { file 65 sys/file.h LIST_ENTRY(file) f_list;/* list of active files */ file 107 sys/file.h LIST_HEAD(filelist, file); file 113 sys/file.h int dofileread(struct proc *, int, struct file *, void *, size_t, file 115 sys/file.h int dofilewrite(struct proc *, int, struct file *, const void *, file 60 sys/filedesc.h struct file **fd_ofiles; /* file structures for open files */ file 89 sys/filedesc.h struct file *fd_dfiles[NDFILE]; file 107 sys/filedesc.h #define OFILESIZE (sizeof(struct file *) + sizeof(char)) file 118 sys/filedesc.h int falloc(struct proc *p, struct file **resultfp, int *resultfd); file 126 sys/filedesc.h struct file *fd_getfile(struct filedesc *, int fd); file 128 sys/filedesc.h int closef(struct file *, struct proc *); file 129 sys/filedesc.h int getsock(struct filedesc *, int, struct file **); file 226 sys/mbuf.h #define MCLREFDEBUGN(m, file, line) do { \ file 227 sys/mbuf.h (m)->m_ext.ext_nfile = (file); \ file 230 sys/mbuf.h #define MCLREFDEBUGO(m, file, line) do { \ file 231 sys/mbuf.h (m)->m_ext.ext_ofile = (file); \ file 235 sys/mbuf.h #define MCLREFDEBUGN(m, file, line) file 236 sys/mbuf.h #define MCLREFDEBUGO(m, file, line) file 244 sys/socketvar.h int soo_read(struct file *fp, off_t *, struct uio *uio, file 246 sys/socketvar.h int soo_write(struct file *fp, off_t *, struct uio *uio, file 248 sys/socketvar.h int soo_ioctl(struct file *fp, u_long cmd, caddr_t data, file 250 sys/socketvar.h int soo_poll(struct file *fp, int events, struct proc *p); file 251 sys/socketvar.h int soo_kqfilter(struct file *fp, struct knote *kn); file 252 sys/socketvar.h int soo_close(struct file *fp, struct proc *p); file 253 sys/socketvar.h int soo_stat(struct file *, struct stat *, struct proc *); file 235 sys/types.h struct file; file 84 sys/uio.h int dofilereadv(struct proc *, int, struct file *, file 86 sys/uio.h int dofilewritev(struct proc *, int, struct file *, file 56 sys/un.h void unp_discard(struct file *fp); file 60 sys/un.h void unp_mark(struct file *fp); file 61 sys/un.h void unp_scan(struct mbuf *m0, void (*op)(struct file *), int); file 376 sys/vnode.h struct file; file 437 sys/vnode.h int vn_statfile(struct file *, struct stat *, struct proc *); file 440 sys/vnode.h int vn_ioctl(struct file *, u_long, caddr_t, struct proc *); file 451 sys/vnode.h int getvnode(struct filedesc *, int, struct file **); file 164 uvm/uvm_mmap.c struct file *fp; file 401 uvm/uvm_mmap.c struct file *fp = NULL; file 433 xfs/xfs_vfsops-bsd.c struct file *fp;