/Linux-v5.4/include/linux/ |
D | hyperv.h | 657 struct vmbus_channel *waiting_channel; 719 struct vmbus_channel { struct 826 void (*sc_creation_callback)(struct vmbus_channel *new_sc); argument 832 void (*chn_rescind_callback)(struct vmbus_channel *channel); argument 848 struct vmbus_channel *primary_channel; argument 937 static inline bool is_hvsock_channel(const struct vmbus_channel *c) in is_hvsock_channel() argument 943 static inline bool is_sub_channel(const struct vmbus_channel *c) in is_sub_channel() 948 static inline void set_channel_affinity_state(struct vmbus_channel *c, in set_channel_affinity_state() 954 static inline void set_channel_read_mode(struct vmbus_channel *c, in set_channel_read_mode() 960 static inline void set_per_channel_state(struct vmbus_channel *c, void *s) in set_per_channel_state() [all …]
|
/Linux-v5.4/drivers/hv/ |
D | channel_mgmt.c | 26 static void init_vp_index(struct vmbus_channel *channel, u16 dev_type); 143 static void vmbus_rescind_cleanup(struct vmbus_channel *channel) in vmbus_rescind_cleanup() 172 static u16 hv_get_dev_type(const struct vmbus_channel *channel) in hv_get_dev_type() 310 static struct vmbus_channel *alloc_channel(void) in alloc_channel() 312 struct vmbus_channel *channel; in alloc_channel() 335 static void free_channel(struct vmbus_channel *channel) in free_channel() 345 struct vmbus_channel *channel = arg; in percpu_channel_enq() 354 struct vmbus_channel *channel = arg; in percpu_channel_deq() 374 void hv_process_channel_removal(struct vmbus_channel *channel) in hv_process_channel_removal() 376 struct vmbus_channel *primary_channel; in hv_process_channel_removal() [all …]
|
D | hyperv_vmbus.h | 180 void hv_ringbuffer_pre_init(struct vmbus_channel *channel); 187 int hv_ringbuffer_write(struct vmbus_channel *channel, 190 int hv_ringbuffer_read(struct vmbus_channel *channel, 330 struct vmbus_channel *channel); 335 struct vmbus_channel *channel); 337 void vmbus_remove_channel_attr_group(struct vmbus_channel *channel); 339 struct vmbus_channel *relid2channel(u32 relid); 366 static inline void hv_poll_channel(struct vmbus_channel *channel, in hv_poll_channel()
|
D | channel.c | 44 void vmbus_setevent(struct vmbus_channel *channel) in vmbus_setevent() 71 void vmbus_free_ring(struct vmbus_channel *channel) in vmbus_free_ring() 86 int vmbus_alloc_ring(struct vmbus_channel *newchannel, in vmbus_alloc_ring() 114 static int __vmbus_open(struct vmbus_channel *newchannel, in __vmbus_open() 241 int vmbus_connect_ring(struct vmbus_channel *newchannel, in vmbus_connect_ring() 251 int vmbus_open(struct vmbus_channel *newchannel, in vmbus_open() 439 int vmbus_establish_gpadl(struct vmbus_channel *channel, void *kbuffer, in vmbus_establish_gpadl() 540 int vmbus_teardown_gpadl(struct vmbus_channel *channel, u32 gpadl_handle) in vmbus_teardown_gpadl() 599 struct vmbus_channel *channel = arg; in reset_channel_cb() 604 void vmbus_reset_channel_cb(struct vmbus_channel *channel) in vmbus_reset_channel_cb() [all …]
|
D | vmbus_drv.c | 100 static u8 channel_monitor_group(const struct vmbus_channel *channel) in channel_monitor_group() 105 static u8 channel_monitor_offset(const struct vmbus_channel *channel) in channel_monitor_offset() 110 static u32 channel_pending(const struct vmbus_channel *channel, in channel_pending() 118 static u32 channel_latency(const struct vmbus_channel *channel, in channel_latency() 127 static u32 channel_conn_id(struct vmbus_channel *channel, in channel_conn_id() 492 struct vmbus_channel *channel = hv_dev->channel, *cur_sc; in channel_vp_mapping_show() 509 cur_sc = list_entry(cur, struct vmbus_channel, sc_list); in channel_vp_mapping_show() 961 struct vmbus_channel *channel = hv_dev->channel; in vmbus_device_release() 1080 static void vmbus_force_channel_rescinded(struct vmbus_channel *channel) in vmbus_force_channel_rescinded() 1116 static void vmbus_channel_isr(struct vmbus_channel *channel) in vmbus_channel_isr() [all …]
|
D | connection.c | 312 struct vmbus_channel *relid2channel(u32 relid) in relid2channel() 314 struct vmbus_channel *channel; in relid2channel() 315 struct vmbus_channel *found_channel = NULL; in relid2channel() 317 struct vmbus_channel *cur_sc; in relid2channel() 330 cur_sc = list_entry(cur, struct vmbus_channel, in relid2channel() 359 struct vmbus_channel *channel = (void *) data; in vmbus_on_event() 460 void vmbus_set_event(struct vmbus_channel *channel) in vmbus_set_event()
|
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() 417 __hv_pkt_iter_next(struct vmbus_channel *channel, in __hv_pkt_iter_next() 465 void hv_pkt_iter_close(struct vmbus_channel *channel) in hv_pkt_iter_close()
|
D | hv_trace.h | 299 DECLARE_EVENT_CLASS(vmbus_channel, 300 TP_PROTO(const struct vmbus_channel *channel), 307 DEFINE_EVENT(vmbus_channel, vmbus_chan_sched, 308 TP_PROTO(const struct vmbus_channel *channel), 312 DEFINE_EVENT(vmbus_channel, vmbus_setevent, 313 TP_PROTO(const struct vmbus_channel *channel), 317 DEFINE_EVENT(vmbus_channel, vmbus_on_event, 318 TP_PROTO(const struct vmbus_channel *channel),
|
D | hv_fcopy.c | 52 struct vmbus_channel *recv_channel; /* chn we got the request */ 194 struct vmbus_channel *channel; in fcopy_respond_to_host() 227 struct vmbus_channel *channel = context; in hv_fcopy_onchannelcallback()
|
D | hv_snapshot.c | 55 struct vmbus_channel *recv_channel; /* chn we got the request */ 251 struct vmbus_channel *channel; in vss_respond_to_host() 289 struct vmbus_channel *channel = context; in hv_vss_onchannelcallback()
|
D | hv_util.c | 128 struct vmbus_channel *channel = context; in shutdown_onchannelcallback() 278 struct vmbus_channel *channel = context; in timesync_onchannelcallback() 339 struct vmbus_channel *channel = context; in heartbeat_onchannelcallback()
|
D | hv_kvp.c | 80 struct vmbus_channel *recv_channel; /* chn we got the request */ 115 tasklet_schedule(&((struct vmbus_channel *)channel)->callback_event); in kvp_poll_wrapper() 523 struct vmbus_channel *channel; in kvp_respond_to_host() 636 struct vmbus_channel *channel = context; in hv_kvp_onchannelcallback()
|
D | hv.c | 248 struct vmbus_channel *channel, *sc; in hv_synic_cleanup()
|
/Linux-v5.4/net/vmw_vsock/ |
D | hyperv_transport.c | 95 struct vmbus_channel *chan; 210 static void hvs_set_channel_pending_send_size(struct vmbus_channel *chan) in hvs_set_channel_pending_send_size() 218 static bool hvs_channel_readable(struct vmbus_channel *chan) in hvs_channel_readable() 226 static int hvs_channel_readable_payload(struct vmbus_channel *chan) in hvs_channel_readable_payload() 247 static size_t hvs_channel_writable_bytes(struct vmbus_channel *chan) in hvs_channel_writable_bytes() 264 static int hvs_send_data(struct vmbus_channel *chan, in hvs_send_data() 279 struct vmbus_channel *chan = hvs->chan; in hvs_channel_cb() 308 static void hvs_close_connection(struct vmbus_channel *chan) in hvs_close_connection() 322 static void hvs_open_connection(struct vmbus_channel *chan) in hvs_open_connection() 572 struct vmbus_channel *chan = hvs->chan; in hvs_destruct() [all …]
|
/Linux-v5.4/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()
|
/Linux-v5.4/drivers/net/hyperv/ |
D | netvsc.c | 673 struct vmbus_channel *channel, in netvsc_send_tx_complete() 723 struct vmbus_channel *incoming_channel, in netvsc_send_completion() 815 struct vmbus_channel *out_channel = nvchan->channel; in netvsc_send_pkt() 1116 struct vmbus_channel *channel = nvchan->channel; in netvsc_receive() 1254 struct vmbus_channel *channel = nvchan->channel; in netvsc_process_raw_pkt() 1284 static struct hv_device *netvsc_channel_to_device(struct vmbus_channel *channel) in netvsc_channel_to_device() 1286 struct vmbus_channel *primary = channel->primary_channel; in netvsc_channel_to_device() 1300 struct vmbus_channel *channel = nvchan->channel; in netvsc_poll() 1343 struct vmbus_channel *channel = nvchan->channel; in netvsc_channel_cb()
|
D | netvsc_trace.h | 134 const struct vmbus_channel *chan, 159 const struct vmbus_channel *chan,
|
D | hyperv_net.h | 960 struct vmbus_channel *channel;
|
D | netvsc_drv.c | 157 struct vmbus_channel *chn in netvsc_wait_until_empty() 826 struct vmbus_channel *channel = nvchan->channel; in netvsc_recv_callback()
|
D | rndis_filter.c | 1083 static void netvsc_sc_open(struct vmbus_channel *new_sc) in netvsc_sc_open()
|
/Linux-v5.4/drivers/scsi/ |
D | storvsc_drv.c | 460 struct vmbus_channel **stor_chns; 624 static void handle_sc_creation(struct vmbus_channel *new_sc) in handle_sc_creation() 1152 struct vmbus_channel *channel = (struct vmbus_channel *)context; in storvsc_on_channel_callback() 1243 static struct vmbus_channel *get_og_chn(struct storvsc_device *stor_device, in get_og_chn() 1297 struct vmbus_channel *outgoing_channel, *channel; in storvsc_do_io()
|