| /freebsd-14.2/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-14.2/sys/kern/ |
| H A D | uipc_syscalls.c | 99 if (__predict_false(fp->f_type != DTYPE_SOCKET)) { in getsock_cap() 118 if (__predict_false(fp->f_type != DTYPE_SOCKET)) { in getsock() 173 finit(fp, FREAD | FWRITE | fflag, DTYPE_SOCKET, so, &socketops); in kern_socket() 389 finit(nfp, fflag, DTYPE_SOCKET, so, &socketops); in kern_accept4() 626 finit(fp1, FREAD | FWRITE | fflag, DTYPE_SOCKET, fp1->f_data, in kern_socketpair() 628 finit(fp2, FREAD | FWRITE | fflag, DTYPE_SOCKET, fp2->f_data, in kern_socketpair()
|
| H A D | sys_generic.c | 569 if (error != 0 && fp->f_type != DTYPE_SOCKET) { in dofilewrite()
|
| H A D | kern_descrip.c | 1710 } else if (fp->f_type == DTYPE_PIPE || fp->f_type == DTYPE_SOCKET) { in kern_fpathconf() 5040 case DTYPE_SOCKET: in file_type_to_name()
|
| H A D | uipc_usrreq.c | 2874 if (fp->f_type != DTYPE_SOCKET) in fptounp()
|
| /freebsd-14.2/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-14.2/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-14.2/sys/netinet/ |
| H A D | sctp_syscalls.c | 180 finit(nfp, fflag, DTYPE_SOCKET, so, &socketops); in sys_sctp_peeloff()
|
| /freebsd-14.2/sys/sys/ |
| H A D | file.h | 60 #define DTYPE_SOCKET 2 /* communications endpoint */ macro
|
| /freebsd-14.2/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 | 1845 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 | 2413 if (ofp->f_type != DTYPE_SOCKET) in is_sendfile()
|
| /freebsd-14.2/sys/security/audit/ |
| H A D | audit_arg.c | 694 case DTYPE_SOCKET: in audit_arg_file()
|
| /freebsd-14.2/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-14.2/sys/dev/iscsi/ |
| H A D | icl_soft.c | 1539 if (fp->f_type != DTYPE_SOCKET) { in icl_soft_conn_handoff()
|
| /freebsd-14.2/sys/fs/nfsclient/ |
| H A D | nfs_clport.c | 1309 if (fp->f_type != DTYPE_SOCKET) { in nfssvc_nfscl()
|
| /freebsd-14.2/lib/libprocstat/ |
| H A D | libprocstat.c | 592 case DTYPE_SOCKET: in procstat_getfiles_kvm()
|
| /freebsd-14.2/sys/fs/nfsserver/ |
| H A D | nfs_nfsdport.c | 3793 if (fp->f_type != DTYPE_SOCKET) { in nfssvc_nfsd()
|