| /xnu-11215.81.4/bsd/kern/ |
| H A D | kern_guarded.c | 147 if ((error = fp_lookup(p, fd, &fp, 1)) != 0) { in fp_lookup_guarded_locked() 548 if ((error = fp_lookup(p, fd, &fp, 1)) != 0) { in change_fdguard_np() 928 if (0 != (error = fp_lookup(p, fd, &fp, 0))) { in vnguard_sysc_getguardattr() 982 if (0 != (error = fp_lookup(p, fd, &fp, 0))) { in vnguard_sysc_setguard()
|
| H A D | kern_descrip.c | 1485 fp_lookup(proc_t p, int fd, struct fileproc **resultfp, int locked) in fp_lookup() function 2014 if ((error = fp_lookup(p, fd, &fp, 1))) { in fp_get_pipe_id() 2394 if ((error = fp_lookup(p, old, &fp, 1))) { in sys_dup() 2457 if ((error = fp_lookup(p, old, &fp, 1))) { in dup2() 2786 if ((error = fp_lookup(p, fd, &fp, 1))) { in sys_fcntl_nocancel() 4164 if ((error = fp_lookup(p, orig_fd, &orig_fp, 1))) { in sys_fcntl_nocancel() 4512 if ((error = fp_lookup(p, fd2, &fp2, 1))) { in sys_fcntl_nocancel() 4646 if ((error = fp_lookup(p, fd2, &fp2, 1))) { in sys_fcntl_nocancel() 5453 if ((error = fp_lookup(p, fd, &fp, 0)) != 0) { in fstat() 5687 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 | 234 error = fp_lookup(p, fd, &fp, 1); in preparefileread() 542 error = fp_lookup(p, fd, &fp, 1); in preparefilewrite() 915 error = fp_lookup(p, fd, &fp, 1); in ioctl()
|
| H A D | kern_mman.c | 544 err = fp_lookup(p, fd, &fp, 0); in mmap()
|
| H A D | kern_event.c | 4087 if ((error = fp_lookup(p, (int)kev->ident, &knote_fp, 0)) != 0) { in kevent_register()
|
| /xnu-11215.81.4/bsd/miscfs/devfs/ |
| H A D | devfs_fdesc_support.c | 410 if ((error = fp_lookup(p, fd, &fp, 0))) { in fdesc_attr() 531 if ((error = fp_lookup(vfs_context_proc(ap->a_context), fd, &fp, 0))) { in fdesc_setattr()
|
| /xnu-11215.81.4/bsd/sys/ |
| H A D | file_internal.h | 537 int fp_lookup(struct proc *p, int fd, struct fileproc **resultfp, int locked);
|
| /xnu-11215.81.4/security/ |
| H A D | mac_base.c | 1314 if ((error = fp_lookup(p, uap->fd, &fp, 0))) { in __mac_get_fd() 1419 if ((error = fp_lookup(p, uap->fd, &fp, 0))) { in __mac_set_fd()
|
| H A D | mac_vfs.c | 2670 error = fp_lookup(p, fnp->fd_fd, &fp, 0); in mac_vnode_label_associate_fdesc()
|
| /xnu-11215.81.4/bsd/vfs/ |
| H A D | vfs_syscalls.c | 8483 if ((error = fp_lookup(p, uap->fd, &fp, 0))) { in ftruncate()
|