Searched refs:umem_area (Results 1 – 2 of 2) sorted by relevance
234 static inline void *xsk_umem__get_data(void *umem_area, __u64 addr) in xsk_umem__get_data() argument236 return &((char *)umem_area)[addr]; in xsk_umem__get_data()289 void *umem_area, __u64 size,
59 char *umem_area; member285 int xsk_umem__create(struct xsk_umem **umem_ptr, void *umem_area, in xsk_umem__create() argument294 if (!umem_area || !umem_ptr || !fill || !comp) in xsk_umem__create()296 if (!size && !xsk_page_aligned(umem_area)) in xsk_umem__create()309 umem->umem_area = umem_area; in xsk_umem__create()314 mr.addr = (uintptr_t)umem_area; in xsk_umem__create()