Home
last modified time | relevance | path

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

/net/xdp/
Dxsk_queue.h96 static inline u32 xskq_nb_avail(struct xsk_queue *q, u32 dcnt) in xskq_nb_avail() argument
106 return (entries > dcnt) ? dcnt : entries; in xskq_nb_avail()
109 static inline u32 xskq_nb_free(struct xsk_queue *q, u32 producer, u32 dcnt) in xskq_nb_free() argument
113 if (free_entries >= dcnt) in xskq_nb_free()
/net/tipc/
Dsocket.c2282 atomic_t *dcnt; in tipc_sk_enqueue() local
2300 dcnt = &tipc_sk(sk)->dupl_rcvcnt; in tipc_sk_enqueue()
2302 atomic_set(dcnt, 0); in tipc_sk_enqueue()
2303 lim = rcvbuf_limit(sk, skb) + atomic_read(dcnt); in tipc_sk_enqueue()
3752 atomic_t *dcnt = &tipc_sk(sk)->dupl_rcvcnt; in tipc_sk_overlimit1() local
3753 unsigned int lim = rcvbuf_limit(sk, skb) + atomic_read(dcnt); in tipc_sk_overlimit1()