Lines Matching refs:message
201 struct hv_kvp_msg *message = (struct hv_kvp_msg *)msg; in kvp_on_msg() local
205 if (len < sizeof(*message)) in kvp_on_msg()
214 return kvp_handle_handshake(message); in kvp_on_msg()
228 data = &message->body.kvp_enum_data; in kvp_on_msg()
244 error = message->error; in kvp_on_msg()
253 kvp_respond_to_host(message, error); in kvp_on_msg()
376 struct hv_kvp_msg *message; in kvp_send_key() local
388 message = kzalloc(sizeof(*message), GFP_KERNEL); in kvp_send_key()
389 if (!message) in kvp_send_key()
392 message->kvp_hdr.operation = operation; in kvp_send_key()
393 message->kvp_hdr.pool = pool; in kvp_send_key()
407 switch (message->kvp_hdr.operation) { in kvp_send_key()
409 process_ib_ipinfo(in_msg, message, KVP_OP_SET_IP_INFO); in kvp_send_key()
416 process_ib_ipinfo(in_msg, message, KVP_OP_GET_IP_INFO); in kvp_send_key()
424 message->body.kvp_set.data.value_size = in kvp_send_key()
429 message->body.kvp_set.data.value, in kvp_send_key()
439 message->body.kvp_set.data.value_size = in kvp_send_key()
440 sprintf(message->body.kvp_set.data.value, in kvp_send_key()
450 message->body.kvp_set.data.value_size = in kvp_send_key()
451 sprintf(message->body.kvp_set.data.value, in kvp_send_key()
460 message->body.kvp_set.data.key_size = in kvp_send_key()
465 message->body.kvp_set.data.key, in kvp_send_key()
471 message->body.kvp_get.data.key_size = in kvp_send_key()
476 message->body.kvp_get.data.key, in kvp_send_key()
481 message->body.kvp_delete.key_size = in kvp_send_key()
486 message->body.kvp_delete.key, in kvp_send_key()
491 message->body.kvp_enum_data.index = in kvp_send_key()
497 rc = hvutil_transport_send(hvt, message, sizeof(*message), NULL); in kvp_send_key()
501 kvp_respond_to_host(message, HV_E_FAIL); in kvp_send_key()
506 kfree(message); in kvp_send_key()