Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dhyperv.h748 struct vmbus_channel *waiting_channel;
831 struct vmbus_channel { struct
883 void (*change_target_cpu_callback)(struct vmbus_channel *channel, argument
942 void (*sc_creation_callback)(struct vmbus_channel *new_sc); argument
948 void (*chn_rescind_callback)(struct vmbus_channel *channel); argument
958 struct vmbus_channel *primary_channel; argument
1051 u64 (*next_request_id_callback)(struct vmbus_channel *channel, u64 rqst_addr); argument
1053 u64 (*request_addr_callback)(struct vmbus_channel *channel, u64 rqst_id); argument
1070 static __always_inline void unlock_requestor(struct vmbus_channel *channel, in unlock_requestor() argument
1078 u64 vmbus_next_request_id(struct vmbus_channel *channel, u64 rqst_addr);
[all …]
/linux/drivers/hv/
H A Dhyperv_vmbus.h182 void hv_ringbuffer_pre_init(struct vmbus_channel *channel);
189 int hv_ringbuffer_write(struct vmbus_channel *channel,
193 int hv_ringbuffer_read(struct vmbus_channel *channel,
259 struct vmbus_channel **channels;
338 struct vmbus_channel *channel);
343 struct vmbus_channel *channel);
345 void vmbus_remove_channel_attr_group(struct vmbus_channel *channel);
347 void vmbus_channel_map_relid(struct vmbus_channel *channel);
348 void vmbus_channel_unmap_relid(struct vmbus_channel *channel);
350 struct vmbus_channel *relid2channel(u32 relid);
[all …]
H 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()
167 int vmbus_alloc_ring(struct vmbus_channel *newchannel, in vmbus_alloc_ring()
215 static int send_modifychannel_without_ack(struct vmbus_channel *channel, u32 target_vp) in send_modifychannel_without_ack()
231 static int send_modifychannel_with_ack(struct vmbus_channel *channel, u32 target_vp) in send_modifychannel_with_ack()
300 int vmbus_send_modifychannel(struct vmbus_channel *channel, u32 target_vp) in vmbus_send_modifychannel()
423 static int __vmbus_establish_gpadl(struct vmbus_channel *channel, in __vmbus_establish_gpadl()
562 int vmbus_establish_gpadl(struct vmbus_channel *channel, void *kbuffer, in vmbus_establish_gpadl()
634 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 …]
H A Dvmbus_drv.c91 static u8 channel_monitor_group(const struct vmbus_channel *channel) in channel_monitor_group()
96 static u8 channel_monitor_offset(const struct vmbus_channel *channel) in channel_monitor_offset()
101 static u32 channel_pending(const struct vmbus_channel *channel, in channel_pending()
109 static u32 channel_latency(const struct vmbus_channel *channel, in channel_latency()
118 static u32 channel_conn_id(struct vmbus_channel *channel, in channel_conn_id()
476 struct vmbus_channel *channel = hv_dev->channel, *cur_sc; in channel_vp_mapping_show()
491 cur_sc = list_entry(cur, struct vmbus_channel, sc_list); in channel_vp_mapping_show()
951 struct vmbus_channel *channel = hv_dev->channel; in vmbus_device_release()
1161 static void vmbus_force_channel_rescinded(struct vmbus_channel *channel) in vmbus_force_channel_rescinded()
1218 struct vmbus_channel *channel; in vmbus_chan_sched()
[all …]
H 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()
266 bool hv_ringbuffer_spinlock_busy(struct vmbus_channel *channel) in hv_ringbuffer_spinlock_busy()
275 int hv_ringbuffer_write(struct vmbus_channel *channel, in hv_ringbuffer_write()
388 int hv_ringbuffer_read(struct vmbus_channel *channel, in hv_ringbuffer_read()
463 struct vmpacket_descriptor *hv_pkt_iter_first(struct vmbus_channel *channel) in hv_pkt_iter_first()
522 __hv_pkt_iter_next(struct vmbus_channel *channel, in __hv_pkt_iter_next()
571 void hv_pkt_iter_close(struct vmbus_channel *channel) in hv_pkt_iter_close()
H 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()
H A Dhv_snapshot.c59 struct vmbus_channel *recv_channel; /* chn we got the request */
86 tasklet_schedule(&((struct vmbus_channel *)channel)->callback_event); in vss_poll_wrapper()
256 struct vmbus_channel *channel; in vss_respond_to_host()
294 struct vmbus_channel *channel = context; in hv_vss_onchannelcallback()
416 struct vmbus_channel *channel = vss_transaction.recv_channel; in hv_vss_pre_suspend()
451 struct vmbus_channel *channel = vss_transaction.recv_channel; in hv_vss_pre_resume()
H 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),
H 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()
793 struct vmbus_channel *channel = kvp_transaction.recv_channel; in hv_kvp_pre_suspend()
816 struct vmbus_channel *channel = kvp_transaction.recv_channel; in hv_kvp_pre_resume()
H A Dhv_util.c108 struct vmbus_channel *channel = srv->channel; in hv_shutdown_init()
181 struct vmbus_channel *channel = context; in shutdown_onchannelcallback()
419 struct vmbus_channel *channel = context; in timesync_onchannelcallback()
512 struct vmbus_channel *channel = context; in heartbeat_onchannelcallback()
H A Dhv.c441 struct vmbus_channel *channel, *sc; in hv_synic_cleanup()
/linux/drivers/scsi/
H A Dstorvsc_drv.c437 struct vmbus_channel **stor_chns;
606 static void storvsc_change_target_cpu(struct vmbus_channel *channel, u32 old, in storvsc_change_target_cpu()
610 struct vmbus_channel *cur_chn; in storvsc_change_target_cpu()
664 static u64 storvsc_next_request_id(struct vmbus_channel *channel, u64 rqst_addr) in storvsc_next_request_id()
681 static void handle_sc_creation(struct vmbus_channel *new_sc) in handle_sc_creation()
1241 struct vmbus_channel *channel = (struct vmbus_channel *)context; in storvsc_on_channel_callback()
1393 static struct vmbus_channel *get_og_chn(struct storvsc_device *stor_device, in get_og_chn()
1450 struct vmbus_channel *outgoing_channel, *channel; in storvsc_do_io()
/linux/drivers/net/hyperv/
H A Dnetvsc_drv.c160 struct vmbus_channel *chn in netvsc_wait_until_empty()
879 struct vmbus_channel *channel = nvchan->channel; in netvsc_recv_callback()