| /xnu-8796.141.3/bsd/kern/ |
| H A D | kern_guarded.c | 147 if ((error = fp_lookup(p, fd, &fp, 1)) != 0) { in fp_lookup_guarded_locked() 536 if ((error = fp_lookup(p, fd, &fp, 1)) != 0) { in change_fdguard_np() 915 if (0 != (error = fp_lookup(p, fd, &fp, 0))) { in vnguard_sysc_getguardattr() 969 if (0 != (error = fp_lookup(p, fd, &fp, 0))) { in vnguard_sysc_setguard()
|
| H A D | kern_descrip.c | 1458 fp_lookup(proc_t p, int fd, struct fileproc **resultfp, int locked) in fp_lookup() function 1990 if ((error = fp_lookup(p, fd, &fp, 1))) { in fp_get_pipe_id() 2370 if ((error = fp_lookup(p, old, &fp, 1))) { in sys_dup() 2430 if ((error = fp_lookup(p, old, &fp, 1))) { in dup2() 2758 if ((error = fp_lookup(p, fd, &fp, 1))) { in sys_fcntl_nocancel() 4068 if ((error = fp_lookup(p, orig_fd, &orig_fp, 1))) { in sys_fcntl_nocancel() 4416 if ((error = fp_lookup(p, fd2, &fp2, 1))) { in sys_fcntl_nocancel() 4550 if ((error = fp_lookup(p, fd2, &fp2, 1))) { in sys_fcntl_nocancel() 5346 if ((error = fp_lookup(p, fd, &fp, 0)) != 0) { in fstat() 5580 if ((error = fp_lookup(p, fd, &fp, 0))) { in sys_fpathconf() [all …]
|
| H A D | kern_aio.c | 1969 if ((error = fp_lookup(p, entryp->aiocb.aio_fildes, &fp, 0))) { in do_aio_read() 1998 if ((error = fp_lookup(p, entryp->aiocb.aio_fildes, &fp, 0))) { in do_aio_write()
|
| H A D | sys_generic.c | 237 error = fp_lookup(p, fd, &fp, 1); in preparefileread() 545 error = fp_lookup(p, fd, &fp, 1); in preparefilewrite() 918 error = fp_lookup(p, fd, &fp, 1); in ioctl()
|
| H A D | kern_mman.c | 498 err = fp_lookup(p, fd, &fp, 0); in mmap()
|
| H A D | kern_event.c | 3872 if ((error = fp_lookup(p, (int)kev->ident, &knote_fp, 0)) != 0) { in kevent_register()
|
| /xnu-8796.141.3/bsd/miscfs/devfs/ |
| H A D | devfs_fdesc_support.c | 396 if ((error = fp_lookup(p, fd, &fp, 0))) { in fdesc_attr() 519 if ((error = fp_lookup(vfs_context_proc(ap->a_context), fd, &fp, 0))) { in fdesc_setattr()
|
| /xnu-8796.141.3/bsd/sys/ |
| H A D | file_internal.h | 515 int fp_lookup(struct proc *p, int fd, struct fileproc **resultfp, int locked);
|
| /xnu-8796.141.3/security/ |
| H A D | mac_base.c | 1317 if ((error = fp_lookup(p, uap->fd, &fp, 0))) { in __mac_get_fd() 1422 if ((error = fp_lookup(p, uap->fd, &fp, 0))) { in __mac_set_fd()
|
| H A D | mac_vfs.c | 2695 error = fp_lookup(p, fnp->fd_fd, &fp, 0); in mac_vnode_label_associate_fdesc()
|
| /xnu-8796.141.3/bsd/vfs/ |
| H A D | vfs_syscalls.c | 8323 if ((error = fp_lookup(p, uap->fd, &fp, 0))) { in ftruncate()
|