Home
last modified time | relevance | path

Searched refs:adt (Results 1 – 25 of 25) sorted by relevance

/linux-6.12.1/net/netfilter/ipset/
Dip_set_hash_net.c115 enum ipset_adt adt, struct ip_set_adt_opt *opt) in hash_net4_kadt() argument
118 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_net4_kadt()
126 if (adt == IPSET_TEST) in hash_net4_kadt()
137 enum ipset_adt adt, u32 *lineno, u32 flags, bool retried) in hash_net4_uadt() argument
140 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_net4_uadt()
174 if (adt == IPSET_TEST || !tb[IPSET_ATTR_IP_TO]) { in hash_net4_uadt()
177 return ip_set_enomatch(ret, flags, adt, set) ? -ret : in hash_net4_uadt()
289 enum ipset_adt adt, struct ip_set_adt_opt *opt) in hash_net6_kadt() argument
292 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_net6_kadt()
300 if (adt == IPSET_TEST) in hash_net6_kadt()
[all …]
Dip_set_hash_ipmark.c82 enum ipset_adt adt, struct ip_set_adt_opt *opt) in hash_ipmark4_kadt() argument
85 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_ipmark4_kadt()
98 enum ipset_adt adt, u32 *lineno, u32 flags, bool retried) in hash_ipmark4_uadt() argument
101 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_ipmark4_uadt()
127 if (adt == IPSET_TEST || in hash_ipmark4_uadt()
217 enum ipset_adt adt, struct ip_set_adt_opt *opt) in hash_ipmark6_kadt() argument
220 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_ipmark6_kadt()
233 enum ipset_adt adt, u32 *lineno, u32 flags, bool retried) in hash_ipmark6_uadt() argument
236 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_ipmark6_uadt()
267 if (adt == IPSET_TEST) { in hash_ipmark6_uadt()
Dip_set_hash_ip.c82 enum ipset_adt adt, struct ip_set_adt_opt *opt) in hash_ip4_kadt() argument
85 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_ip4_kadt()
101 enum ipset_adt adt, u32 *lineno, u32 flags, bool retried) in hash_ip4_uadt() argument
104 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_ip4_uadt()
129 if (adt == IPSET_TEST) in hash_ip4_uadt()
218 enum ipset_adt adt, struct ip_set_adt_opt *opt) in hash_ip6_kadt() argument
221 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_ip6_kadt()
235 enum ipset_adt adt, u32 *lineno, u32 flags, bool retried) in hash_ip6_uadt() argument
238 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_ip6_uadt()
Dip_set_hash_netport.c131 enum ipset_adt adt, struct ip_set_adt_opt *opt) in hash_netport4_kadt() argument
134 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_netport4_kadt()
140 if (adt == IPSET_TEST) in hash_netport4_kadt()
155 enum ipset_adt adt, u32 *lineno, u32 flags, bool retried) in hash_netport4_uadt() argument
158 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_netport4_uadt()
214 if (adt == IPSET_TEST || !(with_ports || tb[IPSET_ATTR_IP_TO])) { in hash_netport4_uadt()
217 return ip_set_enomatch(ret, flags, adt, set) ? -ret : in hash_netport4_uadt()
351 enum ipset_adt adt, struct ip_set_adt_opt *opt) in hash_netport6_kadt() argument
354 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_netport6_kadt()
360 if (adt == IPSET_TEST) in hash_netport6_kadt()
[all …]
Dip_set_hash_ipmac.c86 enum ipset_adt adt, struct ip_set_adt_opt *opt) in hash_ipmac4_kadt() argument
88 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_ipmac4_kadt()
111 enum ipset_adt adt, u32 *lineno, u32 flags, bool retried) in hash_ipmac4_uadt() argument
113 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_ipmac4_uadt()
199 enum ipset_adt adt, struct ip_set_adt_opt *opt) in hash_ipmac6_kadt() argument
201 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_ipmac6_kadt()
227 enum ipset_adt adt, u32 *lineno, u32 flags, bool retried) in hash_ipmac6_uadt() argument
229 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_ipmac6_uadt()
Dip_set_hash_netiface.c159 enum ipset_adt adt, struct ip_set_adt_opt *opt) in hash_netiface4_kadt() argument
162 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_netiface4_kadt()
169 if (adt == IPSET_TEST) in hash_netiface4_kadt()
199 enum ipset_adt adt, u32 *lineno, u32 flags, bool retried) in hash_netiface4_uadt() argument
202 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_netiface4_uadt()
241 if (adt == IPSET_TEST || !tb[IPSET_ATTR_IP_TO]) { in hash_netiface4_uadt()
244 return ip_set_enomatch(ret, flags, adt, set) ? -ret : in hash_netiface4_uadt()
380 enum ipset_adt adt, struct ip_set_adt_opt *opt) in hash_netiface6_kadt() argument
383 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_netiface6_kadt()
390 if (adt == IPSET_TEST) in hash_netiface6_kadt()
[all …]
Dip_set_hash_ipportnet.c136 enum ipset_adt adt, struct ip_set_adt_opt *opt) in hash_ipportnet4_kadt() argument
139 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_ipportnet4_kadt()
145 if (adt == IPSET_TEST) in hash_ipportnet4_kadt()
161 enum ipset_adt adt, u32 *lineno, u32 flags, bool retried) in hash_ipportnet4_uadt() argument
164 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_ipportnet4_uadt()
224 if (adt == IPSET_TEST || in hash_ipportnet4_uadt()
230 return ip_set_enomatch(ret, flags, adt, set) ? -ret : in hash_ipportnet4_uadt()
393 enum ipset_adt adt, struct ip_set_adt_opt *opt) in hash_ipportnet6_kadt() argument
396 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_ipportnet6_kadt()
402 if (adt == IPSET_TEST) in hash_ipportnet6_kadt()
[all …]
Dip_set_hash_netnet.c145 enum ipset_adt adt, struct ip_set_adt_opt *opt) in hash_netnet4_kadt() argument
148 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_netnet4_kadt()
154 if (adt == IPSET_TEST) in hash_netnet4_kadt()
167 enum ipset_adt adt, u32 *lineno, u32 flags, bool retried) in hash_netnet4_uadt() argument
170 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_netnet4_uadt()
216 if (adt == IPSET_TEST || !(tb[IPSET_ATTR_IP_TO] || in hash_netnet4_uadt()
221 return ip_set_enomatch(ret, flags, adt, set) ? -ret : in hash_netnet4_uadt()
384 enum ipset_adt adt, struct ip_set_adt_opt *opt) in hash_netnet6_kadt() argument
387 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_netnet6_kadt()
393 if (adt == IPSET_TEST) in hash_netnet6_kadt()
[all …]
Dip_set_hash_ipportip.c92 enum ipset_adt adt, struct ip_set_adt_opt *opt) in hash_ipportip4_kadt() argument
94 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_ipportip4_kadt()
109 enum ipset_adt adt, u32 *lineno, u32 flags, bool retried) in hash_ipportip4_uadt() argument
112 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_ipportip4_uadt()
154 if (adt == IPSET_TEST || in hash_ipportip4_uadt()
262 enum ipset_adt adt, struct ip_set_adt_opt *opt) in hash_ipportip6_kadt() argument
264 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_ipportip6_kadt()
279 enum ipset_adt adt, u32 *lineno, u32 flags, bool retried) in hash_ipportip6_uadt() argument
282 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_ipportip6_uadt()
332 if (adt == IPSET_TEST || !with_ports || !tb[IPSET_ATTR_PORT_TO]) { in hash_ipportip6_uadt()
Dip_set_hash_ipport.c93 enum ipset_adt adt, struct ip_set_adt_opt *opt) in hash_ipport4_kadt() argument
95 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_ipport4_kadt()
113 enum ipset_adt adt, u32 *lineno, u32 flags, bool retried) in hash_ipport4_uadt() argument
116 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_ipport4_uadt()
158 if (adt == IPSET_TEST || in hash_ipport4_uadt()
263 enum ipset_adt adt, struct ip_set_adt_opt *opt) in hash_ipport6_kadt() argument
265 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_ipport6_kadt()
284 enum ipset_adt adt, u32 *lineno, u32 flags, bool retried) in hash_ipport6_uadt() argument
287 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_ipport6_uadt()
337 if (adt == IPSET_TEST || !with_ports || !tb[IPSET_ATTR_PORT_TO]) { in hash_ipport6_uadt()
Dip_set_hash_netportnet.c153 enum ipset_adt adt, struct ip_set_adt_opt *opt) in hash_netportnet4_kadt() argument
156 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_netportnet4_kadt()
162 if (adt == IPSET_TEST) in hash_netportnet4_kadt()
189 enum ipset_adt adt, u32 *lineno, u32 flags, bool retried) in hash_netportnet4_uadt() argument
192 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_netportnet4_uadt()
257 if (adt == IPSET_TEST || in hash_netportnet4_uadt()
262 return ip_set_enomatch(ret, flags, adt, set) ? -ret : in hash_netportnet4_uadt()
448 enum ipset_adt adt, struct ip_set_adt_opt *opt) in hash_netportnet6_kadt() argument
451 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_netportnet6_kadt()
457 if (adt == IPSET_TEST) in hash_netportnet6_kadt()
[all …]
Dip_set_hash_mac.c74 enum ipset_adt adt, struct ip_set_adt_opt *opt) in hash_mac4_kadt() argument
76 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_mac4_kadt()
96 enum ipset_adt adt, u32 *lineno, u32 flags, bool retried) in hash_mac4_uadt() argument
98 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_mac4_uadt()
Dip_set_bitmap_port.c129 enum ipset_adt adt, struct ip_set_adt_opt *opt) in bitmap_port_kadt() argument
132 ipset_adtfn adtfn = set->variant->adt[adt]; in bitmap_port_kadt()
154 enum ipset_adt adt, u32 *lineno, u32 flags, bool retried) in bitmap_port_uadt() argument
157 ipset_adtfn adtfn = set->variant->adt[adt]; in bitmap_port_uadt()
178 if (adt == IPSET_TEST) { in bitmap_port_uadt()
Dip_set_bitmap_gen.h207 struct nlattr *adt, *nested; in mtype_list() local
212 adt = nla_nest_start(skb, IPSET_ATTR_ADT); in mtype_list()
213 if (!adt) in mtype_list()
232 nla_nest_cancel(skb, adt); in mtype_list()
245 nla_nest_end(skb, adt); in mtype_list()
258 nla_nest_end(skb, adt); in mtype_list()
303 .adt = {
Dip_set_bitmap_ip.c112 enum ipset_adt adt, struct ip_set_adt_opt *opt) in bitmap_ip_kadt() argument
115 ipset_adtfn adtfn = set->variant->adt[adt]; in bitmap_ip_kadt()
131 enum ipset_adt adt, u32 *lineno, u32 flags, bool retried) in bitmap_ip_uadt() argument
134 ipset_adtfn adtfn = set->variant->adt[adt]; in bitmap_ip_uadt()
157 if (adt == IPSET_TEST) { in bitmap_ip_uadt()
Dip_set_bitmap_ipmac.c210 enum ipset_adt adt, struct ip_set_adt_opt *opt) in bitmap_ipmac_kadt() argument
213 ipset_adtfn adtfn = set->variant->adt[adt]; in bitmap_ipmac_kadt()
242 enum ipset_adt adt, u32 *lineno, u32 flags, bool retried) in bitmap_ipmac_uadt() argument
245 ipset_adtfn adtfn = set->variant->adt[adt]; in bitmap_ipmac_uadt()
Dip_set_list_set.c116 enum ipset_adt adt, struct ip_set_adt_opt *opt) in list_set_kadt() argument
122 switch (adt) { in list_set_kadt()
351 enum ipset_adt adt, u32 *lineno, u32 flags, bool retried) in list_set_uadt() argument
354 ipset_adtfn adtfn = set->variant->adt[adt]; in list_set_uadt()
401 if (adt != IPSET_TEST && SET_WITH_TIMEOUT(set)) in list_set_uadt()
409 if (adt != IPSET_ADD || ret) in list_set_uadt()
558 .adt = {
Dip_set_core.c1729 struct ip_set *set, struct nlattr *tb[], enum ipset_adt adt, in call_ad() argument
1746 ret = set->variant->uadt(set, tb, adt, &lineno, flags, retried); in call_ad()
1802 enum ipset_adt adt, in ip_set_ad() argument
1836 ret = call_ad(net, ctnl, skb, set, tb, adt, flags, in ip_set_ad()
1847 ret = call_ad(net, ctnl, skb, set, tb, adt, in ip_set_ad()
Dip_set_hash_gen.h1430 enum ipset_adt adt, struct ip_set_adt_opt *opt);
1434 enum ipset_adt adt, u32 *lineno, u32 flags,
1440 .adt = {
/linux-6.12.1/tools/perf/ui/browsers/
Dannotate-data.c51 static int get_member_overhead(struct annotated_data_type *adt, in get_member_overhead() argument
69 h = adt->histograms[evsel->core.idx]; in get_member_overhead()
78 struct annotated_data_type *adt, in add_child_entries() argument
99 if (get_member_overhead(adt, entry, evsel) < 0) { in add_child_entries()
113 int nr = add_child_entries(browser, entry, adt, pos, evsel, in add_child_entries()
156 struct annotated_data_type *adt = he->mem_type; in annotated_data_browser__collect_entries() local
161 add_child_entries(browser, /*parent=*/NULL, adt, &adt->self, evsel, in annotated_data_browser__collect_entries()
337 struct annotated_data_type *adt = he->mem_type; in browser__show() local
343 adt->self.type_name, he->stat.nr_events); in browser__show()
393 struct annotated_data_type *adt = he->mem_type; in browser__write() local
[all …]
/linux-6.12.1/drivers/staging/most/dim2/
Dhal.c280 u32 adt[4] = { 0, 0, 0, 0 }; in dim2_configure_adt() local
282 adt[0] = in dim2_configure_adt()
287 dim2_write_ctr(ADT + ch_addr, adt); in dim2_configure_adt()
292 u32 adt[4] = { 0, 0, 0, 0 }; in dim2_clear_adt() local
294 dim2_write_ctr(ADT + ch_addr, adt); in dim2_clear_adt()
303 u32 adt[4] = { 0, 0, 0, 0 }; in dim2_start_ctrl_async() local
309 adt[1] = in dim2_start_ctrl_async()
315 adt[idx + 2] = buf_addr; in dim2_start_ctrl_async()
317 dim2_write_ctr_mask(ADT + ch_addr, mask, adt); in dim2_start_ctrl_async()
326 u32 adt[4] = { 0, 0, 0, 0 }; in dim2_start_isoc_sync() local
[all …]
/linux-6.12.1/tools/perf/util/
Dannotate-data.c1621 static int alloc_data_type_histograms(struct annotated_data_type *adt, int nr_entries) in alloc_data_type_histograms() argument
1626 sz += sizeof(struct type_hist_entry) * adt->self.size; in alloc_data_type_histograms()
1629 adt->histograms = calloc(nr_entries, sizeof(*adt->histograms)); in alloc_data_type_histograms()
1630 if (adt->histograms == NULL) in alloc_data_type_histograms()
1638 adt->histograms[i] = zalloc(sz); in alloc_data_type_histograms()
1639 if (adt->histograms[i] == NULL) in alloc_data_type_histograms()
1643 adt->nr_histograms = nr_entries; in alloc_data_type_histograms()
1648 zfree(&(adt->histograms[i])); in alloc_data_type_histograms()
1649 zfree(&adt->histograms); in alloc_data_type_histograms()
1653 static void delete_data_type_histograms(struct annotated_data_type *adt) in delete_data_type_histograms() argument
[all …]
Dannotate-data.h220 int annotated_data_type__update_samples(struct annotated_data_type *adt,
256 annotated_data_type__update_samples(struct annotated_data_type *adt __maybe_unused, in annotated_data_type__update_samples()
/linux-6.12.1/include/linux/netfilter/ipset/
Dip_set.h157 enum ipset_adt adt, struct ip_set_adt_opt *opt);
164 enum ipset_adt adt, u32 *lineno, u32 flags, bool retried);
167 ipset_adtfn adt[IPSET_ADT_MAX]; member
367 ip_set_enomatch(int ret, u32 flags, enum ipset_adt adt, struct ip_set *set) in ip_set_enomatch() argument
369 return adt == IPSET_TEST && in ip_set_enomatch()
/linux-6.12.1/drivers/gpu/drm/i915/display/
Dintel_vbt_defs.h1359 u16 adt; /* 228+ */ member