Home
last modified time | relevance | path

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

/Linux-v5.10/tools/lib/bpf/
Dxsk.h166 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,
Dxsk.c52 char *umem_area; member
274 int xsk_umem__create_v0_0_4(struct xsk_umem **umem_ptr, void *umem_area, in xsk_umem__create_v0_0_4() argument
283 if (!umem_area || !umem_ptr || !fill || !comp) in xsk_umem__create_v0_0_4()
285 if (!size && !xsk_page_aligned(umem_area)) in xsk_umem__create_v0_0_4()
298 umem->umem_area = umem_area; in xsk_umem__create_v0_0_4()
303 mr.addr = (uintptr_t)umem_area; in xsk_umem__create_v0_0_4()
338 int xsk_umem__create_v0_0_2(struct xsk_umem **umem_ptr, void *umem_area, in xsk_umem__create_v0_0_2() argument
348 return xsk_umem__create_v0_0_4(umem_ptr, umem_area, size, fill, comp, in xsk_umem__create_v0_0_2()