Home
last modified time | relevance | path

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

/Linux-v5.4/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.c343 struct octeon_recv_info *recv_info; in octeon_create_recv_info() local
349 recv_info = octeon_alloc_recv_info(sizeof(struct __dispatch)); in octeon_create_recv_info()
350 if (!recv_info) in octeon_create_recv_info()
353 recv_pkt = recv_info->recv_pkt; in octeon_create_recv_info()
385 return recv_info; in octeon_create_recv_info()
Docteon_device.c1188 int octeon_core_drv_init(struct octeon_recv_info *recv_info, void *buf) in octeon_core_drv_init() argument
1193 struct octeon_recv_pkt *recv_pkt = recv_info->recv_pkt; in octeon_core_drv_init()
1266 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.c3305 static int lio_nic_info(struct octeon_recv_info *recv_info, void *buf) in lio_nic_info() argument
3308 struct octeon_recv_pkt *recv_pkt = recv_info->recv_pkt; in lio_nic_info()
3335 octeon_free_recv_info(recv_info); in lio_nic_info()
4003 octeon_recv_vf_drv_notice(struct octeon_recv_info *recv_info, void *buf) in octeon_recv_vf_drv_notice() argument
4006 struct octeon_recv_pkt *recv_pkt = recv_info->recv_pkt; in octeon_recv_vf_drv_notice()
4048 octeon_free_recv_info(recv_info); in octeon_recv_vf_drv_notice()
Dlio_vf_main.c1881 static int lio_nic_info(struct octeon_recv_info *recv_info, void *buf) in lio_nic_info() argument
1884 struct octeon_recv_pkt *recv_pkt = recv_info->recv_pkt; in lio_nic_info()
1912 octeon_free_recv_info(recv_info); in lio_nic_info()
/Linux-v5.4/drivers/misc/vmw_vmci/
Dvmci_host.c407 struct vmci_datagram_snd_rcv_info recv_info; in vmci_host_do_receive_datagram() local
417 if (copy_from_user(&recv_info, uptr, sizeof(recv_info))) in vmci_host_do_receive_datagram()
420 size = recv_info.len; in vmci_host_do_receive_datagram()
421 recv_info.result = vmci_ctx_dequeue_datagram(vmci_host_dev->context, in vmci_host_do_receive_datagram()
424 if (recv_info.result >= VMCI_SUCCESS) { in vmci_host_do_receive_datagram()
425 void __user *ubuf = (void __user *)(uintptr_t)recv_info.addr; in vmci_host_do_receive_datagram()
432 return copy_to_user(uptr, &recv_info, sizeof(recv_info)) ? -EFAULT : 0; in vmci_host_do_receive_datagram()
/Linux-v5.4/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()