| /freebsd/tools/tools/kttcp/sys/ |
| H A D | kttcp.c | 170 if (fp->f_type == DTYPE_SOCKET) { in kttcp_send() 218 if (fp->f_type == DTYPE_SOCKET) { in kttcp_recv()
|
| /freebsd/sys/kern/ |
| H A D | uipc_syscalls.c | 97 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 D | sys_generic.c | 570 if (error != 0 && fp->f_type != DTYPE_SOCKET) { in dofilewrite()
|
| H A D | kern_descrip.c | 1817 } 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 D | uipc_usrreq.c | 3924 if (fp->f_type != DTYPE_SOCKET) in fptounp()
|
| /freebsd/sys/security/mac/ |
| H A D | mac_syscalls.c | 553 case DTYPE_SOCKET: in sys___mac_get_fd() 721 case DTYPE_SOCKET: in sys___mac_set_fd()
|
| /freebsd/sys/compat/linux/ |
| H A D | linux.c | 576 if (fp->f_type == DTYPE_SOCKET) in linux_to_bsd_poll_events()
|
| H A D | linux_file.c | 1908 if (fp->f_type == DTYPE_SOCKET && (fp->f_flag & FNONBLOCK) != 0) in linux_enobufs2eagain()
|
| H A D | linux_ioctl.c | 2477 if (type != DTYPE_SOCKET) { in linux_ioctl_socket() 2567 if (type == DTYPE_SOCKET) in linux_ioctl_private()
|
| H A D | linux_socket.c | 2630 if (ofp->f_type != DTYPE_SOCKET) in is_sendfile()
|
| /freebsd/sys/rpc/rpcsec_tls/ |
| H A D | rpctls_impl.c | 211 finit(fp, FREAD | FWRITE, DTYPE_SOCKET, ups.so, &socketops); in sys_rpctls_syscall()
|
| /freebsd/sys/netinet/ |
| H A D | sctp_syscalls.c | 200 finit(nfp, fflag, DTYPE_SOCKET, so, &socketops); in sys_sctp_peeloff()
|
| /freebsd/sys/sys/ |
| H A D | file.h | 61 #define DTYPE_SOCKET 2 /* communications endpoint */ macro
|
| /freebsd/sys/dev/cxgbe/cxgbei/ |
| H A D | icl_cxgbei.c | 1040 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 D | audit_arg.c | 693 case DTYPE_SOCKET: in audit_arg_file()
|
| /freebsd/sys/fs/nfsclient/ |
| H A D | nfs_clport.c | 1271 if (fp->f_type != DTYPE_SOCKET) { in nfssvc_nfscl()
|
| /freebsd/sys/dev/iscsi/ |
| H A D | icl_soft.c | 1538 if (fp->f_type != DTYPE_SOCKET) { in icl_soft_conn_handoff()
|
| /freebsd/sys/dev/nvmf/ |
| H A D | nvmf_tcp.c | 1439 if (fp->f_type != DTYPE_SOCKET) { in tcp_allocate_qpair()
|
| /freebsd/lib/libprocstat/ |
| H A D | libprocstat.c | 590 case DTYPE_SOCKET: in procstat_getfiles_kvm()
|
| /freebsd/sys/dev/cxgbe/nvmf/ |
| H A D | nvmf_che.c | 2429 if (fp->f_type != DTYPE_SOCKET) { in che_allocate_qpair()
|
| /freebsd/sys/fs/nfsserver/ |
| H A D | nfs_nfsdport.c | 4074 if (fp->f_type != DTYPE_SOCKET) { in nfssvc_nfsd()
|