Lines Matching refs:KSTOSO
43 #define KSTOSO(ks) (ks->kso_fd) macro
172 if (bind(KSTOSO(ks), addr, addrlen) != 0) in ksocket_bind()
176 err = ksocket_bind_helper(KSTOSO(ks), addr, addrlen); in ksocket_bind()
191 if (listen(KSTOSO(ks), backlog) != 0) in ksocket_listen()
214 fd = accept(KSTOSO(ks), addr, addrlenp); in ksocket_accept()
233 if (connect(KSTOSO(ks), addr, addrlen) != 0) in ksocket_connect()
254 error = send(KSTOSO(ks), msg, msglen, flags); in ksocket_send()
281 error = sendto(KSTOSO(ks), msg, msglen, flags, name, namelen); in ksocket_sendto()
311 len = sendmsg(KSTOSO(ks), msg, flags); in ksocket_sendmsg()
356 error = recv(KSTOSO(ks), msg, msglen, flags); in ksocket_recv()
383 error = recvfrom(KSTOSO(ks), msg, msglen, flags, name, namelen); in ksocket_recvfrom()
410 error = recvmsg(KSTOSO(ks), msg, flags); in ksocket_recvmsg()
431 if (shutdown(KSTOSO(ks), how) != 0) in ksocket_shutdown()
485 if (getsockname(KSTOSO(ks), addr, addrlen) != 0) in ksocket_getsockname()
504 if (getpeername(KSTOSO(ks), addr, addrlen) != 0) in ksocket_getpeername()
523 if (setsockopt(KSTOSO(ks), level, optname, optval, optlen) != 0) in ksocket_setsockopt()
540 rval = ioctl(KSTOSO(ks), cmd, arg); in ksocket_ioctl()