Home
last modified time | relevance | path

Searched refs:rx_map (Results 1 – 5 of 5) sorted by relevance

/linux/tools/testing/selftests/bpf/
H A Dxsk.c548 void *rx_map = NULL, *tx_map = NULL; in xsk_socket__create_shared() local
625 rx_map = mmap(NULL, off.rx.desc + in xsk_socket__create_shared()
629 if (rx_map == MAP_FAILED) { in xsk_socket__create_shared()
636 rx->producer = rx_map + off.rx.producer; in xsk_socket__create_shared()
637 rx->consumer = rx_map + off.rx.consumer; in xsk_socket__create_shared()
638 rx->flags = rx_map + off.rx.flags; in xsk_socket__create_shared()
639 rx->ring = rx_map + off.rx.desc; in xsk_socket__create_shared()
696 munmap(rx_map, off.rx.desc + in xsk_socket__create_shared()
/linux/drivers/atm/
H A Deni.h100 struct atm_vcc **rx_map; /* for fast lookups */ member
H A Deni.c188 if (eni_dev->rx_map[i] && ENI_VCC(eni_dev->rx_map[i])->rx) in dump()
190 ENI_VCC(eni_dev->rx_map[i])->recv, in dump()
191 ENI_VCC(eni_dev->rx_map[i])->words*4); in dump()
687 vcc = eni_dev->rx_map[vci & 1023]; in get_service()
823 if (eni_dev->rx_map[vcc->vci]) in open_rx_second()
826 eni_dev->rx_map[vcc->vci] = vcc; /* now it counts */ in open_rx_second()
855 eni_dev->rx_map[vcc->vci] = NULL; in close_rx()
904 eni_dev->rx_map = (struct atm_vcc **) get_zeroed_page(GFP_KERNEL); in start_rx()
905 if (!eni_dev->rx_map) { in start_rx()
/linux/drivers/net/ethernet/tehuti/
H A Dtehuti.h171 struct rx_map { struct
178 struct rx_map *elems; argument
H A Dtehuti.c929 + (nelem * sizeof(struct rx_map))); in bdx_rxdb_create()
1020 struct rx_map *dm; in bdx_rx_free_skbs()
1083 struct rx_map *dm; in bdx_rx_alloc_skbs()
1144 struct rx_map *dm; in bdx_recycle_skb()
1194 struct rx_map *dm; in bdx_rx_receive()