Home
last modified time | relevance | path

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

/external/libbpf/src/
Dxsk.h234 static inline void *xsk_umem__get_data(void *umem_area, __u64 addr) in xsk_umem__get_data() argument
236 return &((char *)umem_area)[addr]; in xsk_umem__get_data()
293 void *umem_area, __u64 size,
299 void *umem_area, __u64 size,
305 void *umem_area, __u64 size,
Dxsk.c63 char *umem_area; member
290 int xsk_umem__create_v0_0_4(struct xsk_umem **umem_ptr, void *umem_area, in xsk_umem__create_v0_0_4() argument
299 if (!umem_area || !umem_ptr || !fill || !comp) in xsk_umem__create_v0_0_4()
301 if (!size && !xsk_page_aligned(umem_area)) in xsk_umem__create_v0_0_4()
314 umem->umem_area = umem_area; in xsk_umem__create_v0_0_4()
319 mr.addr = (uintptr_t)umem_area; in xsk_umem__create_v0_0_4()
355 int xsk_umem__create_v0_0_2(struct xsk_umem **umem_ptr, void *umem_area, in xsk_umem__create_v0_0_2() argument
365 return xsk_umem__create_v0_0_4(umem_ptr, umem_area, size, fill, comp, in xsk_umem__create_v0_0_2()