Home
last modified time | relevance | path

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

/drivers/hv/
Dhv_utils_transport.c28 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 …]
Dhv_snapshot.c68 static struct hvutil_transport *hvt; variable
110 if (hvutil_transport_send(hvt, &our_ver, sizeof(our_ver))) in vss_handle_handshake()
172 rc = hvutil_transport_send(hvt, vss_msg, sizeof(*vss_msg)); in vss_send_op()
352 hvt = hvutil_transport_init(vss_devname, CN_VSS_IDX, CN_VSS_VAL, in hv_vss_init()
354 if (!hvt) in hv_vss_init()
365 hvutil_transport_destroy(hvt); in hv_vss_deinit()
Dhv_fcopy.c63 static struct hvutil_transport *hvt; variable
98 if (hvutil_transport_send(hvt, &our_ver, sizeof(our_ver))) in fcopy_handle_handshake()
169 rc = hvutil_transport_send(hvt, out_src, out_len); in fcopy_send_data()
336 hvt = hvutil_transport_init(fcopy_devname, 0, 0, in hv_fcopy_init()
338 if (!hvt) in hv_fcopy_init()
348 hvutil_transport_destroy(hvt); in hv_fcopy_deinit()
Dhv_utils_transport.h48 int hvutil_transport_send(struct hvutil_transport *hvt, void *msg, int len);
49 void hvutil_transport_destroy(struct hvutil_transport *hvt);
Dhv_kvp.c90 static struct hvutil_transport *hvt; variable
120 hvutil_transport_send(hvt, kvp_msg, sizeof(*kvp_msg)); in kvp_register()
459 rc = hvutil_transport_send(hvt, message, sizeof(*message)); in kvp_send_key()
736 hvt = hvutil_transport_init(kvp_devname, CN_KVP_IDX, CN_KVP_VAL, in hv_kvp_init()
738 if (!hvt) in hv_kvp_init()
750 hvutil_transport_destroy(hvt); in hv_kvp_deinit()
/drivers/cpufreq/
Dcpufreq_interactive.c498 u64 hvt = ~0ULL, fvt = 0; in cpufreq_interactive_get_policy_info() local
507 hvt = pcpu->loc_hispeed_val_time; in cpufreq_interactive_get_policy_info()
509 hvt = min(hvt, pcpu->loc_hispeed_val_time); in cpufreq_interactive_get_policy_info()
514 *phvt = hvt; in cpufreq_interactive_get_policy_info()
522 u64 hvt, fvt; in cpufreq_interactive_adjust_cpu() local
526 cpufreq_interactive_get_policy_info(policy, &max_freq, &hvt, &fvt); in cpufreq_interactive_adjust_cpu()
537 pcpu->pol_hispeed_val_time = hvt; in cpufreq_interactive_adjust_cpu()