Home
last modified time | relevance | path

Searched refs:UMEM_SIZE (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dxdp_metadata.c28 #define UMEM_SIZE (UMEM_FRAME_SIZE * UMEM_NUM) macro
66 xsk->umem_area = mmap(NULL, UMEM_SIZE, PROT_READ | PROT_WRITE, mmap_flags, -1, 0); in open_xsk()
71 xsk->umem_area, UMEM_SIZE, in open_xsk()
119 munmap(xsk->umem_area, UMEM_SIZE); in close_xsk()
/openbmc/linux/tools/testing/selftests/bpf/
H A Dxdp_hw_metadata.c36 #define UMEM_SIZE (UMEM_FRAME_SIZE * UMEM_NUM) macro
76 xsk->umem_area = mmap(NULL, UMEM_SIZE, PROT_READ | PROT_WRITE, mmap_flags, -1, 0); in open_xsk()
81 xsk->umem_area, UMEM_SIZE, in open_xsk()
124 munmap(xsk->umem_area, UMEM_SIZE); in close_xsk()