Home
last modified time | relevance | path

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

/linux-6.1.9/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.c1184 int octeon_core_drv_init(struct octeon_recv_info *recv_info, void *buf) in octeon_core_drv_init() argument
1189 struct octeon_recv_pkt *recv_pkt = recv_info->recv_pkt; in octeon_core_drv_init()
1262 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.c3299 static int lio_nic_info(struct octeon_recv_info *recv_info, void *buf) in lio_nic_info() argument
3302 struct octeon_recv_pkt *recv_pkt = recv_info->recv_pkt; in lio_nic_info()
3329 octeon_free_recv_info(recv_info); in lio_nic_info()
3998 octeon_recv_vf_drv_notice(struct octeon_recv_info *recv_info, void *buf) in octeon_recv_vf_drv_notice() argument
4001 struct octeon_recv_pkt *recv_pkt = recv_info->recv_pkt; in octeon_recv_vf_drv_notice()
4043 octeon_free_recv_info(recv_info); in octeon_recv_vf_drv_notice()
Dlio_vf_main.c1894 static int lio_nic_info(struct octeon_recv_info *recv_info, void *buf) in lio_nic_info() argument
1897 struct octeon_recv_pkt *recv_pkt = recv_info->recv_pkt; in lio_nic_info()
1925 octeon_free_recv_info(recv_info); in lio_nic_info()
/linux-6.1.9/drivers/misc/vmw_vmci/
Dvmci_host.c412 struct vmci_datagram_snd_rcv_info recv_info; in vmci_host_do_receive_datagram() local
422 if (copy_from_user(&recv_info, uptr, sizeof(recv_info))) in vmci_host_do_receive_datagram()
425 size = recv_info.len; in vmci_host_do_receive_datagram()
426 recv_info.result = vmci_ctx_dequeue_datagram(vmci_host_dev->context, in vmci_host_do_receive_datagram()
429 if (recv_info.result >= VMCI_SUCCESS) { in vmci_host_do_receive_datagram()
430 void __user *ubuf = (void __user *)(uintptr_t)recv_info.addr; in vmci_host_do_receive_datagram()
437 return copy_to_user(uptr, &recv_info, sizeof(recv_info)) ? -EFAULT : 0; in vmci_host_do_receive_datagram()
/linux-6.1.9/drivers/net/ethernet/rocker/
Drocker_main.c2705 struct switchdev_notifier_fdb_info *recv_info) in rocker_fdb_offload_notify() argument
2709 info.addr = recv_info->addr; in rocker_fdb_offload_notify()
2710 info.vid = recv_info->vid; in rocker_fdb_offload_notify()