Lines Matching refs:KSTOSO
42 #define KSTOSO(ks) (ks->kso_fd) macro
171 if (bind(KSTOSO(ks), addr, addrlen) != 0) in ksocket_bind()
175 err = ksocket_bind_helper(KSTOSO(ks), addr, addrlen); in ksocket_bind()
190 if (listen(KSTOSO(ks), backlog) != 0) in ksocket_listen()
213 fd = accept(KSTOSO(ks), addr, addrlenp); in ksocket_accept()
232 if (connect(KSTOSO(ks), addr, addrlen) != 0) in ksocket_connect()
253 error = send(KSTOSO(ks), msg, msglen, flags); in ksocket_send()
280 error = sendto(KSTOSO(ks), msg, msglen, flags, name, namelen); in ksocket_sendto()
307 error = sendmsg(KSTOSO(ks), msg, flags); in ksocket_sendmsg()
334 error = recv(KSTOSO(ks), msg, msglen, flags); in ksocket_recv()
361 error = recvfrom(KSTOSO(ks), msg, msglen, flags, name, namelen); in ksocket_recvfrom()
388 error = recvmsg(KSTOSO(ks), msg, flags); in ksocket_recvmsg()
409 if (shutdown(KSTOSO(ks), how) != 0) in ksocket_shutdown()
463 if (getsockname(KSTOSO(ks), addr, addrlen) != 0) in ksocket_getsockname()
482 if (getpeername(KSTOSO(ks), addr, addrlen) != 0) in ksocket_getpeername()
501 if (setsockopt(KSTOSO(ks), level, optname, optval, optlen) != 0) in ksocket_setsockopt()
518 rval = ioctl(KSTOSO(ks), cmd, arg); in ksocket_ioctl()