| /xnu-10063.141.1/bsd/kern/ |
| H A D | kern_guarded.c | 147 if ((error = fp_lookup(p, fd, &fp, 1)) != 0) { in fp_lookup_guarded_locked() 540 if ((error = fp_lookup(p, fd, &fp, 1)) != 0) { in change_fdguard_np() 920 if (0 != (error = fp_lookup(p, fd, &fp, 0))) { in vnguard_sysc_getguardattr() 974 if (0 != (error = fp_lookup(p, fd, &fp, 0))) { in vnguard_sysc_setguard()
|
| H A D | kern_descrip.c | 1468 fp_lookup(proc_t p, int fd, struct fileproc **resultfp, int locked) in fp_lookup() function 1997 if ((error = fp_lookup(p, fd, &fp, 1))) { in fp_get_pipe_id() 2377 if ((error = fp_lookup(p, old, &fp, 1))) { in sys_dup() 2440 if ((error = fp_lookup(p, old, &fp, 1))) { in dup2() 2768 if ((error = fp_lookup(p, fd, &fp, 1))) { in sys_fcntl_nocancel() 4131 if ((error = fp_lookup(p, orig_fd, &orig_fp, 1))) { in sys_fcntl_nocancel() 4479 if ((error = fp_lookup(p, fd2, &fp2, 1))) { in sys_fcntl_nocancel() 4613 if ((error = fp_lookup(p, fd2, &fp2, 1))) { in sys_fcntl_nocancel() 5420 if ((error = fp_lookup(p, fd, &fp, 0)) != 0) { in fstat() 5654 if ((error = fp_lookup(p, fd, &fp, 0))) { in sys_fpathconf() [all …]
|
| H A D | kern_aio.c | 1979 if ((error = fp_lookup(p, entryp->aiocb.aio_fildes, &fp, 0))) { in do_aio_read() 2008 if ((error = fp_lookup(p, entryp->aiocb.aio_fildes, &fp, 0))) { in do_aio_write()
|
| H A D | sys_generic.c | 235 error = fp_lookup(p, fd, &fp, 1); in preparefileread() 543 error = fp_lookup(p, fd, &fp, 1); in preparefilewrite() 916 error = fp_lookup(p, fd, &fp, 1); in ioctl()
|
| H A D | kern_mman.c | 507 err = fp_lookup(p, fd, &fp, 0); in mmap()
|
| H A D | kern_event.c | 3987 if ((error = fp_lookup(p, (int)kev->ident, &knote_fp, 0)) != 0) { in kevent_register()
|
| /xnu-10063.141.1/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-10063.141.1/bsd/sys/ |
| H A D | file_internal.h | 520 int fp_lookup(struct proc *p, int fd, struct fileproc **resultfp, int locked);
|
| /xnu-10063.141.1/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 | 2695 error = fp_lookup(p, fnp->fd_fd, &fp, 0); in mac_vnode_label_associate_fdesc()
|
| /xnu-10063.141.1/bsd/vfs/ |
| H A D | vfs_syscalls.c | 8356 if ((error = fp_lookup(p, uap->fd, &fp, 0))) { in ftruncate()
|