/kernel/linux/linux-5.10/drivers/hv/ |
H A D | hv_utils_transport.c | 18 static void hvt_reset(struct hvutil_transport *hvt) in hvt_reset() argument 20 kfree(hvt->outmsg); in hvt_reset() 21 hvt->outmsg = NULL; in hvt_reset() 22 hvt->outmsg_len = 0; in hvt_reset() 23 if (hvt->on_reset) in hvt_reset() 24 hvt->on_reset(); in hvt_reset() 30 struct hvutil_transport *hvt; in hvt_op_read() local 33 hvt = container_of(file->f_op, struct hvutil_transport, fops); in hvt_op_read() 35 if (wait_event_interruptible(hvt->outmsg_q, hvt in hvt_op_read() 77 struct hvutil_transport *hvt; hvt_op_write() local 99 struct hvutil_transport *hvt; hvt_op_poll() local 116 struct hvutil_transport *hvt; hvt_op_open() local 152 hvt_transport_free(struct hvutil_transport *hvt) hvt_transport_free() argument 161 struct hvutil_transport *hvt; hvt_op_release() local 186 struct hvutil_transport *hvt, *hvt_found = NULL; hvt_cn_callback() local 217 hvutil_transport_send(struct hvutil_transport *hvt, void *msg, int len, void (*on_read_cb)(void)) hvutil_transport_send() argument 275 struct hvutil_transport *hvt; hvutil_transport_init() local 325 hvutil_transport_destroy(struct hvutil_transport *hvt) hvutil_transport_destroy() argument [all...] |
H A D | hv_fcopy.c | 64 static struct hvutil_transport *hvt; variable 104 if (hvutil_transport_send(hvt, &our_ver, sizeof(our_ver), in fcopy_handle_handshake() 175 rc = hvutil_transport_send(hvt, out_src, out_len, NULL); in fcopy_send_data() 341 hvt = hvutil_transport_init(fcopy_devname, 0, 0, in hv_fcopy_init() 343 if (!hvt) in hv_fcopy_init() 380 hvutil_transport_send(hvt, fcopy_msg, sizeof(*fcopy_msg), NULL); in hv_fcopy_pre_suspend() 405 hvutil_transport_destroy(hvt); in hv_fcopy_deinit()
|
H A D | hv_snapshot.c | 71 static struct hvutil_transport *hvt; variable 118 if (hvutil_transport_send(hvt, &our_ver, sizeof(our_ver), in vss_handle_handshake() 195 rc = hvutil_transport_send(hvt, vss_msg, sizeof(*vss_msg), NULL); in vss_send_op() 372 hvt = hvutil_transport_init(vss_devname, CN_VSS_IDX, CN_VSS_VAL, in hv_vss_init() 374 if (!hvt) { in hv_vss_init() 413 hvutil_transport_send(hvt, vss_msg, sizeof(*vss_msg), NULL); in hv_vss_pre_suspend() 438 hvutil_transport_destroy(hvt); in hv_vss_deinit()
|
H A D | hv_utils_transport.h | 41 int hvutil_transport_send(struct hvutil_transport *hvt, void *msg, int len, 43 void hvutil_transport_destroy(struct hvutil_transport *hvt);
|
H A D | hv_kvp.c | 104 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() 753 hvt = hvutil_transport_init(kvp_devname, CN_KVP_IDX, CN_KVP_VAL, in hv_kvp_init() 755 if (!hvt) in hv_kvp_init() 806 hvutil_transport_destroy(hvt); in hv_kvp_deinit()
|
/kernel/linux/linux-6.6/drivers/hv/ |
H A D | hv_utils_transport.c | 18 static void hvt_reset(struct hvutil_transport *hvt) in hvt_reset() argument 20 kfree(hvt->outmsg); in hvt_reset() 21 hvt->outmsg = NULL; in hvt_reset() 22 hvt->outmsg_len = 0; in hvt_reset() 23 if (hvt->on_reset) in hvt_reset() 24 hvt->on_reset(); in hvt_reset() 30 struct hvutil_transport *hvt; in hvt_op_read() local 33 hvt = container_of(file->f_op, struct hvutil_transport, fops); in hvt_op_read() 35 if (wait_event_interruptible(hvt->outmsg_q, hvt in hvt_op_read() 77 struct hvutil_transport *hvt; hvt_op_write() local 99 struct hvutil_transport *hvt; hvt_op_poll() local 116 struct hvutil_transport *hvt; hvt_op_open() local 152 hvt_transport_free(struct hvutil_transport *hvt) hvt_transport_free() argument 161 struct hvutil_transport *hvt; hvt_op_release() local 186 struct hvutil_transport *hvt, *hvt_found = NULL; hvt_cn_callback() local 217 hvutil_transport_send(struct hvutil_transport *hvt, void *msg, int len, void (*on_read_cb)(void)) hvutil_transport_send() argument 275 struct hvutil_transport *hvt; hvutil_transport_init() local 325 hvutil_transport_destroy(struct hvutil_transport *hvt) hvutil_transport_destroy() argument [all...] |
H A D | hv_fcopy.c | 64 static struct hvutil_transport *hvt; variable 104 if (hvutil_transport_send(hvt, &our_ver, sizeof(our_ver), in fcopy_handle_handshake() 175 rc = hvutil_transport_send(hvt, out_src, out_len, NULL); in fcopy_send_data() 362 hvt = hvutil_transport_init(fcopy_devname, 0, 0, in hv_fcopy_init() 364 if (!hvt) in hv_fcopy_init() 401 hvutil_transport_send(hvt, fcopy_msg, sizeof(*fcopy_msg), NULL); in hv_fcopy_pre_suspend() 426 hvutil_transport_destroy(hvt); in hv_fcopy_deinit()
|
H A D | hv_snapshot.c | 74 static struct hvutil_transport *hvt; variable 121 if (hvutil_transport_send(hvt, &our_ver, sizeof(our_ver), in vss_handle_handshake() 198 rc = hvutil_transport_send(hvt, vss_msg, sizeof(*vss_msg), NULL); in vss_send_op() 391 hvt = hvutil_transport_init(vss_devname, CN_VSS_IDX, CN_VSS_VAL, in hv_vss_init() 393 if (!hvt) { in hv_vss_init() 432 hvutil_transport_send(hvt, vss_msg, sizeof(*vss_msg), NULL); in hv_vss_pre_suspend() 457 hvutil_transport_destroy(hvt); in hv_vss_deinit()
|
H A D | hv_utils_transport.h | 41 int hvutil_transport_send(struct hvutil_transport *hvt, void *msg, int len, 43 void hvutil_transport_destroy(struct hvutil_transport *hvt);
|
H A D | hv_kvp.c | 104 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() 770 hvt = hvutil_transport_init(kvp_devname, CN_KVP_IDX, CN_KVP_VAL, in hv_kvp_init() 772 if (!hvt) in hv_kvp_init() 823 hvutil_transport_destroy(hvt); in hv_kvp_deinit()
|