Searched refs:umem_area (Results 1 – 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/tools/lib/bpf/ |
D | xsk.h | 166 static inline void *xsk_umem__get_data(void *umem_area, __u64 addr) in xsk_umem__get_data() argument 168 return &((char *)umem_area)[addr]; in xsk_umem__get_data() 217 void *umem_area, __u64 size, 222 void *umem_area, __u64 size, 227 void *umem_area, __u64 size,
|
D | xsk.c | 52 char *umem_area; member 276 int xsk_umem__create_v0_0_4(struct xsk_umem **umem_ptr, void *umem_area, in xsk_umem__create_v0_0_4() argument 285 if (!umem_area || !umem_ptr || !fill || !comp) in xsk_umem__create_v0_0_4() 287 if (!size && !xsk_page_aligned(umem_area)) in xsk_umem__create_v0_0_4() 300 umem->umem_area = umem_area; in xsk_umem__create_v0_0_4() 305 mr.addr = (uintptr_t)umem_area; in xsk_umem__create_v0_0_4() 340 int xsk_umem__create_v0_0_2(struct xsk_umem **umem_ptr, void *umem_area, in xsk_umem__create_v0_0_2() argument 350 return xsk_umem__create_v0_0_4(umem_ptr, umem_area, size, fill, comp, in xsk_umem__create_v0_0_2()
|