Searched refs:hvt (Results 1 – 6 of 6) sorted by relevance
/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 | 68 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()
|
D | hv_fcopy.c | 63 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()
|
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 | 90 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/ |
D | cpufreq_interactive.c | 498 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()
|