• Home
  • Raw
  • Download

Lines Matching refs:comp

63 	struct xsk_ring_cons *comp;  member
218 struct xsk_ring_cons *comp) in xsk_create_umem_rings() argument
262 comp->mask = umem->config.comp_size - 1; in xsk_create_umem_rings()
263 comp->size = umem->config.comp_size; in xsk_create_umem_rings()
264 comp->producer = map + off.cr.producer; in xsk_create_umem_rings()
265 comp->consumer = map + off.cr.consumer; in xsk_create_umem_rings()
266 comp->flags = map + off.cr.flags; in xsk_create_umem_rings()
267 comp->ring = map + off.cr.desc; in xsk_create_umem_rings()
278 struct xsk_ring_cons *comp, in xsk_umem__create_v0_0_4() argument
285 if (!umem_area || !umem_ptr || !fill || !comp) in xsk_umem__create_v0_0_4()
317 err = xsk_create_umem_rings(umem, umem->fd, fill, comp); in xsk_umem__create_v0_0_4()
322 umem->comp_save = comp; in xsk_umem__create_v0_0_4()
342 struct xsk_ring_cons *comp, 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()
651 munmap(ctx->comp->ring - off.cr.desc, off.cr.desc + umem->config.comp_size * in xsk_put_ctx()
663 struct xsk_ring_cons *comp) in xsk_create_ctx() argument
673 err = xsk_create_umem_rings(umem, xsk->fd, fill, comp); in xsk_create_ctx()
678 } else if (umem->fill_save != fill || umem->comp_save != comp) { in xsk_create_ctx()
681 memcpy(comp, umem->comp_save, sizeof(*comp)); in xsk_create_ctx()
692 ctx->comp = comp; in xsk_create_ctx()
703 struct xsk_ring_cons *comp, in xsk_socket__create_shared() argument
748 if (!fill || !comp) { in xsk_socket__create_shared()
754 fill, comp); in xsk_socket__create_shared()