Searched refs:hvt (Results 1 – 5 of 5) sorted by relevance
/Linux-v4.19/drivers/hv/ |
D | hv_utils_transport.c | 28 static void hvt_reset(struct hvutil_transport *hvt) in hvt_reset() argument 30 kfree(hvt->outmsg); in hvt_reset() 31 hvt->outmsg = NULL; in hvt_reset() 32 hvt->outmsg_len = 0; in hvt_reset() 33 if (hvt->on_reset) in hvt_reset() 34 hvt->on_reset(); in hvt_reset() 40 struct hvutil_transport *hvt; in hvt_op_read() local 43 hvt = container_of(file->f_op, struct hvutil_transport, fops); in hvt_op_read() 45 if (wait_event_interruptible(hvt->outmsg_q, hvt->outmsg_len > 0 || in hvt_op_read() 46 hvt->mode != HVUTIL_TRANSPORT_CHARDEV)) in hvt_op_read() [all …]
|
D | hv_fcopy.c | 73 static struct hvutil_transport *hvt; variable 113 if (hvutil_transport_send(hvt, &our_ver, sizeof(our_ver), in fcopy_handle_handshake() 184 rc = hvutil_transport_send(hvt, out_src, out_len, NULL); in fcopy_send_data() 350 hvt = hvutil_transport_init(fcopy_devname, 0, 0, in hv_fcopy_init() 352 if (!hvt) in hv_fcopy_init() 362 hvutil_transport_destroy(hvt); in hv_fcopy_deinit()
|
D | hv_snapshot.c | 81 static struct hvutil_transport *hvt; variable 128 if (hvutil_transport_send(hvt, &our_ver, sizeof(our_ver), in vss_handle_handshake() 205 rc = hvutil_transport_send(hvt, vss_msg, sizeof(*vss_msg), NULL); in vss_send_op() 382 hvt = hvutil_transport_init(vss_devname, CN_VSS_IDX, CN_VSS_VAL, in hv_vss_init() 384 if (!hvt) { in hv_vss_init() 397 hvutil_transport_destroy(hvt); in hv_vss_deinit()
|
D | hv_utils_transport.h | 51 int hvutil_transport_send(struct hvutil_transport *hvt, void *msg, int len, 53 void hvutil_transport_destroy(struct hvutil_transport *hvt);
|
D | hv_kvp.c | 103 static struct hvutil_transport *hvt; variable 143 hvutil_transport_send(hvt, kvp_msg, sizeof(*kvp_msg), in kvp_register() 476 rc = hvutil_transport_send(hvt, message, sizeof(*message), NULL); in kvp_send_key() 732 hvt = hvutil_transport_init(kvp_devname, CN_KVP_IDX, CN_KVP_VAL, in hv_kvp_init() 734 if (!hvt) in hv_kvp_init() 746 hvutil_transport_destroy(hvt); in hv_kvp_deinit()
|