Home
last modified time | relevance | path

Searched refs:hvt (Results 1 – 4 of 4) sorted by relevance

/drivers/hv/
A Dhv_utils_transport.c23 if (hvt->on_reset) in hvt_reset()
24 hvt->on_reset(); in hvt_reset()
56 if (!copy_to_user(buf, hvt->outmsg, hvt->outmsg_len)) in hvt_op_read()
156 kfree(hvt); in hvt_transport_free()
277 hvt = kzalloc(sizeof(*hvt), GFP_KERNEL); in hvutil_transport_init()
278 if (!hvt) in hvutil_transport_init()
294 hvt->mdev.fops = &hvt->fops; in hvutil_transport_init()
311 if (hvt->cn_id.idx > 0 && hvt->cn_id.val > 0 && in hvutil_transport_init()
315 return hvt; in hvutil_transport_init()
321 kfree(hvt); in hvutil_transport_init()
[all …]
A Dhv_snapshot.c74 static struct hvutil_transport *hvt; variable
121 if (hvutil_transport_send(hvt, &our_ver, sizeof(our_ver), in vss_handle_handshake()
199 rc = hvutil_transport_send(hvt, vss_msg, sizeof(*vss_msg), NULL); in vss_send_op()
398 hvt = hvutil_transport_init(vss_devname, CN_VSS_IDX, CN_VSS_VAL, in hv_vss_init_transport()
400 if (!hvt) { in hv_vss_init_transport()
439 hvutil_transport_send(hvt, vss_msg, sizeof(*vss_msg), NULL); in hv_vss_pre_suspend()
464 hvutil_transport_destroy(hvt); in hv_vss_deinit()
A Dhv_utils_transport.h41 int hvutil_transport_send(struct hvutil_transport *hvt, void *msg, int len,
43 void hvutil_transport_destroy(struct hvutil_transport *hvt);
A Dhv_kvp.c104 static struct hvutil_transport *hvt; variable
144 hvutil_transport_send(hvt, kvp_msg, sizeof(*kvp_msg), in kvp_register()
497 rc = hvutil_transport_send(hvt, message, sizeof(*message), NULL); in kvp_send_key()
776 hvt = hvutil_transport_init(kvp_devname, CN_KVP_IDX, CN_KVP_VAL, in hv_kvp_init_transport()
778 if (!hvt) in hv_kvp_init_transport()
829 hvutil_transport_destroy(hvt); in hv_kvp_deinit()

Completed in 10 milliseconds