Lines Matching refs:netvsc_device
39 struct netvsc_device *nv_dev = rtnl_dereference(net_device_ctx->nvdev); in netvsc_switch_datapath()
99 struct netvsc_device *nvdev = in netvsc_subchan_work()
100 container_of(w, struct netvsc_device, subchan_work); in netvsc_subchan_work()
128 static struct netvsc_device *alloc_net_device(void) in alloc_net_device()
130 struct netvsc_device *net_device; in alloc_net_device()
132 net_device = kzalloc(sizeof(struct netvsc_device), GFP_KERNEL); in alloc_net_device()
152 struct netvsc_device *nvdev in free_netvsc_device()
153 = container_of(head, struct netvsc_device, rcu); in free_netvsc_device()
173 static void free_netvsc_device_rcu(struct netvsc_device *nvdev) in free_netvsc_device_rcu()
179 struct netvsc_device *net_device, in netvsc_revoke_recv_buf()
229 struct netvsc_device *net_device, in netvsc_revoke_send_buf()
280 struct netvsc_device *net_device, in netvsc_teardown_recv_gpadl()
301 struct netvsc_device *net_device, in netvsc_teardown_send_gpadl()
321 int netvsc_alloc_recv_comp_ring(struct netvsc_device *net_device, u32 q_idx) in netvsc_alloc_recv_comp_ring()
336 struct netvsc_device *net_device, in netvsc_init_buf()
555 struct netvsc_device *net_device, in negotiate_nvsp_ver()
617 struct netvsc_device *net_device, in netvsc_connect_vsp()
693 struct netvsc_device *net_device in netvsc_device_remove()
746 static inline void netvsc_free_send_slot(struct netvsc_device *net_device, in netvsc_free_send_slot()
753 struct netvsc_device *net_device, in netvsc_send_tx_complete()
813 struct netvsc_device *net_device, in netvsc_send_completion()
924 static u32 netvsc_get_next_send_section(struct netvsc_device *net_device) in netvsc_get_next_send_section()
937 static void netvsc_copy_to_send_buf(struct netvsc_device *net_device, in netvsc_copy_to_send_buf()
1055 struct netvsc_device *net_device, in netvsc_send_pkt()
1188 struct netvsc_device *net_device in netvsc_send()
1308 struct netvsc_device *nvdev, in send_recv_completions()
1347 static void recv_comp_slot_avail(const struct netvsc_device *nvdev, in recv_comp_slot_avail()
1363 struct netvsc_device *nvdev, u16 q_idx, in enq_receive_complete()
1393 struct netvsc_device *net_device, in netvsc_receive()
1506 struct netvsc_device *nvscdev, in netvsc_send_table()
1576 struct netvsc_device *nvscdev, in netvsc_receive_inband()
1604 struct netvsc_device *net_device, in netvsc_process_raw_pkt()
1650 struct netvsc_device *net_device = nvchan->net_device; in netvsc_poll()
1717 struct netvsc_device *netvsc_device_add(struct hv_device *device, in netvsc_device_add()
1721 struct netvsc_device *net_device; in netvsc_device_add()