/linux-5.19.10/include/linux/ |
D | hyperv.h | 728 struct vmbus_channel *waiting_channel; 817 struct vmbus_channel { struct 869 void (*change_target_cpu_callback)(struct vmbus_channel *channel, argument 928 void (*sc_creation_callback)(struct vmbus_channel *new_sc); argument 934 void (*chn_rescind_callback)(struct vmbus_channel *channel); argument 944 struct vmbus_channel *primary_channel; argument 1037 u64 (*next_request_id_callback)(struct vmbus_channel *channel, u64 rqst_addr); argument 1039 u64 (*request_addr_callback)(struct vmbus_channel *channel, u64 rqst_id); argument 1056 static __always_inline void unlock_requestor(struct vmbus_channel *channel, in unlock_requestor() argument 1064 u64 vmbus_next_request_id(struct vmbus_channel *channel, u64 rqst_addr); [all …]
|
/linux-5.19.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, 186 int hv_ringbuffer_read(struct vmbus_channel *channel, 254 struct vmbus_channel **channels; 334 struct vmbus_channel *channel); 339 struct vmbus_channel *channel); 341 void vmbus_remove_channel_attr_group(struct vmbus_channel *channel); 343 void vmbus_channel_map_relid(struct vmbus_channel *channel); 344 void vmbus_channel_unmap_relid(struct vmbus_channel *channel); 346 struct vmbus_channel *relid2channel(u32 relid); [all …]
|
D | channel_mgmt.c | 28 static void init_vp_index(struct vmbus_channel *channel); 163 static void vmbus_rescind_cleanup(struct vmbus_channel *channel) in vmbus_rescind_cleanup() 192 static u16 hv_get_dev_type(const struct vmbus_channel *channel) in hv_get_dev_type() 343 static struct vmbus_channel *alloc_channel(void) in alloc_channel() 345 struct vmbus_channel *channel; in alloc_channel() 367 static void free_channel(struct vmbus_channel *channel) in free_channel() 375 void vmbus_channel_map_relid(struct vmbus_channel *channel) in vmbus_channel_map_relid() 409 void vmbus_channel_unmap_relid(struct vmbus_channel *channel) in vmbus_channel_unmap_relid() 432 void hv_process_channel_removal(struct vmbus_channel *channel) in hv_process_channel_removal() 481 struct vmbus_channel *channel, *tmp; in vmbus_free_channels() [all …]
|
D | channel.c | 123 void vmbus_setevent(struct vmbus_channel *channel) in vmbus_setevent() 150 void vmbus_free_ring(struct vmbus_channel *channel) in vmbus_free_ring() 165 int vmbus_alloc_ring(struct vmbus_channel *newchannel, in vmbus_alloc_ring() 213 static int send_modifychannel_without_ack(struct vmbus_channel *channel, u32 target_vp) in send_modifychannel_without_ack() 229 static int send_modifychannel_with_ack(struct vmbus_channel *channel, u32 target_vp) in send_modifychannel_with_ack() 298 int vmbus_send_modifychannel(struct vmbus_channel *channel, u32 target_vp) in vmbus_send_modifychannel() 457 static int __vmbus_establish_gpadl(struct vmbus_channel *channel, in __vmbus_establish_gpadl() 581 int vmbus_establish_gpadl(struct vmbus_channel *channel, void *kbuffer, in vmbus_establish_gpadl() 653 static int __vmbus_open(struct vmbus_channel *newchannel, in __vmbus_open() 794 int vmbus_connect_ring(struct vmbus_channel *newchannel, in vmbus_connect_ring() [all …]
|
D | vmbus_drv.c | 132 static u8 channel_monitor_group(const struct vmbus_channel *channel) in channel_monitor_group() 137 static u8 channel_monitor_offset(const struct vmbus_channel *channel) in channel_monitor_offset() 142 static u32 channel_pending(const struct vmbus_channel *channel, in channel_pending() 150 static u32 channel_latency(const struct vmbus_channel *channel, in channel_latency() 159 static u32 channel_conn_id(struct vmbus_channel *channel, in channel_conn_id() 523 struct vmbus_channel *channel = hv_dev->channel, *cur_sc; in channel_vp_mapping_show() 539 cur_sc = list_entry(cur, struct vmbus_channel, sc_list); in channel_vp_mapping_show() 1002 struct vmbus_channel *channel = hv_dev->channel; in vmbus_device_release() 1207 static void vmbus_force_channel_rescinded(struct vmbus_channel *channel) in vmbus_force_channel_rescinded() 1264 struct vmbus_channel *channel; in vmbus_chan_sched() [all …]
|
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() 378 struct vmbus_channel *channel = fcopy_transaction.recv_channel; in hv_fcopy_pre_suspend() 413 struct vmbus_channel *channel = fcopy_transaction.recv_channel; in hv_fcopy_pre_resume()
|
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 | 59 struct vmbus_channel *recv_channel; /* chn we got the request */ 86 tasklet_schedule(&((struct vmbus_channel *)channel)->callback_event); in vss_poll_wrapper() 255 struct vmbus_channel *channel; in vss_respond_to_host() 293 struct vmbus_channel *channel = context; in hv_vss_onchannelcallback() 409 struct vmbus_channel *channel = vss_transaction.recv_channel; in hv_vss_pre_suspend() 444 struct vmbus_channel *channel = vss_transaction.recv_channel; in hv_vss_pre_resume()
|
D | hv_trace.h | 331 DECLARE_EVENT_CLASS(vmbus_channel, 332 TP_PROTO(const struct vmbus_channel *channel), 339 DEFINE_EVENT(vmbus_channel, vmbus_chan_sched, 340 TP_PROTO(const struct vmbus_channel *channel), 344 DEFINE_EVENT(vmbus_channel, vmbus_setevent, 345 TP_PROTO(const struct vmbus_channel *channel), 349 DEFINE_EVENT(vmbus_channel, vmbus_on_event, 350 TP_PROTO(const struct vmbus_channel *channel),
|
D | ring_buffer.c | 52 static void hv_signal_on_write(u32 old_write, struct vmbus_channel *channel) in hv_signal_on_write() 178 void hv_ringbuffer_pre_init(struct vmbus_channel *channel) in hv_ringbuffer_pre_init() 284 int hv_ringbuffer_write(struct vmbus_channel *channel, in hv_ringbuffer_write() 397 int hv_ringbuffer_read(struct vmbus_channel *channel, in hv_ringbuffer_read() 472 struct vmpacket_descriptor *hv_pkt_iter_first(struct vmbus_channel *channel) in hv_pkt_iter_first() 531 __hv_pkt_iter_next(struct vmbus_channel *channel, in __hv_pkt_iter_next() 580 void hv_pkt_iter_close(struct vmbus_channel *channel) in hv_pkt_iter_close()
|
D | connection.c | 326 sizeof(struct vmbus_channel *), in vmbus_connect() 399 struct vmbus_channel *relid2channel(u32 relid) in relid2channel() 422 struct vmbus_channel *channel = (void *) data; in vmbus_on_event() 524 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() 787 struct vmbus_channel *channel = kvp_transaction.recv_channel; in hv_kvp_pre_suspend() 810 struct vmbus_channel *channel = kvp_transaction.recv_channel; in hv_kvp_pre_resume()
|
D | hv_util.c | 108 struct vmbus_channel *channel = srv->channel; in hv_shutdown_init() 187 struct vmbus_channel *channel = context; in shutdown_onchannelcallback() 396 struct vmbus_channel *channel = context; in timesync_onchannelcallback() 489 struct vmbus_channel *channel = context; in heartbeat_onchannelcallback()
|
D | hv.c | 382 struct vmbus_channel *channel, *sc; in hv_synic_cleanup()
|
/linux-5.19.10/net/vmw_vsock/ |
D | hyperv_transport.c | 100 struct vmbus_channel *chan; 177 static void hvs_set_channel_pending_send_size(struct vmbus_channel *chan) in hvs_set_channel_pending_send_size() 185 static bool hvs_channel_readable(struct vmbus_channel *chan) in hvs_channel_readable() 193 static int hvs_channel_readable_payload(struct vmbus_channel *chan) in hvs_channel_readable_payload() 214 static size_t hvs_channel_writable_bytes(struct vmbus_channel *chan) in hvs_channel_writable_bytes() 231 static int __hvs_send_data(struct vmbus_channel *chan, in __hvs_send_data() 241 static int hvs_send_data(struct vmbus_channel *chan, in hvs_send_data() 252 struct vmbus_channel *chan = hvs->chan; in hvs_channel_cb() 281 static void hvs_close_connection(struct vmbus_channel *chan) in hvs_close_connection() 295 static void hvs_open_connection(struct vmbus_channel *chan) in hvs_open_connection() [all …]
|
/linux-5.19.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() 237 struct vmbus_channel *channel = dev->channel; in hv_uio_probe()
|
/linux-5.19.10/drivers/net/hyperv/ |
D | netvsc_trace.h | 134 const struct vmbus_channel *chan, 159 const struct vmbus_channel *chan,
|
D | netvsc.c | 786 struct vmbus_channel *channel, in netvsc_send_tx_complete() 846 struct vmbus_channel *incoming_channel, in netvsc_send_completion() 1081 struct vmbus_channel *out_channel = nvchan->channel; in netvsc_send_pkt() 1415 struct vmbus_channel *channel = nvchan->channel; in netvsc_receive() 1622 struct vmbus_channel *channel = nvchan->channel; in netvsc_process_raw_pkt() 1648 static struct hv_device *netvsc_channel_to_device(struct vmbus_channel *channel) in netvsc_channel_to_device() 1650 struct vmbus_channel *primary = channel->primary_channel; in netvsc_channel_to_device() 1664 struct vmbus_channel *channel = nvchan->channel; in netvsc_poll() 1712 struct vmbus_channel *channel = nvchan->channel; in netvsc_channel_cb()
|
D | hyperv_net.h | 1113 struct vmbus_channel *channel;
|
D | netvsc_drv.c | 156 struct vmbus_channel *chn in netvsc_wait_until_empty() 875 struct vmbus_channel *channel = nvchan->channel; in netvsc_recv_callback()
|
D | rndis_filter.c | 1235 static void netvsc_sc_open(struct vmbus_channel *new_sc) in netvsc_sc_open()
|
/linux-5.19.10/drivers/scsi/ |
D | storvsc_drv.c | 415 struct vmbus_channel **stor_chns; 584 static void storvsc_change_target_cpu(struct vmbus_channel *channel, u32 old, in storvsc_change_target_cpu() 588 struct vmbus_channel *cur_chn; in storvsc_change_target_cpu() 642 static u64 storvsc_next_request_id(struct vmbus_channel *channel, u64 rqst_addr) in storvsc_next_request_id() 659 static void handle_sc_creation(struct vmbus_channel *new_sc) in handle_sc_creation() 1202 struct vmbus_channel *channel = (struct vmbus_channel *)context; in storvsc_on_channel_callback() 1348 static struct vmbus_channel *get_og_chn(struct storvsc_device *stor_device, in get_og_chn() 1405 struct vmbus_channel *outgoing_channel, *channel; in storvsc_do_io()
|
/linux-5.19.10/drivers/pci/controller/ |
D | pci-hyperv.c | 1696 struct vmbus_channel *channel; in hv_compose_msi_msg() 2773 struct vmbus_channel *chan = hbus->hdev->channel; in hv_pci_onchannelcallback() 3667 struct vmbus_channel *chan = hdev->channel; in hv_pci_bus_exit()
|