Home
last modified time | relevance | path

Searched refs:addr2 (Results 1 – 9 of 9) sorted by relevance

/tools/lib/
Dfind_bit.c32 const unsigned long *addr2, unsigned long nbits, in _find_next_bit() argument
41 if (addr2) in _find_next_bit()
42 tmp &= addr2[start / BITS_PER_LONG]; in _find_next_bit()
55 if (addr2) in _find_next_bit()
56 tmp &= addr2[start / BITS_PER_LONG]; in _find_next_bit()
119 const unsigned long *addr2, unsigned long size, in find_next_and_bit() argument
122 return _find_next_bit(addr1, addr2, size, offset, 0UL); in find_next_and_bit()
/tools/testing/selftests/net/
Dudpgro.sh69 local addr1 addr2 pid family="" ipt_cmd=ip6tables
78 addr2=192.168.1.3/24
81 addr2="2001:db8::3/64 nodad"
85 ip -netns "${PEER_NS}" addr add dev veth1 ${addr2}
88 …ns exec "${PEER_NS}" $ipt_cmd -t nat -I PREROUTING -d ${addr1} -j DNAT --to-destination ${addr2%/*}
94 ip netns exec "${PEER_NS}" ./udpgso_bench_rx -C 1000 -R 10 ${family} -b ${addr2%/*} ${rx_args} && \
/tools/testing/selftests/bpf/
Dtest_tc_tunnel.sh78 ip netns exec "${ns1}" timeout 2 nc "${netcat_opt}" -w 1 "${addr2}" "${port}" < "${infile}"
147 readonly addr2="${ns2_v4}"
158 readonly addr2="${ns2_v6}"
177 echo "encap ${addr1} to ${addr2}, type ${tuntype}, mac ${mac} len ${datalen}"
228 link_addr2="${addr2}"
Dtest_sock_addr.c1114 const struct sockaddr_storage *addr2, int cmp_port) in cmp_addr() argument
1119 if (addr1->ss_family != addr2->ss_family) in cmp_addr()
1124 four2 = (const struct sockaddr_in *)addr2; in cmp_addr()
1129 six2 = (const struct sockaddr_in6 *)addr2; in cmp_addr()
1139 const struct sockaddr_storage *addr2, int cmp_port) in cmp_sock_addr() argument
1148 return cmp_addr(&addr1, addr2, cmp_port); in cmp_sock_addr()
1151 static int cmp_local_ip(int sock1, const struct sockaddr_storage *addr2) in cmp_local_ip() argument
1153 return cmp_sock_addr(getsockname, sock1, addr2, /*cmp_port*/ 0); in cmp_local_ip()
1156 static int cmp_local_addr(int sock1, const struct sockaddr_storage *addr2) in cmp_local_addr() argument
1158 return cmp_sock_addr(getsockname, sock1, addr2, /*cmp_port*/ 1); in cmp_local_addr()
[all …]
/tools/include/asm-generic/bitops/
Dfind.h31 const unsigned long *addr2, unsigned long size,
/tools/perf/util/
Dbranch.c5 static bool cross_area(u64 addr1, u64 addr2, int size) in cross_area() argument
10 align2 = addr2 & ~(size - 1); in cross_area()
/tools/perf/
Dbuiltin-buildid-cache.c57 u64 addr1 = 0, addr2 = 0; in same_kallsyms_reloc() local
72 if (kallsyms__get_function_start(to, name, &addr2)) in same_kallsyms_reloc()
75 return addr1 == addr2; in same_kallsyms_reloc()
/tools/testing/selftests/powerpc/benchmarks/
Dcontext_switch.c259 void *addr2, int val3) in sys_futex() argument
261 return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); in sys_futex()
/tools/testing/selftests/powerpc/ptrace/
Dptrace-hwbreak.c330 info->addr2 = (__u64)addr + len; in get_ppc_hw_breakpoint()