Lines Matching refs:client
110 struct socket_client *client = NULL; in send_socket_ack() local
112 client = find_socket_client(sock, fd); in send_socket_ack()
113 if (client == NULL) in send_socket_ack()
116 LOG_PRINTF("Receive shutdown request from unix socket, fd=%d\n", client->fd); in send_socket_ack()
117 memset(client->buf, 0, CLIENT_BUF_LEN); in send_socket_ack()
118 memcpy(client->buf, ack, strlen(ack)); in send_socket_ack()
119 client->len = strlen(ack); in send_socket_ack()
120 ret = write_socket_char(client); in send_socket_ack()
142 struct socket_client *client = NULL; in req_user_vm_shutdown_reboot() local
145 client = find_socket_client(sock, fd); in req_user_vm_shutdown_reboot()
146 if (client == NULL) in req_user_vm_shutdown_reboot()
149 c_dev = find_uart_channel_dev_by_name(channel, client->name); in req_user_vm_shutdown_reboot()
153 client->name); in req_user_vm_shutdown_reboot()