| /tools/testing/selftests/bpf/progs/ |
| A D | twfw.c | 18 struct rule { struct 25 __type(value, struct rule); argument 47 struct rule* rule = bpf_map_lookup_elem(&rules, &key); in twfw_verifier() local 48 if (!rule) in twfw_verifier() 51 if (rule && rule->seqnum < TWFW_MAX_TIERS) { in twfw_verifier() 53 unsigned long mask = tier->mask[rule->seqnum / 64]; in twfw_verifier()
|
| /tools/testing/selftests/net/ |
| A D | fib_rule_tests.sh | 121 ip rule help 2>&1 | grep -q $1 138 $IP -6 rule del $1 145 $IP -6 rule del pref $pref 156 $IP -6 rule add $match table $RTABLE 177 $IP -6 rule del $match table $RTABLE 425 ip rule help 2>&1 | grep -q dscp 457 $IP rule del $1 464 $IP rule del pref $pref 475 $IP rule add $match table $RTABLE 496 $IP rule del $match table $RTABLE [all …]
|
| A D | cmsg_so_mark.sh | 30 ip -netns $NS rule add fwmark $MARK lookup 300 31 ip -6 -netns $NS rule add fwmark $MARK lookup 300
|
| A D | fcnal-test.sh | 662 setup_cmd ip rule add pref 32765 from all lookup local 663 setup_cmd ip rule del pref 0 from all lookup local 664 setup_cmd ip rule add pref 50 to ${NSB_LO_IP} prohibit 665 setup_cmd ip rule add pref 51 from ${NSB_IP} prohibit 683 setup_cmd ip rule del pref 32765 from all lookup local 684 setup_cmd ip rule add pref 0 from all lookup local 685 setup_cmd ip rule del pref 50 to ${NSB_LO_IP} prohibit 686 setup_cmd ip rule del pref 51 from ${NSB_IP} prohibit 798 setup_cmd ip rule add pref 50 to ${NSB_LO_IP} prohibit 799 setup_cmd ip rule add pref 51 from ${NSB_IP} prohibit [all …]
|
| A D | vrf_route_leaking.sh | 182 ip -netns "${ns}" rule del pref 0 183 ip -netns "${ns}" rule add pref 32765 from all lookup local 184 ip -netns "${ns}" -6 rule del pref 0 185 ip -netns "${ns}" -6 rule add pref 32765 from all lookup local
|
| A D | fib_tests.sh | 617 $IP -4 rule add pref 32765 table local 618 $IP -4 rule del pref 0 619 $IP -6 rule add pref 32765 table local 620 $IP -6 rule del pref 0 921 $IP -6 rule add table main suppress_prefixlength 0 923 $IP -6 rule del table main suppress_prefixlength 0 2326 $IP rule add pref 100 ipproto udp sport 12345 dport 54321 table 123 2358 $IP rule del pref 100 2384 $IP -6 rule add pref 100 ipproto udp sport 12345 dport 54321 table 123 2416 $IP -6 rule del pref 100
|
| A D | cmsg_ip.sh | 81 ip $IPVER -netns $NS rule add tos $TOS lookup 300
|
| A D | srv6_end_next_csid_l3vpn_test.sh | 599 ip -netns "${nsname}" -6 rule \ 605 ip -netns "${nsname}" -6 rule \
|
| /tools/perf/tests/shell/lib/ |
| A D | perf_metric_validation.py | 262 for m in rule['Metrics']: 265 … rule['RangeLower'], rule['RangeUpper'], rule['ErrorThreshold'], alias, ridx=rule['RuleIndex']) 267 rule['Formula'], alias, ridx=rule['RuleIndex']) 269 lb = rule['RangeLower'] 270 ub = rule['RangeUpper'] 291 def single_test(self, rule: dict): 303 rule['RangeLower'], rule['RangeUpper'], rule['ErrorThreshold']) 304 metrics = rule['Metrics'] 405 for rule in self.rules: 462 for rule in rules: [all …]
|
| /tools/testing/selftests/x86/ |
| A D | Makefile | 52 define gen-target-rule-32 57 define gen-target-rule-64 66 $(foreach t,$(TARGETS_C_32BIT_ALL),$(eval $(call gen-target-rule-32,$(t)))) 73 $(foreach t,$(TARGETS_C_64BIT_ALL),$(eval $(call gen-target-rule-64,$(t))))
|
| /tools/testing/selftests/landlock/ |
| A D | fs_test.c | 742 struct rule { struct 761 const struct rule rules[]) in create_ruleset() argument 796 const struct rule rules[] = { in TEST_F_FORK() 845 const struct rule rules[] = { in TEST_F_FORK() 868 const struct rule rules[] = { in TEST_F_FORK() 926 const struct rule rules[] = { in TEST_F_FORK() 953 const struct rule rules[] = { in TEST_F_FORK() 1335 const struct rule rules[] = { in TEST_F_FORK() 1452 const struct rule rules[] = { in TEST_F_FORK() 1490 const struct rule rules[] = { in TEST_F_FORK() [all …]
|
| A D | audit.h | 44 struct audit_rule_data rule; member 149 .nlmsg_len = NLMSG_SPACE(sizeof(msg.rule)) + in audit_filter_exe() 154 .rule = { in audit_filter_exe() 168 memcpy(msg.rule.buf, filter->exe, filter->exe_len); in audit_filter_exe() 176 .nlmsg_len = NLMSG_SPACE(sizeof(msg.rule)), in audit_filter_drop() 180 .rule = { in audit_filter_drop()
|
| /tools/testing/selftests/mm/ |
| A D | Makefile | 175 define gen-target-rule-32 180 define gen-target-rule-64 190 $(foreach t,$(VMTARGETS),$(eval $(call gen-target-rule-32,$(t)))) 198 $(foreach t,$(VMTARGETS),$(eval $(call gen-target-rule-64,$(t))))
|
| /tools/memory-model/Documentation/ |
| A D | locking.txt | 21 The basic rule of locking is worth repeating: 48 The basic rule guarantees that if CPU0() acquires mylock before CPU1(), 51 value of r1 must also be equal to 1. In contrast, the weaker rule would 58 The converse to the basic rule also holds: Any CPU holding a given 80 This converse to the basic rule guarantees that if CPU0() acquires 84 the weaker rule would say nothing about the final value of r0. 87 locking basic rule extend across multiple acquisitions of a given lock 218 acquisition sufficiently to rule out the counter-intuitive outcome.
|
| A D | recipes.txt | 31 2. Compilers are permitted to use the "as-if" rule. That is, a 47 There are exceptions to this rule, including: 69 about it too hard. And the basic rule is indeed quite simple: Any CPU that 93 The basic rule guarantees that if CPU0() acquires mylock before CPU1(), 96 value of r1 must also be equal to 1. In contrast, the weaker rule would 99 The converse to the basic rule also holds, as illustrated by the 119 This converse to the basic rule guarantees that if CPU0() acquires 123 the weaker rule would say nothing about the final value of r0. 126 locking basic rule extend across multiple acquisitions of a given lock 192 sufficiently to rule out the counter-intuitive outcome.
|
| /tools/perf/tests/shell/ |
| A D | stat_metrics_values.sh | 22 $PYTHON $pythonvalidator -rule $rulefile -output_dir $tmpdir -wl "${workload}" \
|
| /tools/memory-model/litmus-tests/ |
| A D | IRIW+fencembonceonces+OnceOnce.litmus | 10 * process? This litmus test exercises LKMM's "propagation" rule.
|
| /tools/verification/rvgen/rvgen/ |
| A D | ltl2ba.py | 519 rule = None 524 rule = assign[1] 528 if rule is None: 531 for node in rule: 538 return rule
|
| /tools/testing/selftests/net/netfilter/ |
| A D | nft_fib.sh | 807 ip -net "$nsrouter" rule add from all table 128 808 ip -net "$nsrouter" rule add from all iif veth0 table 129 813 ip -net "$nsrouter" -4 rule delete table main 827 ip -net "$nsrouter" rule del from all table 128 828 ip -net "$nsrouter" rule del from all iif veth0 table 129 839 ip -net "$nsrouter" -4 rule add from all table main priority 32766
|
| A D | nft_concat_range.sh | 1701 nft add rule netdev perf test counter name \"test\" drop 1708 nft delete rule netdev perf test handle "${handle}" 1710 nft add rule "netdev perf test ${chain_spec} @norange \ 1718 nft delete rule netdev perf test handle "${handle}" 1720 nft add rule "netdev perf test ${chain_spec%%. *} @noconcat \ 1728 nft delete rule netdev perf test handle "${handle}" 1730 nft add rule "netdev perf test ${chain_spec} @test \
|
| A D | nft_tproxy_tcp.sh | 215 ip netns exec "$nsrouter" $ip_command rule add fwmark 1 table 100 272 ip netns exec "$nsrouter" $ip_command rule del fwmark 1 table 100
|
| A D | nft_tproxy_udp.sh | 181 ip netns exec "$nsrouter" $ip_command rule add fwmark 1 table 100 246 ip netns exec "$nsrouter" $ip_command rule del fwmark 1 table 100
|
| /tools/net/ynl/ |
| A D | Makefile.deps | 41 CFLAGS_rt-rule:=$(call get_hdr_inc,__LINUX_FIB_RULES_H,fib_rules.h)
|
| /tools/perf/pmu-events/ |
| A D | Build | 73 # separate rule to depend on it properly
|
| /tools/testing/selftests/net/mptcp/ |
| A D | mptcp_connect.sh | 716 if ! ip -net "$listener_ns" $r6flag rule add fwmark 1 lookup 100; then 726 ip -net "$listener_ns" $r6flag rule del fwmark 1 lookup 100 742 ip -net "$listener_ns" $r6flag rule del fwmark 1 lookup 100
|