Home
last modified time | relevance | path

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

/net/xdp/
Dxsk.c935 struct xdp_sock *umem_xs; in xsk_bind() local
957 umem_xs = xdp_sk(sock->sk); in xsk_bind()
958 if (!xsk_is_bound(umem_xs)) { in xsk_bind()
964 if (umem_xs->queue_id != qid || umem_xs->dev != dev) { in xsk_bind()
969 umem_xs->umem); in xsk_bind()
976 err = xp_assign_dev_shared(xs->pool, umem_xs, dev, in xsk_bind()
993 xp_get_pool(umem_xs->pool); in xsk_bind()
994 xs->pool = umem_xs->pool; in xsk_bind()
1011 xdp_get_umem(umem_xs->umem); in xsk_bind()
1012 WRITE_ONCE(xs->umem, umem_xs->umem); in xsk_bind()
Dxsk_buff_pool.c209 int xp_assign_dev_shared(struct xsk_buff_pool *pool, struct xdp_sock *umem_xs, in xp_assign_dev_shared() argument
213 struct xdp_umem *umem = umem_xs->umem; in xp_assign_dev_shared()
220 if (umem_xs->pool->uses_need_wakeup) in xp_assign_dev_shared()