Home
last modified time | relevance | path

Searched refs:fp_get_ftype (Results 1 – 15 of 15) sorted by relevance

/xnu-11215.81.4/bsd/skywalk/nexus/
H A Dnexus_syscalls.c209 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-11215.81.4/bsd/tests/
H A Dvm_parameter_validation_kern_bsd.c34 error = fp_get_ftype(p, fd, DTYPE_VNODE, EINVAL, &fp); in get_control_from_fd()
/xnu-11215.81.4/bsd/skywalk/channel/
H A Dchannel_syscalls.c313 err = fp_get_ftype(p, uap->c, DTYPE_CHANNEL, ENODEV, &fp); in __channel_get_info()
392 err = fp_get_ftype(p, uap->c, DTYPE_CHANNEL, ENODEV, &fp); in __channel_sync()
699 err = fp_get_ftype(p, uap->c, DTYPE_CHANNEL, ENODEV, &fp); in __channel_get_opt()
762 err = fp_get_ftype(p, uap->c, DTYPE_CHANNEL, ENODEV, &fp); in __channel_set_opt()
/xnu-11215.81.4/bsd/kern/
H A Dposix_sem.c821 error = fp_get_ftype(p, fd, DTYPE_PSXSEM, EBADF, &fp); in sem_wait_nocancel()
880 error = fp_get_ftype(p, fd, DTYPE_PSXSEM, EBADF, &fp); in sem_trywait()
943 error = fp_get_ftype(p, fd, DTYPE_PSXSEM, EBADF, &fp); in sem_post()
H A Dproc_info.c2844 if ((error = fp_get_ftype(p, fd, DTYPE_VNODE, EBADF, &fp)) != 0) { in proc_pidfdinfo()
2852 if ((error = fp_get_ftype(p, fd, DTYPE_VNODE, EBADF, &fp)) != 0) { in proc_pidfdinfo()
2860 if ((error = fp_get_ftype(p, fd, DTYPE_SOCKET, ENOTSOCK, &fp)) != 0) { in proc_pidfdinfo()
2868 if ((error = fp_get_ftype(p, fd, DTYPE_PSXSEM, EBADF, &fp)) != 0) { in proc_pidfdinfo()
2876 if ((error = fp_get_ftype(p, fd, DTYPE_PSXSHM, EBADF, &fp)) != 0) { in proc_pidfdinfo()
2884 if ((error = fp_get_ftype(p, fd, DTYPE_PIPE, EBADF, &fp)) != 0) { in proc_pidfdinfo()
2900 } else if ((error = fp_get_ftype(p, fd, DTYPE_KQUEUE, EBADF, &fp)) != 0) { in proc_pidfdinfo()
2919 } else if ((error = fp_get_ftype(p, fd, DTYPE_KQUEUE, EBADF, &fp)) != 0) { in proc_pidfdinfo()
2928 if ((error = fp_get_ftype(p, fd, DTYPE_CHANNEL, EBADF, &fp)) != 0) { in proc_pidfdinfo()
H A Dkern_descrip.c1517 fp_get_ftype(proc_t p, int fd, file_type_t ftype, int err, struct fileproc **fpp) in fp_get_ftype() function
1968 error = fp_get_ftype(p, fd, DTYPE_VNODE, ENOTSUP, &fp); in fp_getfvp()
2116 error = fp_get_ftype(current_proc(), fd, DTYPE_VNODE, EINVAL, &fp); in file_vnode_withvid()
2168 error = fp_get_ftype(current_proc(), fd, DTYPE_SOCKET, ENOTSOCK, &fp); in file_socket()
H A Dkern_aio.c2086 error = fp_get_ftype(p, entryp->aiocb.aio_fildes, DTYPE_VNODE, ENOTSUP, &fp); in do_aio_fsync()
H A Duipc_syscalls.c480 error = fp_get_ftype(p, fd, DTYPE_SOCKET, ENOTSOCK, &fp); in accept_nocancel()
2200 if ((error = fp_get_ftype(p, s, DTYPE_SOCKET, ENOTSOCK, &fp))) { in recvit()
H A Dkdebug.c2446 if (fp_get_ftype(p, fd, DTYPE_VNODE, EBADF, &fp)) { in _kd_sysctl_internal()
H A Dkern_event.c7355 error = fp_get_ftype(p, fd, DTYPE_KQUEUE, EBADF, fpp);
/xnu-11215.81.4/bsd/sys/
H A Dfile_internal.h432 fp_get_ftype(proc_t p, int fd, file_type_t ftype, int err, struct fileproc **fpp);
/xnu-11215.81.4/bsd/vm/
H A Dvm_unix.c1199 error = fp_get_ftype(p, srfmp->fd, DTYPE_VNODE, EINVAL, &srfmp->fp); in shared_region_map_and_slide_setup()
2202 error = fp_get_ftype(p, fd, DTYPE_VNODE, EINVAL, &fp); in map_with_linking_np()
/xnu-11215.81.4/bsd/vfs/
H A Dvfs_attrlist.c3379 if ((error = fp_get_ftype(p, uap->fd, DTYPE_VNODE, EINVAL, &fp)) != 0) { in fgetattrlist()
/xnu-11215.81.4/bsd/net/
H A Dnecp_client.c1991 int error = fp_get_ftype(p, fd, DTYPE_NETPOLICY, ENODEV, &fp); in necp_find_fd_data()
H A Dnecp.c1107 int error = fp_get_ftype(p, fd, DTYPE_NETPOLICY, ENODEV, &fp); in necp_session_find_from_fd()