Home
last modified time | relevance | path

Searched refs:vmbus_channel (Results 1 – 23 of 23) sorted by relevance

/Linux-v5.15/include/linux/
Dhyperv.h724 struct vmbus_channel *waiting_channel;
806 struct vmbus_channel { struct
858 void (*change_target_cpu_callback)(struct vmbus_channel *channel, argument
917 void (*sc_creation_callback)(struct vmbus_channel *new_sc); argument
923 void (*chn_rescind_callback)(struct vmbus_channel *channel); argument
933 struct vmbus_channel *primary_channel; argument
1026 u64 (*next_request_id_callback)(struct vmbus_channel *channel, u64 rqst_addr); argument
1028 u64 (*request_addr_callback)(struct vmbus_channel *channel, u64 rqst_id); argument
1038 u64 vmbus_next_request_id(struct vmbus_channel *channel, u64 rqst_addr); argument
1039 u64 vmbus_request_addr(struct vmbus_channel *channel, u64 trans_id);
[all …]
/Linux-v5.15/drivers/hv/
Dhyperv_vmbus.h175 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,
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 …]
Dchannel_mgmt.c27 static void init_vp_index(struct vmbus_channel *channel);
161 static void vmbus_rescind_cleanup(struct vmbus_channel *channel) in vmbus_rescind_cleanup()
190 static u16 hv_get_dev_type(const struct vmbus_channel *channel) in hv_get_dev_type()
341 static struct vmbus_channel *alloc_channel(void) in alloc_channel()
343 struct vmbus_channel *channel; in alloc_channel()
365 static void free_channel(struct vmbus_channel *channel) in free_channel()
373 void vmbus_channel_map_relid(struct vmbus_channel *channel) in vmbus_channel_map_relid()
407 void vmbus_channel_unmap_relid(struct vmbus_channel *channel) in vmbus_channel_unmap_relid()
430 void hv_process_channel_removal(struct vmbus_channel *channel) in hv_process_channel_removal()
479 struct vmbus_channel *channel, *tmp; in vmbus_free_channels()
[all …]
Dchannel.c122 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()
212 static int send_modifychannel_without_ack(struct vmbus_channel *channel, u32 target_vp) in send_modifychannel_without_ack()
228 static int send_modifychannel_with_ack(struct vmbus_channel *channel, u32 target_vp) in send_modifychannel_with_ack()
297 int vmbus_send_modifychannel(struct vmbus_channel *channel, u32 target_vp) in vmbus_send_modifychannel()
456 static int __vmbus_establish_gpadl(struct vmbus_channel *channel, in __vmbus_establish_gpadl()
563 int vmbus_establish_gpadl(struct vmbus_channel *channel, void *kbuffer, in vmbus_establish_gpadl()
635 static int __vmbus_open(struct vmbus_channel *newchannel, in __vmbus_open()
775 int vmbus_connect_ring(struct vmbus_channel *newchannel, in vmbus_connect_ring()
[all …]
Dvmbus_drv.c130 static u8 channel_monitor_group(const struct vmbus_channel *channel) in channel_monitor_group()
135 static u8 channel_monitor_offset(const struct vmbus_channel *channel) in channel_monitor_offset()
140 static u32 channel_pending(const struct vmbus_channel *channel, in channel_pending()
148 static u32 channel_latency(const struct vmbus_channel *channel, in channel_latency()
157 static u32 channel_conn_id(struct vmbus_channel *channel, in channel_conn_id()
521 struct vmbus_channel *channel = hv_dev->channel, *cur_sc; in channel_vp_mapping_show()
537 cur_sc = list_entry(cur, struct vmbus_channel, sc_list); in channel_vp_mapping_show()
1005 struct vmbus_channel *channel = hv_dev->channel; in vmbus_device_release()
1209 static void vmbus_force_channel_rescinded(struct vmbus_channel *channel) in vmbus_force_channel_rescinded()
1272 struct vmbus_channel *channel; in vmbus_chan_sched()
[all …]
Dhv_fcopy.c53 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()
Dhv_debugfs.c56 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()
Dhv_snapshot.c56 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()
406 struct vmbus_channel *channel = vss_transaction.recv_channel; in hv_vss_pre_suspend()
441 struct vmbus_channel *channel = vss_transaction.recv_channel; in hv_vss_pre_resume()
Dring_buffer.c50 static void hv_signal_on_write(u32 old_write, struct vmbus_channel *channel) in hv_signal_on_write()
176 void hv_ringbuffer_pre_init(struct vmbus_channel *channel) in hv_ringbuffer_pre_init()
253 int hv_ringbuffer_write(struct vmbus_channel *channel, in hv_ringbuffer_write()
358 int hv_ringbuffer_read(struct vmbus_channel *channel, in hv_ringbuffer_read()
422 struct vmpacket_descriptor *hv_pkt_iter_first_raw(struct vmbus_channel *channel) in hv_pkt_iter_first_raw()
440 struct vmpacket_descriptor *hv_pkt_iter_first(struct vmbus_channel *channel) in hv_pkt_iter_first()
496 __hv_pkt_iter_next(struct vmbus_channel *channel, in __hv_pkt_iter_next()
546 void hv_pkt_iter_close(struct vmbus_channel *channel) in hv_pkt_iter_close()
Dhv_trace.h331 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),
Dconnection.c264 sizeof(struct vmbus_channel *), in vmbus_connect()
316 struct vmbus_channel *relid2channel(u32 relid) in relid2channel()
339 struct vmbus_channel *channel = (void *) data; in vmbus_on_event()
441 void vmbus_set_event(struct vmbus_channel *channel) in vmbus_set_event()
Dhv_kvp.c81 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()
Dhv_util.c108 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()
Dhv.c334 struct vmbus_channel *channel, *sc; in hv_synic_cleanup()
/Linux-v5.15/net/vmw_vsock/
Dhyperv_transport.c97 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 …]
/Linux-v5.15/drivers/uio/
Duio_hv_generic.c95 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.15/drivers/net/hyperv/
Dnetvsc_trace.h134 const struct vmbus_channel *chan,
159 const struct vmbus_channel *chan,
Dnetvsc.c750 struct vmbus_channel *channel, in netvsc_send_tx_complete()
809 struct vmbus_channel *incoming_channel, in netvsc_send_completion()
962 struct vmbus_channel *out_channel = nvchan->channel; in netvsc_send_pkt()
1285 struct vmbus_channel *channel = nvchan->channel; in netvsc_receive()
1492 struct vmbus_channel *channel = nvchan->channel; in netvsc_process_raw_pkt()
1519 static struct hv_device *netvsc_channel_to_device(struct vmbus_channel *channel) in netvsc_channel_to_device()
1521 struct vmbus_channel *primary = channel->primary_channel; in netvsc_channel_to_device()
1535 struct vmbus_channel *channel = nvchan->channel; in netvsc_poll()
1578 struct vmbus_channel *channel = nvchan->channel; in netvsc_channel_cb()
Dhyperv_net.h1050 struct vmbus_channel *channel;
Dnetvsc_drv.c156 struct vmbus_channel *chn in netvsc_wait_until_empty()
924 struct vmbus_channel *channel = nvchan->channel; in netvsc_recv_callback()
Drndis_filter.c1233 static void netvsc_sc_open(struct vmbus_channel *new_sc) in netvsc_sc_open()
/Linux-v5.15/drivers/scsi/
Dstorvsc_drv.c472 struct vmbus_channel **stor_chns;
641 static void storvsc_change_target_cpu(struct vmbus_channel *channel, u32 old, in storvsc_change_target_cpu()
645 struct vmbus_channel *cur_chn; in storvsc_change_target_cpu()
699 static u64 storvsc_next_request_id(struct vmbus_channel *channel, u64 rqst_addr) in storvsc_next_request_id()
716 static void handle_sc_creation(struct vmbus_channel *new_sc) in handle_sc_creation()
1268 struct vmbus_channel *channel = (struct vmbus_channel *)context; in storvsc_on_channel_callback()
1413 static struct vmbus_channel *get_og_chn(struct storvsc_device *stor_device, in get_og_chn()
1470 struct vmbus_channel *outgoing_channel, *channel; in storvsc_do_io()
/Linux-v5.15/drivers/pci/controller/
Dpci-hyperv.c1424 struct vmbus_channel *channel; in hv_compose_msi_msg()