Home
last modified time | relevance | path

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

/Linux-v5.10/tools/lib/bpf/
Dxsk.c701 void *rx_map = NULL, *tx_map = NULL; in xsk_socket__create_shared() local
778 rx_map = mmap(NULL, off.rx.desc + in xsk_socket__create_shared()
782 if (rx_map == MAP_FAILED) { in xsk_socket__create_shared()
789 rx->producer = rx_map + off.rx.producer; in xsk_socket__create_shared()
790 rx->consumer = rx_map + off.rx.consumer; in xsk_socket__create_shared()
791 rx->flags = rx_map + off.rx.flags; in xsk_socket__create_shared()
792 rx->ring = rx_map + off.rx.desc; in xsk_socket__create_shared()
855 munmap(rx_map, off.rx.desc + in xsk_socket__create_shared()
/Linux-v5.10/drivers/atm/
Dzatm.h72 struct atm_vcc **rx_map; /* RX VCCs */ member
Deni.h100 struct atm_vcc **rx_map; /* for fast lookups */ member
Dzatm.c420 if (chan < zatm_dev->chans && zatm_dev->rx_map[chan]) { in poll_rx()
422 vcc = zatm_dev->rx_map[chan]; in poll_rx()
530 zatm_dev->rx_map[chan] = vcc; in open_rx_first()
594 zatm_dev->rx_map[zatm_vcc->rx_chan] = NULL; in close_rx()
607 zatm_dev->rx_map = kcalloc(zatm_dev->chans, in start_rx()
608 sizeof(*zatm_dev->rx_map), in start_rx()
610 if (!zatm_dev->rx_map) return -ENOMEM; in start_rx()
1272 zatm_dev->rx_map = zatm_dev->tx_map = NULL; in zatm_start()
1357 kfree(zatm_dev->rx_map); in zatm_start()
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-v5.10/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
Dhw_atl2.c103 u32 rx_map = 0; in hw_atl2_hw_queue_to_tc_map_set() local
125 rx_map |= tc << HW_ATL2_RX_Q_TC_MAP_SHIFT(q); in hw_atl2_hw_queue_to_tc_map_set()
130 rx_map); in hw_atl2_hw_queue_to_tc_map_set()
131 rx_map = 0; in hw_atl2_hw_queue_to_tc_map_set()
/Linux-v5.10/drivers/net/ethernet/tehuti/
Dtehuti.h171 struct rx_map { struct
178 struct rx_map *elems; argument
Dtehuti.c935 + (nelem * sizeof(struct rx_map))); in bdx_rxdb_create()
1026 struct rx_map *dm; in bdx_rx_free_skbs()
1089 struct rx_map *dm; in bdx_rx_alloc_skbs()
1150 struct rx_map *dm; in bdx_recycle_skb()
1200 struct rx_map *dm; in bdx_rx_receive()