Home
last modified time | relevance | path

Searched refs:n2 (Results 1 – 13 of 13) sorted by relevance

/tools/testing/selftests/mm/
A Dmigration.c32 int n2; in FIXTURE() local
42 self->n2 = -1; in FIXTURE_SETUP()
49 self->n2 = n; in FIXTURE_SETUP()
66 int migrate(uint64_t *ptr, int n1, int n2) in migrate() argument
97 tmp = n2; in migrate()
98 n2 = n1; in migrate()
141 ASSERT_EQ(migrate(ptr, self->n1, self->n2), 0);
176 ASSERT_EQ(migrate(ptr, self->n1, self->n2), 0);
206 ASSERT_EQ(migrate(ptr, self->n1, self->n2), 0);
248 ASSERT_EQ(migrate(ptr, self->n1, self->n2), 0);
[all …]
/tools/testing/selftests/wireguard/
A Dnetns.sh106 n2 wg set wg0 \
124 n2 ping6 -c 10 -f -W 1 fd00::1
135 n2 iperf3 -Z -t 3 -c fd00::1
143 n2 iperf3 -s -1 -B fd00::2 &
234 n2 wg set wg0 listen-port 9997
342 n2 ping -W 1 -c 1 192.168.241.1
346 n2 ping -W 1 -c 1 192.168.241.1
398 n2 iptables -t nat -F
463 n2 ping -W 1 -c 1 192.168.241.1
466 n2 ping -W 1 -c 1 192.168.241.1
[all …]
/tools/testing/selftests/core/
A Dunshare_test.c29 ssize_t n, n2; in TEST() local
46 n2 = sprintf(buf2, "%d\n", nr_open + 1024); in TEST()
48 write(fd, buf2, n2); in TEST()
/tools/testing/selftests/net/forwarding/
A Dbridge_mdb_max.sh420 local n2=$(bridge_${context}_ngroups_get "$locus")
422 ((n2 == n0))
871 local n2=$(bridge_${context}_ngroups_get "$locus")
872 ((n2 == n))
951 local n2=$(bridge_port_vlan_ngroups_get "$locus2")
954 if ((n1 > n2)); then
956 n1=$n2
957 n2=$tmp
968 n2=$(bridge_port_vlan_ngroups_get "$locus2")
976 bridge_port_vlan_maxgroups_set "$locus1" $((n2-1))
[all …]
/tools/perf/pmu-events/arch/arm64/
A Dmapfile.csv37 0x00000000410fd490,v1,arm/neoverse-n2-v2,core
38 0x00000000410fd4f0,v1,arm/neoverse-n2-v2,core
/tools/lib/bpf/
A Dbtf_relocate.c86 static int cmp_btf_name_size(const void *n1, const void *n2) in cmp_btf_name_size() argument
89 const struct btf_name_info *ni2 = n2; in cmp_btf_name_size()
A Dlinker.c1489 const char *n1, *n2; in glob_sym_btf_matches() local
1493 n1 = n2 = NULL; in glob_sym_btf_matches()
1500 n2 = btf__str_by_offset(btf2, t2->name_off); in glob_sym_btf_matches()
1501 if (strcmp(n1, n2) != 0) { in glob_sym_btf_matches()
1503 sym_name, n1, n2); in glob_sym_btf_matches()
1540 n2 = btf__str_by_offset(btf2, t2->name_off); in glob_sym_btf_matches()
1541 if (strcmp(n1, n2) != 0) { in glob_sym_btf_matches()
1543 sym_name, btf_kind_str(t1), n1, n2); in glob_sym_btf_matches()
1622 n2 = btf__str_by_offset(btf2, m2->name_off); in glob_sym_btf_matches()
1623 if (strcmp(n1, n2) != 0) { in glob_sym_btf_matches()
[all …]
/tools/perf/scripts/python/
A Dexport-to-postgresql.py1011 n2 = len(long_name)
1013 fmt = "!hiqiqi" + str(n1) + "si" + str(n2) + "si" + str(n3) + "s"
1014 value = struct.pack(fmt, 5, 8, dso_id, 8, machine_id, n1, short_name, n2, long_name, n3, build_id)
/tools/testing/selftests/kvm/lib/x86/
A Dprocessor.c350 for (uint16_t n2 = 0; n2 <= 0x1ffu; n2++) { in virt_arch_dump() local
351 pdpe = &pdpe_start[n2]; in virt_arch_dump()
390 | ((uint64_t) n2 << 18) in virt_arch_dump()
/tools/net/ynl/lib/
A Dynl.c278 int n2; in ynl_ext_ack_check() local
299 n2 = 0; in ynl_ext_ack_check()
301 sizeof(miss_attr) - n, &n2); in ynl_ext_ack_check()
302 n += n2; in ynl_ext_ack_check()
/tools/testing/selftests/bpf/progs/
A Dexceptions_fail.c157 static bool rbless(struct bpf_rb_node *n1, const struct bpf_rb_node *n2) in rbless() argument
/tools/mm/
A Dslabinfo.c1115 char *n1, *n2; in sort_aliases() local
1118 n2 = a2->name; in sort_aliases()
1121 n2 = a2->ref; in sort_aliases()
1123 if (strcasecmp(n1, n2) > 0) { in sort_aliases()
/tools/bpf/bpftool/
A Dgen.c45 size_t i, n1 = strlen(str), n2 = strlen(suffix); in str_has_suffix() local
47 if (n1 < n2) in str_has_suffix()
50 for (i = 0; i < n2; i++) { in str_has_suffix()
51 if (str[n1 - i - 1] != suffix[n2 - i - 1]) in str_has_suffix()

Completed in 33 milliseconds