Searched refs:hvt (Results 1 – 5 of 5) sorted by relevance
| /linux-4.4.14/drivers/hv/ |
| D | hv_utils_transport.c | 28 static void hvt_reset(struct hvutil_transport *hvt) in hvt_reset() argument 30 mutex_lock(&hvt->outmsg_lock); in hvt_reset() 31 kfree(hvt->outmsg); in hvt_reset() 32 hvt->outmsg = NULL; in hvt_reset() 33 hvt->outmsg_len = 0; in hvt_reset() 34 mutex_unlock(&hvt->outmsg_lock); in hvt_reset() 35 if (hvt->on_reset) in hvt_reset() 36 hvt->on_reset(); in hvt_reset() 42 struct hvutil_transport *hvt; in hvt_op_read() local 45 hvt = container_of(file->f_op, struct hvutil_transport, fops); in hvt_op_read() [all …]
|
| D | hv_snapshot.c | 69 static struct hvutil_transport *hvt; variable 108 if (hvutil_transport_send(hvt, &our_ver, sizeof(our_ver))) in vss_handle_handshake() 171 rc = hvutil_transport_send(hvt, vss_msg, sizeof(*vss_msg)); in vss_send_op() 351 hvt = hvutil_transport_init(vss_devname, CN_VSS_IDX, CN_VSS_VAL, in hv_vss_init() 353 if (!hvt) in hv_vss_init() 364 hvutil_transport_destroy(hvt); in hv_vss_deinit()
|
| D | hv_fcopy.c | 64 static struct hvutil_transport *hvt; variable 97 if (hvutil_transport_send(hvt, &our_ver, sizeof(our_ver))) in fcopy_handle_handshake() 166 rc = hvutil_transport_send(hvt, out_src, out_len); in fcopy_send_data() 338 hvt = hvutil_transport_init(fcopy_devname, 0, 0, in hv_fcopy_init() 340 if (!hvt) in hv_fcopy_init() 350 hvutil_transport_destroy(hvt); in hv_fcopy_deinit()
|
| D | hv_utils_transport.h | 48 int hvutil_transport_send(struct hvutil_transport *hvt, void *msg, int len); 49 void hvutil_transport_destroy(struct hvutil_transport *hvt);
|
| D | hv_kvp.c | 89 static struct hvutil_transport *hvt; variable 111 hvutil_transport_send(hvt, kvp_msg, sizeof(*kvp_msg)); in kvp_register() 446 rc = hvutil_transport_send(hvt, message, sizeof(*message)); in kvp_send_key() 707 hvt = hvutil_transport_init(kvp_devname, CN_KVP_IDX, CN_KVP_VAL, in hv_kvp_init() 709 if (!hvt) in hv_kvp_init() 720 hvutil_transport_destroy(hvt); in hv_kvp_deinit()
|