Home
last modified time | relevance | path

Searched refs:recv_info (Results 1 – 9 of 9) sorted by relevance

/drivers/net/ethernet/cavium/liquidio/
Docteon_droq.h189 struct octeon_recv_info *recv_info; in octeon_alloc_recv_info() local
197 recv_info = (struct octeon_recv_info *)buf; in octeon_alloc_recv_info()
198 recv_info->recv_pkt = in octeon_alloc_recv_info()
200 recv_info->rsvd = NULL; in octeon_alloc_recv_info()
202 recv_info->rsvd = buf + OCT_RECV_INFO_SIZE + OCT_RECV_PKT_SIZE; in octeon_alloc_recv_info()
204 return recv_info; in octeon_alloc_recv_info()
210 static inline void octeon_free_recv_info(struct octeon_recv_info *recv_info) in octeon_free_recv_info() argument
212 kfree(recv_info); in octeon_free_recv_info()
Dlio_vf_rep.c294 lio_vf_rep_pkt_recv(struct octeon_recv_info *recv_info, void *buf) in lio_vf_rep_pkt_recv() argument
296 struct octeon_recv_pkt *recv_pkt = recv_info->recv_pkt; in lio_vf_rep_pkt_recv()
334 octeon_free_recv_info(recv_info); in lio_vf_rep_pkt_recv()
342 octeon_free_recv_info(recv_info); in lio_vf_rep_pkt_recv()
Docteon_droq.c340 struct octeon_recv_info *recv_info; in octeon_create_recv_info() local
346 recv_info = octeon_alloc_recv_info(sizeof(struct __dispatch)); in octeon_create_recv_info()
347 if (!recv_info) in octeon_create_recv_info()
350 recv_pkt = recv_info->recv_pkt; in octeon_create_recv_info()
382 return recv_info; in octeon_create_recv_info()
Docteon_device.c1185 int octeon_core_drv_init(struct octeon_recv_info *recv_info, void *buf) in octeon_core_drv_init() argument
1190 struct octeon_recv_pkt *recv_pkt = recv_info->recv_pkt; in octeon_core_drv_init()
1263 octeon_free_recv_info(recv_info); in octeon_core_drv_init()
Docteon_device.h681 int octeon_core_drv_init(struct octeon_recv_info *recv_info, void *buf);
Dlio_main.c3308 static int lio_nic_info(struct octeon_recv_info *recv_info, void *buf) in lio_nic_info() argument
3311 struct octeon_recv_pkt *recv_pkt = recv_info->recv_pkt; in lio_nic_info()
3338 octeon_free_recv_info(recv_info); in lio_nic_info()
4009 octeon_recv_vf_drv_notice(struct octeon_recv_info *recv_info, void *buf) in octeon_recv_vf_drv_notice() argument
4012 struct octeon_recv_pkt *recv_pkt = recv_info->recv_pkt; in octeon_recv_vf_drv_notice()
4054 octeon_free_recv_info(recv_info); in octeon_recv_vf_drv_notice()
Dlio_vf_main.c1899 static int lio_nic_info(struct octeon_recv_info *recv_info, void *buf) in lio_nic_info() argument
1902 struct octeon_recv_pkt *recv_pkt = recv_info->recv_pkt; in lio_nic_info()
1930 octeon_free_recv_info(recv_info); in lio_nic_info()
/drivers/misc/vmw_vmci/
Dvmci_host.c418 struct vmci_datagram_snd_rcv_info recv_info; in vmci_host_do_receive_datagram() local
428 if (copy_from_user(&recv_info, uptr, sizeof(recv_info))) in vmci_host_do_receive_datagram()
431 size = recv_info.len; in vmci_host_do_receive_datagram()
432 recv_info.result = vmci_ctx_dequeue_datagram(vmci_host_dev->context, in vmci_host_do_receive_datagram()
435 if (recv_info.result >= VMCI_SUCCESS) { in vmci_host_do_receive_datagram()
436 void __user *ubuf = (void __user *)(uintptr_t)recv_info.addr; in vmci_host_do_receive_datagram()
443 return copy_to_user(uptr, &recv_info, sizeof(recv_info)) ? -EFAULT : 0; in vmci_host_do_receive_datagram()
/drivers/net/ethernet/rocker/
Drocker_main.c2744 struct switchdev_notifier_fdb_info *recv_info) in rocker_fdb_offload_notify() argument
2748 info.addr = recv_info->addr; in rocker_fdb_offload_notify()
2749 info.vid = recv_info->vid; in rocker_fdb_offload_notify()