| /xnu-12377.61.12/bsd/skywalk/nexus/ |
| H A D | nexus_syscalls.c | 209 err = fp_get_ftype(p, uap->ctl, DTYPE_NEXUS, ENODEV, &fp); in __nexus_register() 277 err = fp_get_ftype(p, uap->ctl, DTYPE_NEXUS, ENODEV, &fp); in __nexus_deregister() 326 err = fp_get_ftype(p, uap->ctl, DTYPE_NEXUS, ENODEV, &fp); in __nexus_create() 390 err = fp_get_ftype(p, uap->ctl, DTYPE_NEXUS, ENODEV, &fp); in __nexus_destroy() 418 err = fp_get_ftype(p, uap->ctl, DTYPE_NEXUS, ENODEV, &fp); in __nexus_get_opt() 488 err = fp_get_ftype(p, uap->ctl, DTYPE_NEXUS, ENODEV, &fp); in __nexus_set_opt()
|
| /xnu-12377.61.12/bsd/tests/ |
| H A D | vm_parameter_validation_kern_bsd.c | 34 error = fp_get_ftype(p, fd, DTYPE_VNODE, EINVAL, &fp); in get_control_from_fd()
|
| /xnu-12377.61.12/bsd/skywalk/channel/ |
| H A D | channel_syscalls.c | 296 err = fp_get_ftype(p, uap->c, DTYPE_CHANNEL, ENODEV, &fp); in __channel_get_info() 375 err = fp_get_ftype(p, uap->c, DTYPE_CHANNEL, ENODEV, &fp); in __channel_sync() 682 err = fp_get_ftype(p, uap->c, DTYPE_CHANNEL, ENODEV, &fp); in __channel_get_opt() 745 err = fp_get_ftype(p, uap->c, DTYPE_CHANNEL, ENODEV, &fp); in __channel_set_opt()
|
| /xnu-12377.61.12/bsd/kern/ |
| H A D | posix_sem.c | 990 error = fp_get_ftype(p, fd, DTYPE_PSXSEM, EBADF, &fp); in sem_wait_nocancel() 1049 error = fp_get_ftype(p, fd, DTYPE_PSXSEM, EBADF, &fp); in sem_trywait() 1112 error = fp_get_ftype(p, fd, DTYPE_PSXSEM, EBADF, &fp); in sem_post()
|
| H A D | proc_info.c | 2898 if ((error = fp_get_ftype(p, fd, DTYPE_VNODE, EBADF, &fp)) != 0) { in proc_pidfdinfo() 2906 if ((error = fp_get_ftype(p, fd, DTYPE_VNODE, EBADF, &fp)) != 0) { in proc_pidfdinfo() 2914 if ((error = fp_get_ftype(p, fd, DTYPE_SOCKET, ENOTSOCK, &fp)) != 0) { in proc_pidfdinfo() 2922 if ((error = fp_get_ftype(p, fd, DTYPE_PSXSEM, EBADF, &fp)) != 0) { in proc_pidfdinfo() 2930 if ((error = fp_get_ftype(p, fd, DTYPE_PSXSHM, EBADF, &fp)) != 0) { in proc_pidfdinfo() 2938 if ((error = fp_get_ftype(p, fd, DTYPE_PIPE, EBADF, &fp)) != 0) { in proc_pidfdinfo() 2954 } else if ((error = fp_get_ftype(p, fd, DTYPE_KQUEUE, EBADF, &fp)) != 0) { in proc_pidfdinfo() 2973 } else if ((error = fp_get_ftype(p, fd, DTYPE_KQUEUE, EBADF, &fp)) != 0) { in proc_pidfdinfo() 2982 if ((error = fp_get_ftype(p, fd, DTYPE_CHANNEL, EBADF, &fp)) != 0) { in proc_pidfdinfo()
|
| H A D | kern_descrip.c | 1509 fp_get_ftype(proc_t p, int fd, file_type_t ftype, int err, struct fileproc **fpp) in fp_get_ftype() function 1972 error = fp_get_ftype(p, fd, DTYPE_VNODE, ENOTSUP, &fp); in fp_getfvp() 2120 error = fp_get_ftype(current_proc(), fd, DTYPE_VNODE, EINVAL, &fp); in file_vnode_withvid() 2172 error = fp_get_ftype(current_proc(), fd, DTYPE_SOCKET, ENOTSOCK, &fp); in file_socket()
|
| H A D | kern_aio.c | 1515 error = fp_get_ftype(procp, kqfd, DTYPE_KQUEUE, EBADF, &fp); in aio_register_kevent() 2307 error = fp_get_ftype(p, entryp->aiocb.aio_fildes, DTYPE_VNODE, ENOTSUP, &fp); in do_aio_fsync()
|
| H A D | uipc_syscalls.c | 480 error = fp_get_ftype(p, fd, DTYPE_SOCKET, ENOTSOCK, &fp); in accept_nocancel() 2196 if ((error = fp_get_ftype(p, s, DTYPE_SOCKET, ENOTSOCK, &fp))) { in recvit()
|
| H A D | kdebug.c | 297 if (fp_get_ftype(p, fd, DTYPE_VNODE, EBADF, &fp)) { in kd_dest_init_write()
|
| H A D | kern_event.c | 7356 error = fp_get_ftype(p, fd, DTYPE_KQUEUE, EBADF, fpp);
|
| /xnu-12377.61.12/bsd/sys/ |
| H A D | file_internal.h | 432 fp_get_ftype(proc_t p, int fd, file_type_t ftype, int err, struct fileproc **fpp);
|
| /xnu-12377.61.12/bsd/vm/ |
| H A D | vm_unix.c | 1293 error = fp_get_ftype(p, srfmp->fd, DTYPE_VNODE, EINVAL, &srfmp->fp); in shared_region_map_and_slide_setup() 2332 error = fp_get_ftype(p, fd, DTYPE_VNODE, EINVAL, &fp); in map_with_linking_np()
|
| /xnu-12377.61.12/bsd/vfs/ |
| H A D | vfs_attrlist.c | 3499 if ((error = fp_get_ftype(p, uap->fd, DTYPE_VNODE, EINVAL, &fp)) != 0) { in fgetattrlist()
|
| /xnu-12377.61.12/bsd/net/ |
| H A D | necp_client.c | 2130 int error = fp_get_ftype(p, fd, DTYPE_NETPOLICY, ENODEV, &fp); in necp_find_fd_data()
|
| H A D | necp.c | 1110 int error = fp_get_ftype(p, fd, DTYPE_NETPOLICY, ENODEV, &fp); in necp_session_find_from_fd()
|