Home
last modified time | relevance | path

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

/Linux-v5.4/include/linux/
Dhyperv.h657 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/
Dchannel_mgmt.c26 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 …]
Dhyperv_vmbus.h180 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()
Dchannel.c44 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 …]
Dvmbus_drv.c100 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 …]
Dconnection.c312 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()
Dring_buffer.c50 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()
Dhv_trace.h299 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),
Dhv_fcopy.c52 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()
Dhv_snapshot.c55 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()
Dhv_util.c128 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()
Dhv_kvp.c80 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()
Dhv.c248 struct vmbus_channel *channel, *sc; in hv_synic_cleanup()
/Linux-v5.4/net/vmw_vsock/
Dhyperv_transport.c95 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/
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.4/drivers/net/hyperv/
Dnetvsc.c673 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()
Dnetvsc_trace.h134 const struct vmbus_channel *chan,
159 const struct vmbus_channel *chan,
Dhyperv_net.h960 struct vmbus_channel *channel;
Dnetvsc_drv.c157 struct vmbus_channel *chn in netvsc_wait_until_empty()
826 struct vmbus_channel *channel = nvchan->channel; in netvsc_recv_callback()
Drndis_filter.c1083 static void netvsc_sc_open(struct vmbus_channel *new_sc) in netvsc_sc_open()
/Linux-v5.4/drivers/scsi/
Dstorvsc_drv.c460 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()