| /linux/net/netfilter/ipset/ |
| H A D | ip_set_hash_net.c | 115 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 …]
|
| H A D | ip_set_hash_ipmark.c | 82 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() 221 enum ipset_adt adt, struct ip_set_adt_opt *opt) in hash_ipmark6_kadt() argument 224 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_ipmark6_kadt() 237 enum ipset_adt adt, u32 *lineno, u32 flags, bool retried) in hash_ipmark6_uadt() argument 240 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_ipmark6_uadt() 271 if (adt == IPSET_TEST) { in hash_ipmark6_uadt()
|
| H A D | ip_set_hash_ip.c | 82 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()
|
| H A D | ip_set_hash_netport.c | 131 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 …]
|
| H A D | ip_set_hash_netiface.c | 159 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 …]
|
| H A D | ip_set_hash_ipportnet.c | 136 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() 396 enum ipset_adt adt, struct ip_set_adt_opt *opt) in hash_ipportnet6_kadt() argument 399 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_ipportnet6_kadt() 405 if (adt == IPSET_TEST) in hash_ipportnet6_kadt() [all …]
|
| H A D | ip_set_hash_netnet.c | 145 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 …]
|
| H A D | ip_set_hash_ipportip.c | 92 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() 265 enum ipset_adt adt, struct ip_set_adt_opt *opt) in hash_ipportip6_kadt() argument 267 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_ipportip6_kadt() 282 enum ipset_adt adt, u32 *lineno, u32 flags, bool retried) in hash_ipportip6_uadt() argument 285 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_ipportip6_uadt() 335 if (adt == IPSET_TEST || !with_ports || !tb[IPSET_ATTR_PORT_TO]) { in hash_ipportip6_uadt()
|
| H A D | ip_set_hash_ipport.c | 93 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() 266 enum ipset_adt adt, struct ip_set_adt_opt *opt) in hash_ipport6_kadt() argument 268 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_ipport6_kadt() 287 enum ipset_adt adt, u32 *lineno, u32 flags, bool retried) in hash_ipport6_uadt() argument 290 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_ipport6_uadt() 340 if (adt == IPSET_TEST || !with_ports || !tb[IPSET_ATTR_PORT_TO]) { in hash_ipport6_uadt()
|
| H A D | ip_set_hash_netportnet.c | 153 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 …]
|
| H A D | ip_set_bitmap_port.c | 129 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()
|
| H A D | ip_set_bitmap_gen.h | 207 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 = {
|
| H A D | ip_set_list_set.c | 116 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 = {
|
| H A D | ip_set_core.c | 1735 struct ip_set *set, struct nlattr *tb[], enum ipset_adt adt, in call_ad() argument 1752 ret = set->variant->uadt(set, tb, adt, &lineno, flags, retried); in call_ad() 1808 enum ipset_adt adt, in ip_set_ad() argument 1842 ret = call_ad(net, ctnl, skb, set, tb, adt, flags, in ip_set_ad() 1853 ret = call_ad(net, ctnl, skb, set, tb, adt, in ip_set_ad()
|
| H A D | ip_set_hash_gen.h | 1446 enum ipset_adt adt, struct ip_set_adt_opt *opt); 1450 enum ipset_adt adt, u32 *lineno, u32 flags, 1456 .adt = {
|
| /linux/tools/perf/ui/browsers/ |
| H A D | annotate-data.c | 51 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/tools/perf/util/ |
| H A D | annotate-data.h | 235 int annotated_data_type__update_samples(struct annotated_data_type *adt, 249 int annotated_data_type__get_member_name(struct annotated_data_type *adt, 277 annotated_data_type__update_samples(struct annotated_data_type *adt __maybe_unused, in annotated_data_type__update_samples() 300 static inline int annotated_data_type__get_member_name(struct annotated_data_type *adt __maybe_unused, in annotated_data_type__get_member_name()
|
| H A D | annotate-data.c | 349 int annotated_data_type__get_member_name(struct annotated_data_type *adt, in annotated_data_type__get_member_name() argument 352 return fill_member_name(buf, sz, &adt->self, member_offset, /*first=*/true); in annotated_data_type__get_member_name() 1746 static int alloc_data_type_histograms(struct annotated_data_type *adt, int nr_entries) in alloc_data_type_histograms() 1751 sz += sizeof(struct type_hist_entry) * adt->self.size; in alloc_data_type_histograms() 1754 adt->histograms = calloc(nr_entries, sizeof(*adt->histograms)); in alloc_data_type_histograms() 1755 if (adt->histograms == NULL) in alloc_data_type_histograms() 1763 adt->histograms[i] = zalloc(sz); in delete_data_type_histograms() 1764 if (adt->histograms[i] == NULL) in delete_data_type_histograms() 1768 adt in annotated_data_type__tree_delete() 1725 alloc_data_type_histograms(struct annotated_data_type * adt,int nr_entries) alloc_data_type_histograms() argument 1757 delete_data_type_histograms(struct annotated_data_type * adt) delete_data_type_histograms() argument 1794 annotated_data_type__update_samples(struct annotated_data_type * adt,struct evsel * evsel,int offset,int nr_samples,u64 period) annotated_data_type__update_samples() argument [all...] |
| /linux/include/linux/netfilter/ipset/ |
| H A D | ip_set.h | 157 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()
|