Home
last modified time | relevance | path

Searched refs:DTYPE_SOCKET (Results 1 – 21 of 21) sorted by relevance

/freebsd/tools/tools/kttcp/sys/
H A Dkttcp.c170 if (fp->f_type == DTYPE_SOCKET) { in kttcp_send()
218 if (fp->f_type == DTYPE_SOCKET) { in kttcp_recv()
/freebsd/sys/kern/
H A Duipc_syscalls.c97 if (__predict_false(fp->f_type != DTYPE_SOCKET)) { in getsock_cap()
117 if (__predict_false(fp->f_type != DTYPE_SOCKET)) { in getsock()
176 finit(fp, FREAD | FWRITE | fflag, DTYPE_SOCKET, so, &socketops); in kern_socket()
390 finit(nfp, fflag, DTYPE_SOCKET, so, &socketops); in kern_accept4()
617 finit(fp1, FREAD | FWRITE | fflag, DTYPE_SOCKET, fp1->f_data, in kern_socketpair()
619 finit(fp2, FREAD | FWRITE | fflag, DTYPE_SOCKET, fp2->f_data, in kern_socketpair()
H A Dsys_generic.c570 if (error != 0 && fp->f_type != DTYPE_SOCKET) { in dofilewrite()
H A Dkern_descrip.c1817 } else if (fp->f_type == DTYPE_PIPE || fp->f_type == DTYPE_SOCKET) { in kern_fpathconf()
5307 case DTYPE_SOCKET: in file_type_to_name()
H A Duipc_usrreq.c3924 if (fp->f_type != DTYPE_SOCKET) in fptounp()
/freebsd/sys/security/mac/
H A Dmac_syscalls.c553 case DTYPE_SOCKET: in sys___mac_get_fd()
721 case DTYPE_SOCKET: in sys___mac_set_fd()
/freebsd/sys/compat/linux/
H A Dlinux.c576 if (fp->f_type == DTYPE_SOCKET) in linux_to_bsd_poll_events()
H A Dlinux_file.c1908 if (fp->f_type == DTYPE_SOCKET && (fp->f_flag & FNONBLOCK) != 0) in linux_enobufs2eagain()
H A Dlinux_ioctl.c2477 if (type != DTYPE_SOCKET) { in linux_ioctl_socket()
2567 if (type == DTYPE_SOCKET) in linux_ioctl_private()
H A Dlinux_socket.c2630 if (ofp->f_type != DTYPE_SOCKET) in is_sendfile()
/freebsd/sys/rpc/rpcsec_tls/
H A Drpctls_impl.c211 finit(fp, FREAD | FWRITE, DTYPE_SOCKET, ups.so, &socketops); in sys_rpctls_syscall()
/freebsd/sys/netinet/
H A Dsctp_syscalls.c200 finit(nfp, fflag, DTYPE_SOCKET, so, &socketops); in sys_sctp_peeloff()
/freebsd/sys/sys/
H A Dfile.h61 #define DTYPE_SOCKET 2 /* communications endpoint */ macro
/freebsd/sys/dev/cxgbe/cxgbei/
H A Dicl_cxgbei.c1040 if (fp->f_type != DTYPE_SOCKET) { in icl_cxgbei_conn_handoff()
1714 if (fp->f_type != DTYPE_SOCKET) { in cxgbei_limits_fd()
/freebsd/sys/security/audit/
H A Daudit_arg.c693 case DTYPE_SOCKET: in audit_arg_file()
/freebsd/sys/fs/nfsclient/
H A Dnfs_clport.c1271 if (fp->f_type != DTYPE_SOCKET) { in nfssvc_nfscl()
/freebsd/sys/dev/iscsi/
H A Dicl_soft.c1538 if (fp->f_type != DTYPE_SOCKET) { in icl_soft_conn_handoff()
/freebsd/sys/dev/nvmf/
H A Dnvmf_tcp.c1439 if (fp->f_type != DTYPE_SOCKET) { in tcp_allocate_qpair()
/freebsd/lib/libprocstat/
H A Dlibprocstat.c590 case DTYPE_SOCKET: in procstat_getfiles_kvm()
/freebsd/sys/dev/cxgbe/nvmf/
H A Dnvmf_che.c2429 if (fp->f_type != DTYPE_SOCKET) { in che_allocate_qpair()
/freebsd/sys/fs/nfsserver/
H A Dnfs_nfsdport.c4074 if (fp->f_type != DTYPE_SOCKET) { in nfssvc_nfsd()