| /xnu-11215/bsd/sys/ |
| H A D | file_internal.h | 120 struct fileproc { struct 131 __CCT_DECLARE_CONSTRAINED_PTR_TYPES(struct fileproc, fileproc); 132 #define FILEPROC_NULL ((struct fileproc *)0) 169 int (*fo_ioctl)(struct fileproc *fp, u_long com, 362 fp_get_data(struct fileproc *fp) in fp_get_data() 381 fp_get_data_volatile(struct fileproc *fp) in fp_get_data_volatile() 399 fp_set_data(struct fileproc *fp, void *fg_data) in fp_set_data() 459 extern struct fileproc * 485 extern struct fileproc * 550 extern void fileproc_free(struct fileproc *fp); [all …]
|
| H A D | mman.h | 308 struct fileproc; 315 struct fileproc *fp, 325 struct fileproc; 326 int pshm_truncate(struct proc *p, struct fileproc *fp, int fd, off_t length, int32_t *retval);
|
| H A D | filedesc.h | 143 …struct fileproc **XNU_PTRAUTH_SIGNED_PTR("filedesc.fd_ofiles") fd_ofiles; /* (L) file structures… 213 struct fileproc *fdti_fp; 432 typedef void (*fp_initfn_t)(struct fileproc *, void *ctx); 437 struct fileproc **resultfp,
|
| H A D | file.h | 99 struct fileproc; 101 int fp_getfvp(struct proc *p, int fd, struct fileproc **resultfp, struct vnode **resultvp);
|
| H A D | event_private.h | 456 struct fileproc *XNU_PTRAUTH_SIGNED_PTR("knote.fp") kn_fp; 546 struct fileproc *kec_fp; /* fileproc to pass to fp_drop or NULL */
|
| H A D | socketvar.h | 1002 extern int soo_ioctl(struct fileproc *, u_long cmd, 1005 extern int soo_select(struct fileproc *, int, void *, vfs_context_t); 1006 extern int soo_kqfilter(struct fileproc *, struct knote *, struct kevent_qos_s *);
|
| /xnu-11215/bsd/kern/ |
| H A D | sys_socket.c | 95 static int soo_read(struct fileproc *, struct uio *, int, vfs_context_t ctx); 96 static int soo_write(struct fileproc *, struct uio *, int, vfs_context_t ctx); 98 static int soo_drain(struct fileproc *, vfs_context_t ctx); 113 soo_read(struct fileproc *fp, struct uio *uio, __unused int flags, in soo_read() 136 soo_write(struct fileproc *fp, struct uio *uio, __unused int flags, in soo_write() 287 soo_ioctl(struct fileproc *fp, u_long cmd, caddr_t __sized_by(IOCPARM_LEN(cmd)) data, vfs_context_t… in soo_ioctl() 301 soo_select(struct fileproc *fp, int which, void *wql, vfs_context_t ctx) in soo_select() 425 soo_drain(struct fileproc *fp, __unused vfs_context_t ctx) in soo_drain()
|
| H A D | kern_descrip.c | 529 struct fileproc *nfp; in finishdup() 530 struct fileproc *ofp; in finishdup() 687 struct fileproc *fp; in fdt_next() 713 struct fileproc *fp; in fdt_prev() 1110 struct fileproc * 1113 struct fileproc *fp; in fileproc_alloc_init() 1338 struct fileproc *fp; in falloc_withinit() 1424 struct fileproc * 1428 struct fileproc *fp; in fp_get_noref_locked() 1440 struct fileproc * [all …]
|
| H A D | kern_guarded.c | 100 guarded_fileproc_init(struct fileproc *fp, void *initarg) in guarded_fileproc_init() 115 guarded_fileproc_copy_guard(struct fileproc *ofp, struct fileproc *nfp) in guarded_fileproc_copy_guard() 130 guarded_fileproc_unguard(struct fileproc *fp) in guarded_fileproc_unguard() 142 struct fileproc **fpp) in fp_lookup_guarded_locked() 145 struct fileproc *fp; in fp_lookup_guarded_locked() 167 struct fileproc **fpp, int locked) in fp_lookup_guarded() 194 fp_isguarded(struct fileproc *fp, u_int attrs) in fp_isguarded() 438 struct fileproc *fp; in guarded_close_np() 523 struct fileproc *fp; in change_fdguard_np() 927 struct fileproc *fp; in vnguard_sysc_getguardattr() [all …]
|
| H A D | sys_pipe.c | 171 static int pipe_read(struct fileproc *fp, struct uio *uio, 173 static int pipe_write(struct fileproc *fp, struct uio *uio, 176 static int pipe_select(struct fileproc *fp, int which, void * wql, 178 static int pipe_kqfilter(struct fileproc *fp, struct knote *kn, 180 static int pipe_ioctl(struct fileproc *fp, u_long cmd, caddr_t data, 182 static int pipe_drain(struct fileproc *fp, vfs_context_t ctx); 394 struct fileproc *rf, *wf; in pipe() 749 pipe_read(struct fileproc *fp, struct uio *uio, __unused int flags, in pipe_read() 1187 pipe_ioctl(struct fileproc *fp, u_long cmd, caddr_t data, in pipe_ioctl() 1587 pipe_kqfilter(struct fileproc *fp, struct knote *kn, in pipe_kqfilter() [all …]
|
| H A D | sys_generic.c | 197 valid_for_random_access(struct fileproc *fp) in valid_for_random_access() 228 struct fileproc *fp; in preparefileread() 299 dofileread(vfs_context_t ctx, struct fileproc *fp, in dofileread() 328 struct fileproc *fp = NULL; in readv_internal() 524 struct fileproc *fp; in preparefilewrite() 627 dofilewrite(vfs_context_t ctx, struct fileproc *fp, in dofilewrite() 656 struct fileproc *fp = NULL; in writev_internal() 844 struct fileproc *fp = NULL; in ioctl() 1581 struct fileproc *fp; in selscan() 1943 struct fileproc *fp; in selcount() [all …]
|
| H A D | posix_sem.c | 381 struct fileproc *fp = NULL; in sem_open() 786 struct fileproc *fp; in sem_close() 815 struct fileproc *fp; in sem_wait_nocancel() 873 struct fileproc *fp; in sem_trywait() 937 struct fileproc *fp; in sem_post() 1095 psem_label_associate(struct fileproc *fp, struct vnode *vp, vfs_context_t ctx) in psem_label_associate()
|
| H A D | proc_info.c | 214 static void fill_fileinfo(struct fileproc *fp, proc_t proc, struct proc_fileinfo * finfo); 490 struct fileproc *fp; in proc_fdlist_internal() 2538 pid_vnodeinfo(vnode_t vp, struct fileproc * fp, proc_t proc, user_addr_t buffer, __unused uint32_t… in pid_vnodeinfo() 2561 pid_vnodeinfopath(vnode_t vp, struct fileproc * fp, proc_t proc, user_addr_t buffer, __unused uint… in pid_vnodeinfopath() 2589 fill_fileinfo(struct fileproc * fp, proc_t proc, struct proc_fileinfo * fproc) in fill_fileinfo() 2662 pid_socketinfo(socket_t so, struct fileproc *fp, proc_t proc, user_addr_t buffer, __unused uint32_… in pid_socketinfo() 2684 pid_pseminfo(struct psemnode *psem, struct fileproc *fp, proc_t proc, user_addr_t buffer, __unused… in pid_pseminfo() 2720 pid_pipeinfo(struct pipe * p, struct fileproc *fp, proc_t proc, user_addr_t buffer, __unused uint… in pid_pipeinfo() 2737 pid_kqueueinfo(struct kqueue * kq, struct fileproc *fp, proc_t proc, user_addr_t buffer, __unused … in pid_kqueueinfo() 2786 struct fileproc *fp = NULL; in proc_pidfdinfo() [all …]
|
| H A D | mach_loader.h | 113 struct fileproc* dynlinker_fp;
|
| H A D | posix_shm.c | 345 struct fileproc *fp = NULL; in shm_open() 539 struct fileproc *fp, in pshm_truncate() 741 struct fileproc *fp, in pshm_mmap() 1119 pshm_label_associate(struct fileproc *fp, struct vnode *vp, vfs_context_t ctx) in pshm_label_associate()
|
| H A D | kern_aio.c | 271 extern int dofileread(vfs_context_t ctx, struct fileproc *fp, 274 extern int dofilewrite(vfs_context_t ctx, struct fileproc *fp, 1799 struct fileproc *fp; in aio_validate() 1966 struct fileproc *fp; in do_aio_read() 1995 struct fileproc *fp; in do_aio_write() 2062 struct fileproc *fp; in do_aio_fsync()
|
| /xnu-11215/bsd/skywalk/nexus/ |
| H A D | nexus_syscalls.c | 39 static int nxop_ioctl(struct fileproc *, u_long, caddr_t, vfs_context_t); 54 nxop_ioctl(struct fileproc *fp, u_long cmd, caddr_t data, vfs_context_t ctx) in nxop_ioctl() 86 struct fileproc *__single fp = NULL; in __nexus_open() 174 struct fileproc *__single fp; in __nexus_register() 252 struct fileproc *__single fp; in __nexus_deregister() 297 struct fileproc *__single fp; in __nexus_create() 364 struct fileproc *__single fp; in __nexus_destroy() 410 struct fileproc *__single fp; in __nexus_get_opt() 473 struct fileproc *__single fp; in __nexus_set_opt()
|
| H A D | nexus_var.h | 79 struct fileproc *nxctl_fp; 504 extern struct nxctl *nxctl_create(struct proc *, struct fileproc *,
|
| /xnu-11215/bsd/skywalk/channel/ |
| H A D | channel_syscalls.c | 40 static int chop_select(struct fileproc *, int, void *, vfs_context_t); 42 static int chop_kqfilter(struct fileproc *, struct knote *, struct kevent_qos_s *); 74 chop_select(struct fileproc *fp, int which, void *wql, vfs_context_t ctx) in chop_select() 126 chop_kqfilter(struct fileproc *fp, struct knote *kn, struct kevent_qos_s *kev) in chop_kqfilter() 137 struct fileproc *__single fp = NULL; in __channel_open() 307 struct fileproc *__single fp; in __channel_get_info() 376 struct fileproc *__single fp; in __channel_sync() 691 struct fileproc *__single fp; in __channel_get_opt() 755 struct fileproc *__single fp; in __channel_set_opt()
|
| /xnu-11215/bsd/tests/ |
| H A D | vm_parameter_validation_kern_bsd.c | 13 struct fileproc * fp; 22 struct fileproc *fp = NULL; in get_control_from_fd()
|
| /xnu-11215/bsd/miscfs/fifofs/ |
| H A D | fifo_vnops.c | 403 struct fileproc filetmp; in fifo_ioctl() 410 bzero(&filetmp, sizeof(struct fileproc)); in fifo_ioctl() 436 struct fileproc filetmp; in fifo_select() 440 bzero(&filetmp, sizeof(struct fileproc)); in fifo_select()
|
| /xnu-11215/bsd/vfs/ |
| H A D | vfs_vnops.c | 115 static int vn_ioctl(struct fileproc *fp, u_long com, caddr_t data, 117 static int vn_read(struct fileproc *fp, struct uio *uio, int flags, 119 static int vn_write(struct fileproc *fp, struct uio *uio, int flags, 121 static int vn_select( struct fileproc *fp, int which, void * wql, 123 static int vn_kqfilter(struct fileproc *fp, struct knote *kn, 1155 vn_read(struct fileproc *fp, struct uio *uio, int flags, vfs_context_t ctx) in vn_read() 1209 vn_write(struct fileproc *fp, struct uio *uio, int flags, vfs_context_t ctx) in vn_write() 1676 vn_ioctl(struct fileproc *fp, u_long com, caddr_t data, vfs_context_t ctx) in vn_ioctl() 1787 vn_select(struct fileproc *fp, int which, void *wql, __unused vfs_context_t ctx) in vn_select() 1938 vn_kqfilter(struct fileproc *fp, struct knote *kn, struct kevent_qos_s *kev) in vn_kqfilter() [all …]
|
| H A D | vfs_fsevents.c | 2182 fseventsf_read(struct fileproc *fp, struct uio *uio, in fseventsf_read() 2209 fseventsf_ioctl(struct fileproc *fp, u_long cmd, caddr_t data, vfs_context_t ctx) in fseventsf_ioctl() 2340 fseventsf_select(struct fileproc *fp, int which, __unused void *wql, vfs_context_t ctx) in fseventsf_select() 2367 fseventsf_stat(__unused struct fileproc *fp, __unused struct stat *sb, __unused vfs_context_t ctx) in fseventsf_stat() 2518 fseventsf_kqfilter(struct fileproc *fp, struct knote *kn, in fseventsf_kqfilter() 2541 fseventsf_drain(struct fileproc *fp, __unused vfs_context_t ctx) in fseventsf_drain() 2782 struct fileproc *f; in fseventsioctl()
|
| /xnu-11215/osfmk/vm/ |
| H A D | vm_shared_region.h | 104 struct fileproc *fp;
|
| /xnu-11215/bsd/miscfs/devfs/ |
| H A D | devfs_fdesc_support.c | 405 struct fileproc *fp; in fdesc_attr() 514 struct fileproc *fp; in fdesc_setattr()
|