/kernel/linux/linux-5.10/include/linux/ |
D | hyperv.h | 716 struct vmbus_channel *waiting_channel; 773 struct vmbus_channel { struct 824 void (*change_target_cpu_callback)(struct vmbus_channel *channel, argument 883 void (*sc_creation_callback)(struct vmbus_channel *new_sc); argument 889 void (*chn_rescind_callback)(struct vmbus_channel *channel); argument 899 struct vmbus_channel *primary_channel; argument 993 static inline bool is_hvsock_channel(const struct vmbus_channel *c) in is_hvsock_channel() argument 999 static inline bool is_sub_channel(const struct vmbus_channel *c) in is_sub_channel() 1004 static inline void set_channel_read_mode(struct vmbus_channel *c, in set_channel_read_mode() 1010 static inline void set_per_channel_state(struct vmbus_channel *c, void *s) in set_per_channel_state() [all …]
|
/kernel/linux/linux-5.10/drivers/hv/ |
D | hyperv_vmbus.h | 175 void hv_ringbuffer_pre_init(struct vmbus_channel *channel); 182 int hv_ringbuffer_write(struct vmbus_channel *channel, 185 int hv_ringbuffer_read(struct vmbus_channel *channel, 252 struct vmbus_channel **channels; 332 struct vmbus_channel *channel); 337 struct vmbus_channel *channel); 339 void vmbus_remove_channel_attr_group(struct vmbus_channel *channel); 341 void vmbus_channel_map_relid(struct vmbus_channel *channel); 342 void vmbus_channel_unmap_relid(struct vmbus_channel *channel); 344 struct vmbus_channel *relid2channel(u32 relid); [all …]
|
D | channel_mgmt.c | 27 static void init_vp_index(struct vmbus_channel *channel); 144 static void vmbus_rescind_cleanup(struct vmbus_channel *channel) in vmbus_rescind_cleanup() 173 static u16 hv_get_dev_type(const struct vmbus_channel *channel) in hv_get_dev_type() 311 static struct vmbus_channel *alloc_channel(void) in alloc_channel() 313 struct vmbus_channel *channel; in alloc_channel() 335 static void free_channel(struct vmbus_channel *channel) in free_channel() 343 void vmbus_channel_map_relid(struct vmbus_channel *channel) in vmbus_channel_map_relid() 377 void vmbus_channel_unmap_relid(struct vmbus_channel *channel) in vmbus_channel_unmap_relid() 400 void hv_process_channel_removal(struct vmbus_channel *channel) in hv_process_channel_removal() 449 struct vmbus_channel *channel, *tmp; in vmbus_free_channels() [all …]
|
D | channel.c | 122 void vmbus_setevent(struct vmbus_channel *channel) in vmbus_setevent() 149 void vmbus_free_ring(struct vmbus_channel *channel) in vmbus_free_ring() 164 int vmbus_alloc_ring(struct vmbus_channel *newchannel, in vmbus_alloc_ring() 391 static int __vmbus_establish_gpadl(struct vmbus_channel *channel, in __vmbus_establish_gpadl() 498 int vmbus_establish_gpadl(struct vmbus_channel *channel, void *kbuffer, in vmbus_establish_gpadl() 506 static int __vmbus_open(struct vmbus_channel *newchannel, in __vmbus_open() 636 int vmbus_connect_ring(struct vmbus_channel *newchannel, in vmbus_connect_ring() 646 int vmbus_open(struct vmbus_channel *newchannel, in vmbus_open() 670 int vmbus_teardown_gpadl(struct vmbus_channel *channel, u32 gpadl_handle) in vmbus_teardown_gpadl() 727 void vmbus_reset_channel_cb(struct vmbus_channel *channel) in vmbus_reset_channel_cb() [all …]
|
D | vmbus_drv.c | 127 static u8 channel_monitor_group(const struct vmbus_channel *channel) in channel_monitor_group() 132 static u8 channel_monitor_offset(const struct vmbus_channel *channel) in channel_monitor_offset() 137 static u32 channel_pending(const struct vmbus_channel *channel, in channel_pending() 145 static u32 channel_latency(const struct vmbus_channel *channel, in channel_latency() 154 static u32 channel_conn_id(struct vmbus_channel *channel, in channel_conn_id() 517 struct vmbus_channel *channel = hv_dev->channel, *cur_sc; in channel_vp_mapping_show() 533 cur_sc = list_entry(cur, struct vmbus_channel, sc_list); in channel_vp_mapping_show() 985 struct vmbus_channel *channel = hv_dev->channel; in vmbus_device_release() 1179 static void vmbus_force_channel_rescinded(struct vmbus_channel *channel) in vmbus_force_channel_rescinded() 1242 struct vmbus_channel *channel; in vmbus_chan_sched() [all …]
|
D | hv_debugfs.c | 56 struct vmbus_channel *channel = dev->channel; in hv_debug_delay_files() 85 struct vmbus_channel *channel = dev->channel; in hv_debug_set_test_state() 154 void hv_debug_delay_test(struct vmbus_channel *channel, enum delay delay_type) in hv_debug_delay_test() 156 struct vmbus_channel *test_channel = channel->primary_channel ? in hv_debug_delay_test()
|
D | hv_snapshot.c | 56 struct vmbus_channel *recv_channel; /* chn we got the request */ 83 tasklet_schedule(&((struct vmbus_channel *)channel)->callback_event); in vss_poll_wrapper() 252 struct vmbus_channel *channel; in vss_respond_to_host() 290 struct vmbus_channel *channel = context; in hv_vss_onchannelcallback() 390 struct vmbus_channel *channel = vss_transaction.recv_channel; in hv_vss_pre_suspend() 425 struct vmbus_channel *channel = vss_transaction.recv_channel; in hv_vss_pre_resume()
|
D | hv_fcopy.c | 53 struct vmbus_channel *recv_channel; /* chn we got the request */ 74 tasklet_schedule(&((struct vmbus_channel *)channel)->callback_event); in fcopy_poll_wrapper() 195 struct vmbus_channel *channel; in fcopy_respond_to_host() 228 struct vmbus_channel *channel = context; in hv_fcopy_onchannelcallback() 357 struct vmbus_channel *channel = fcopy_transaction.recv_channel; in hv_fcopy_pre_suspend() 392 struct vmbus_channel *channel = fcopy_transaction.recv_channel; in hv_fcopy_pre_resume()
|
D | ring_buffer.c | 50 static void hv_signal_on_write(u32 old_write, struct vmbus_channel *channel) in hv_signal_on_write() 185 void hv_ringbuffer_pre_init(struct vmbus_channel *channel) in hv_ringbuffer_pre_init() 250 int hv_ringbuffer_write(struct vmbus_channel *channel, in hv_ringbuffer_write() 328 int hv_ringbuffer_read(struct vmbus_channel *channel, in hv_ringbuffer_read() 394 struct vmpacket_descriptor *hv_pkt_iter_first(struct vmbus_channel *channel) in hv_pkt_iter_first() 418 __hv_pkt_iter_next(struct vmbus_channel *channel, in __hv_pkt_iter_next() 467 void hv_pkt_iter_close(struct vmbus_channel *channel) in hv_pkt_iter_close()
|
D | hv_trace.h | 316 DECLARE_EVENT_CLASS(vmbus_channel, 317 TP_PROTO(const struct vmbus_channel *channel), 324 DEFINE_EVENT(vmbus_channel, vmbus_chan_sched, 325 TP_PROTO(const struct vmbus_channel *channel), 329 DEFINE_EVENT(vmbus_channel, vmbus_setevent, 330 TP_PROTO(const struct vmbus_channel *channel), 334 DEFINE_EVENT(vmbus_channel, vmbus_on_event, 335 TP_PROTO(const struct vmbus_channel *channel),
|
D | connection.c | 254 sizeof(struct vmbus_channel *), in vmbus_connect() 306 struct vmbus_channel *relid2channel(u32 relid) in relid2channel() 329 struct vmbus_channel *channel = (void *) data; in vmbus_on_event() 431 void vmbus_set_event(struct vmbus_channel *channel) in vmbus_set_event()
|
D | hv_kvp.c | 81 struct vmbus_channel *recv_channel; /* chn we got the request */ 116 tasklet_schedule(&((struct vmbus_channel *)channel)->callback_event); in kvp_poll_wrapper() 524 struct vmbus_channel *channel; in kvp_respond_to_host() 637 struct vmbus_channel *channel = context; in hv_kvp_onchannelcallback() 770 struct vmbus_channel *channel = kvp_transaction.recv_channel; in hv_kvp_pre_suspend() 793 struct vmbus_channel *channel = kvp_transaction.recv_channel; in hv_kvp_pre_resume()
|
D | hv_util.c | 109 struct vmbus_channel *channel = srv->channel; in hv_shutdown_init() 188 struct vmbus_channel *channel = context; in shutdown_onchannelcallback() 382 struct vmbus_channel *channel = context; in timesync_onchannelcallback() 456 struct vmbus_channel *channel = context; in heartbeat_onchannelcallback()
|
D | hv.c | 242 struct vmbus_channel *channel, *sc; in hv_synic_cleanup()
|
/kernel/linux/linux-5.10/net/vmw_vsock/ |
D | hyperv_transport.c | 97 struct vmbus_channel *chan; 174 static void hvs_set_channel_pending_send_size(struct vmbus_channel *chan) in hvs_set_channel_pending_send_size() 182 static bool hvs_channel_readable(struct vmbus_channel *chan) in hvs_channel_readable() 190 static int hvs_channel_readable_payload(struct vmbus_channel *chan) in hvs_channel_readable_payload() 211 static size_t hvs_channel_writable_bytes(struct vmbus_channel *chan) in hvs_channel_writable_bytes() 228 static int hvs_send_data(struct vmbus_channel *chan, in hvs_send_data() 243 struct vmbus_channel *chan = hvs->chan; in hvs_channel_cb() 272 static void hvs_close_connection(struct vmbus_channel *chan) in hvs_close_connection() 286 static void hvs_open_connection(struct vmbus_channel *chan) in hvs_open_connection() 535 struct vmbus_channel *chan = hvs->chan; in hvs_destruct() [all …]
|
/kernel/linux/linux-5.10/drivers/uio/ |
D | uio_hv_generic.c | 95 struct vmbus_channel *chan = context; in hv_uio_channel_cb() 108 static void hv_uio_rescind(struct vmbus_channel *channel) in hv_uio_rescind() 130 struct vmbus_channel *channel in hv_uio_ring_mmap() 131 = container_of(kobj, struct vmbus_channel, kobj); in hv_uio_ring_mmap() 152 hv_uio_new_channel(struct vmbus_channel *new_sc) in hv_uio_new_channel() 239 struct vmbus_channel *channel = dev->channel; in hv_uio_probe()
|
/kernel/linux/linux-5.10/drivers/net/hyperv/ |
D | netvsc_trace.h | 134 const struct vmbus_channel *chan, 159 const struct vmbus_channel *chan,
|
D | netvsc.c | 694 struct vmbus_channel *channel, in netvsc_send_tx_complete() 744 struct vmbus_channel *incoming_channel, in netvsc_send_completion() 873 struct vmbus_channel *out_channel = nvchan->channel; in netvsc_send_pkt() 1175 struct vmbus_channel *channel = nvchan->channel; in netvsc_receive() 1366 struct vmbus_channel *channel = nvchan->channel; in netvsc_process_raw_pkt() 1393 static struct hv_device *netvsc_channel_to_device(struct vmbus_channel *channel) in netvsc_channel_to_device() 1395 struct vmbus_channel *primary = channel->primary_channel; in netvsc_channel_to_device() 1409 struct vmbus_channel *channel = nvchan->channel; in netvsc_poll() 1452 struct vmbus_channel *channel = nvchan->channel; in netvsc_channel_cb()
|
D | hyperv_net.h | 990 struct vmbus_channel *channel;
|
D | netvsc_drv.c | 158 struct vmbus_channel *chn in netvsc_wait_until_empty() 900 struct vmbus_channel *channel = nvchan->channel; in netvsc_recv_callback()
|
D | rndis_filter.c | 1146 static void netvsc_sc_open(struct vmbus_channel *new_sc) in netvsc_sc_open()
|
/kernel/linux/linux-5.10/drivers/scsi/ |
D | storvsc_drv.c | 460 struct vmbus_channel **stor_chns; 629 static void storvsc_change_target_cpu(struct vmbus_channel *channel, u32 old, in storvsc_change_target_cpu() 633 struct vmbus_channel *cur_chn; in storvsc_change_target_cpu() 687 static void handle_sc_creation(struct vmbus_channel *new_sc) in handle_sc_creation() 1233 struct vmbus_channel *channel = (struct vmbus_channel *)context; in storvsc_on_channel_callback() 1324 static struct vmbus_channel *get_og_chn(struct storvsc_device *stor_device, in get_og_chn() 1381 struct vmbus_channel *outgoing_channel, *channel; in storvsc_do_io()
|
/kernel/linux/linux-5.10/drivers/pci/controller/ |
D | pci-hyperv.c | 1376 struct vmbus_channel *channel; in hv_compose_msi_msg()
|