Lines Matching +full:valid +full:- +full:mask

1 /* SPDX-License-Identifier: GPL-2.0-or-later */
10 * Author: Paul Moore <paul@paul-moore.com>
14 * (c) Copyright Hewlett-Packard Development Company, L.P., 2008
27 * struct netlbl_af4list - NetLabel IPv4 address list
29 * @mask: IPv4 address mask
30 * @valid: valid flag
35 __be32 mask; member
37 u32 valid; member
42 * struct netlbl_af6list - NetLabel IPv6 address list
44 * @mask: IPv6 address mask
45 * @valid: valid flag
50 struct in6_addr mask; member
52 u32 valid; member
63 while (i != h && !n->valid) { in __af4list_valid()
64 i = i->next; in __af4list_valid()
75 while (i != h && !n->valid) { in __af4list_valid_rcu()
83 for (iter = __af4list_valid((head)->next, head); \
84 &iter->list != (head); \
85 iter = __af4list_valid(iter->list.next, head))
88 for (iter = __af4list_valid_rcu((head)->next, head); \
89 &iter->list != (head); \
90 iter = __af4list_valid_rcu(iter->list.next, head))
93 for (iter = __af4list_valid((head)->next, head), \
94 tmp = __af4list_valid(iter->list.next, head); \
95 &iter->list != (head); \
96 iter = tmp, tmp = __af4list_valid(iter->list.next, head))
100 struct netlbl_af4list *netlbl_af4list_remove(__be32 addr, __be32 mask,
106 __be32 mask,
112 __be32 addr, __be32 mask);
116 __be32 addr, __be32 mask) in netlbl_af4list_audit_addr() argument
130 while (i != h && !n->valid) { in __af6list_valid()
131 i = i->next; in __af6list_valid()
142 while (i != h && !n->valid) { in __af6list_valid_rcu()
150 for (iter = __af6list_valid((head)->next, head); \
151 &iter->list != (head); \
152 iter = __af6list_valid(iter->list.next, head))
155 for (iter = __af6list_valid_rcu((head)->next, head); \
156 &iter->list != (head); \
157 iter = __af6list_valid_rcu(iter->list.next, head))
160 for (iter = __af6list_valid((head)->next, head), \
161 tmp = __af6list_valid(iter->list.next, head); \
162 &iter->list != (head); \
163 iter = tmp, tmp = __af6list_valid(iter->list.next, head))
168 const struct in6_addr *mask,
174 const struct in6_addr *mask,
182 const struct in6_addr *mask);
188 const struct in6_addr *mask) in netlbl_af6list_audit_addr() argument