Lines Matching +full:pairs +full:- +full:one
1 /* SPDX-License-Identifier: GPL-2.0 */
5 #include <linux/rhashtable-types.h>
10 #include <net/dropreason-core.h>
66 * struct inet_frag_queue - fragment queue
73 * @rb_fragments: received fragments rb-tree root
129 * Pairs with READ_ONCE() in inet_frag_find(). in fqdir_pre_exit()
131 WRITE_ONCE(fqdir->high_thresh, 0); in fqdir_pre_exit()
133 /* Pairs with READ_ONCE() in inet_frag_kill(), ip_expire() in fqdir_pre_exit()
136 WRITE_ONCE(fqdir->dead, true); in fqdir_pre_exit()
150 if (refs && refcount_sub_and_test(refs, &q->refcnt)) in inet_frag_putn()
158 return atomic_long_read(&fqdir->mem); in frag_mem_limit()
163 atomic_long_sub(val, &fqdir->mem); in sub_frag_mem_limit()
168 atomic_long_add(val, &fqdir->mem); in add_frag_mem_limit()
173 * In ipq->ecn, we store the OR value of each ip4_frag_ecn() fragment value.
175 #define IPFRAG_ECN_NOT_ECT 0x01 /* one frag had ECN_NOT_ECT */
176 #define IPFRAG_ECN_ECT_1 0x02 /* one frag had ECN_ECT_1 */
177 #define IPFRAG_ECN_ECT_0 0x04 /* one frag had ECN_ECT_0 */
178 #define IPFRAG_ECN_CE 0x08 /* one frag had ECN_CE */