Home
last modified time | relevance | path

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

/tools/lib/
Dfind_bit.c32 const unsigned long *addr2, unsigned long nbits, in _find_next_bit() argument
42 if (addr2) in _find_next_bit()
43 tmp &= addr2[start / BITS_PER_LONG]; in _find_next_bit()
68 if (addr2) in _find_next_bit()
69 tmp &= addr2[start / BITS_PER_LONG]; in _find_next_bit()
/tools/include/asm-generic/bitops/
Dfind.h6 const unsigned long *addr2, unsigned long nbits,
53 const unsigned long *addr2, unsigned long size, in find_next_and_bit() argument
62 val = *addr1 & *addr2 & GENMASK(size - 1, offset); in find_next_and_bit()
66 return _find_next_bit(addr1, addr2, size, offset, 0UL, 0); 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}"
153 readonly addr2="${ns2_v4}"
164 readonly addr2="${ns2_v6}"
183 echo "encap ${addr1} to ${addr2}, type ${tuntype}, mac ${mac} len ${datalen}"
237 link_addr2="${addr2}"
Dtest_sock_addr.c880 const struct sockaddr_storage *addr2, int cmp_port) in cmp_addr() argument
885 if (addr1->ss_family != addr2->ss_family) in cmp_addr()
890 four2 = (const struct sockaddr_in *)addr2; in cmp_addr()
895 six2 = (const struct sockaddr_in6 *)addr2; in cmp_addr()
905 const struct sockaddr_storage *addr2, int cmp_port) in cmp_sock_addr() argument
914 return cmp_addr(&addr1, addr2, cmp_port); in cmp_sock_addr()
917 static int cmp_local_ip(int sock1, const struct sockaddr_storage *addr2) in cmp_local_ip() argument
919 return cmp_sock_addr(getsockname, sock1, addr2, /*cmp_port*/ 0); in cmp_local_ip()
922 static int cmp_local_addr(int sock1, const struct sockaddr_storage *addr2) in cmp_local_addr() argument
924 return cmp_sock_addr(getsockname, sock1, addr2, /*cmp_port*/ 1); in cmp_local_addr()
[all …]
/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.c58 u64 addr1 = 0, addr2 = 0; in same_kallsyms_reloc() local
73 if (kallsyms__get_function_start(to, name, &addr2)) in same_kallsyms_reloc()
76 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-perf-hwbreak.c139 info->addr2 = addr + len; in ptrace_ppc_hw_breakpoint()
Dptrace-hwbreak.c342 info->addr2 = (__u64)addr + len; in get_ppc_hw_breakpoint()