/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() 116 if (__predict_false(fp->f_type != DTYPE_SOCKET)) { in getsock() 171 finit(fp, FREAD | FWRITE | fflag, DTYPE_SOCKET, so, &socketops); in kern_socket() 384 finit(nfp, fflag, DTYPE_SOCKET, so, &socketops); in kern_accept4() 607 finit(fp1, FREAD | FWRITE | fflag, DTYPE_SOCKET, fp1->f_data, in kern_socketpair() 609 finit(fp2, FREAD | FWRITE | fflag, DTYPE_SOCKET, fp2->f_data, in kern_socketpair()
|
H A D | sys_generic.c | 567 if (error != 0 && fp->f_type != DTYPE_SOCKET) { in dofilewrite()
|
H A D | kern_descrip.c | 1708 } else if (fp->f_type == DTYPE_PIPE || fp->f_type == DTYPE_SOCKET) { in kern_fpathconf() 5016 case DTYPE_SOCKET: in file_type_to_name()
|
H A D | uipc_usrreq.c | 2875 if (fp->f_type != DTYPE_SOCKET) in fptounp()
|
/freebsd/sys/security/mac/ |
H A D | mac_syscalls.c | 290 case DTYPE_SOCKET: in sys___mac_get_fd() 461 case DTYPE_SOCKET: in sys___mac_set_fd()
|
/freebsd/sys/rpc/rpcsec_tls/ |
H A D | rpctls_impl.c | 376 finit(fp, FREAD | FWRITE, DTYPE_SOCKET, so, in sys_rpctls_syscall() 403 finit(fp, FREAD | FWRITE, DTYPE_SOCKET, so, in sys_rpctls_syscall()
|
/freebsd/sys/netinet/ |
H A D | sctp_syscalls.c | 179 finit(nfp, fflag, DTYPE_SOCKET, so, &socketops); in sys_sctp_peeloff()
|
/freebsd/sys/sys/ |
H A D | file.h | 58 #define DTYPE_SOCKET 2 /* communications endpoint */ macro
|
/freebsd/sys/compat/linux/ |
H A D | linux.c | 835 if (fp->f_type == DTYPE_SOCKET) in linux_to_bsd_poll_events()
|
H A D | linux_file.c | 1843 if (fp->f_type == DTYPE_SOCKET && (fp->f_flag & FNONBLOCK) != 0) in linux_enobufs2eagain()
|
H A D | linux_ioctl.c | 2384 if (type != DTYPE_SOCKET) { in linux_ioctl_socket() 2474 if (type == DTYPE_SOCKET) in linux_ioctl_private()
|
H A D | linux_socket.c | 2414 if (ofp->f_type != DTYPE_SOCKET) in is_sendfile()
|
/freebsd/sys/security/audit/ |
H A D | audit_arg.c | 693 case DTYPE_SOCKET: in audit_arg_file()
|
/freebsd/sys/dev/cxgbe/cxgbei/ |
H A D | icl_cxgbei.c | 1116 if (fp->f_type != DTYPE_SOCKET) { in icl_cxgbei_conn_handoff() 1791 if (fp->f_type != DTYPE_SOCKET) { in cxgbei_limits_fd()
|
/freebsd/sys/dev/iscsi/ |
H A D | icl_soft.c | 1538 if (fp->f_type != DTYPE_SOCKET) { in icl_soft_conn_handoff()
|
/freebsd/sys/fs/nfsclient/ |
H A D | nfs_clport.c | 1309 if (fp->f_type != DTYPE_SOCKET) { in nfssvc_nfscl()
|
/freebsd/sys/dev/nvmf/ |
H A D | nvmf_tcp.c | 1434 if (fp->f_type != DTYPE_SOCKET) { in tcp_allocate_qpair()
|
/freebsd/lib/libprocstat/ |
H A D | libprocstat.c | 589 case DTYPE_SOCKET: in procstat_getfiles_kvm()
|
/freebsd/sys/fs/nfsserver/ |
H A D | nfs_nfsdport.c | 3751 if (fp->f_type != DTYPE_SOCKET) { in nfssvc_nfsd()
|