Home
last modified time | relevance | path

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

/linux/include/linux/
A Dhyperv.h724 struct vmbus_channel *waiting_channel;
812 struct vmbus_channel { struct
939 struct vmbus_channel *primary_channel; argument
1104 void (*sc_cr_cb)(struct vmbus_channel *new_sc));
1107 void (*chn_rescind_cb)(struct vmbus_channel *));
1145 int vmbus_alloc_ring(struct vmbus_channel *channel,
1262 struct vmbus_channel *channel;
1582 struct vmbus_channel *channel;
1664 hv_pkt_iter_first(struct vmbus_channel *channel);
1667 __hv_pkt_iter_next(struct vmbus_channel *channel,
[all …]
/linux/drivers/hv/
A 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,
254 struct vmbus_channel **channels;
334 struct vmbus_channel *channel);
339 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);
379 static inline void hv_poll_channel(struct vmbus_channel *channel, in hv_poll_channel()
[all …]
A Dchannel_mgmt.c27 static void init_vp_index(struct vmbus_channel *channel);
341 static struct vmbus_channel *alloc_channel(void) in alloc_channel()
343 struct vmbus_channel *channel; in alloc_channel()
479 struct vmbus_channel *channel, *tmp; in vmbus_free_channels()
493 struct vmbus_channel *newchannel = in vmbus_add_channel_work()
577 struct vmbus_channel *channel; in vmbus_process_offer()
693 struct vmbus_channel *sc; in hv_cpuself_used()
952 static struct vmbus_channel *
955 struct vmbus_channel *channel = NULL, *iter; in find_primary_channel_by_offer()
1000 struct vmbus_channel *oldchannel, *newchannel; in vmbus_onoffer()
[all …]
A Dchannel.c123 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()
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()
804 int vmbus_open(struct vmbus_channel *newchannel, in vmbus_open()
893 void vmbus_reset_channel_cb(struct vmbus_channel *channel) in vmbus_reset_channel_cb()
981 int vmbus_disconnect_ring(struct vmbus_channel *channel) in vmbus_disconnect_ring()
983 struct vmbus_channel *cur_channel, *tmp; in vmbus_disconnect_ring()
1017 void vmbus_close(struct vmbus_channel *channel) in vmbus_close()
[all …]
A Dvmbus_drv.c1005 struct vmbus_channel *channel = hv_dev->channel; in vmbus_device_release()
1272 struct vmbus_channel *channel; in vmbus_chan_sched()
1662 struct vmbus_channel *channel in vmbus_chan_release()
1663 = container_of(kobj, struct vmbus_channel, kobj); in vmbus_chan_release()
1671 ssize_t (*store)(struct vmbus_channel *chan,
1689 struct vmbus_channel *chan in vmbus_chan_attr_show()
1704 struct vmbus_channel *chan in vmbus_chan_attr_store()
1994 const struct vmbus_channel *channel = in vmbus_chan_attr_is_visible()
1995 container_of(kobj, struct vmbus_channel, kobj); in vmbus_chan_attr_is_visible()
2063 struct vmbus_channel *channel) in vmbus_device_create()
[all …]
A 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()
A 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()
A 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()
A Dring_buffer.c52 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()
389 int hv_ringbuffer_read(struct vmbus_channel *channel, in hv_ringbuffer_read()
453 struct vmpacket_descriptor *hv_pkt_iter_first_raw(struct vmbus_channel *channel) in hv_pkt_iter_first_raw()
471 struct vmpacket_descriptor *hv_pkt_iter_first(struct vmbus_channel *channel) in hv_pkt_iter_first()
527 __hv_pkt_iter_next(struct vmbus_channel *channel, in __hv_pkt_iter_next()
577 void hv_pkt_iter_close(struct vmbus_channel *channel) in hv_pkt_iter_close()
A 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),
A 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()
A Dconnection.c326 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()
A 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()
A Dhv.c382 struct vmbus_channel *channel, *sc; in hv_synic_cleanup()
/linux/net/vmw_vsock/
A Dhyperv_transport.c97 struct vmbus_channel *chan;
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()
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()
630 struct vmbus_channel *chan = hvs->chan; in hvs_stream_enqueue()
844 struct vmbus_channel *chan = hdev->channel; in hvs_probe()
[all …]
/linux/drivers/uio/
A 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()
237 struct vmbus_channel *channel = dev->channel; in hv_uio_probe()
/linux/drivers/net/hyperv/
A Dnetvsc_trace.h134 const struct vmbus_channel *chan,
159 const struct vmbus_channel *chan,
A Dnetvsc.c749 struct vmbus_channel *channel, in netvsc_send_tx_complete()
808 struct vmbus_channel *incoming_channel, in netvsc_send_completion()
961 struct vmbus_channel *out_channel = nvchan->channel; in netvsc_send_pkt()
1284 struct vmbus_channel *channel = nvchan->channel; in netvsc_receive()
1491 struct vmbus_channel *channel = nvchan->channel; in netvsc_process_raw_pkt()
1518 static struct hv_device *netvsc_channel_to_device(struct vmbus_channel *channel) in netvsc_channel_to_device()
1520 struct vmbus_channel *primary = channel->primary_channel; in netvsc_channel_to_device()
1534 struct vmbus_channel *channel = nvchan->channel; in netvsc_poll()
1577 struct vmbus_channel *channel = nvchan->channel; in netvsc_channel_cb()
A Dhyperv_net.h1050 struct vmbus_channel *channel;
A Dnetvsc_drv.c156 struct vmbus_channel *chn in netvsc_wait_until_empty()
925 struct vmbus_channel *channel = nvchan->channel; in netvsc_recv_callback()
A Drndis_filter.c1233 static void netvsc_sc_open(struct vmbus_channel *new_sc) in netvsc_sc_open()
/linux/drivers/scsi/
A 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/drivers/pci/controller/
A Dpci-hyperv.c1424 struct vmbus_channel *channel; in hv_compose_msi_msg()

Completed in 67 milliseconds