Home
last modified time | relevance | path

Searched refs:src_addr (Results 1 – 3 of 3) sorted by relevance

/tools/testing/selftests/vm/
Dmremap_test.c128 void *src_addr = NULL; in get_source_mapping() local
138 src_addr = mmap((void *) addr, c.region_size, PROT_READ | PROT_WRITE, in get_source_mapping()
141 if (src_addr == MAP_FAILED) { in get_source_mapping()
154 if (((unsigned long long) src_addr & (c.src_alignment - 1)) || in get_source_mapping()
155 !((unsigned long long) src_addr & c.src_alignment)) { in get_source_mapping()
156 munmap(src_addr, c.region_size); in get_source_mapping()
160 if (!src_addr) in get_source_mapping()
163 return src_addr; in get_source_mapping()
174 void *addr, *src_addr, *dest_addr; in remap_region() local
185 src_addr = get_source_mapping(c); in remap_region()
[all …]
/tools/testing/selftests/bpf/prog_tests/
Dsk_lookup.c361 struct sockaddr_storage *src_addr = &_src_addr; in udp_recv_send() local
373 msg.msg_name = src_addr; in udp_recv_send()
374 msg.msg_namelen = sizeof(*src_addr); in udp_recv_send()
404 if (src_addr->ss_family == AF_INET6 && in udp_recv_send()
/tools/testing/selftests/bpf/
Dtest_sock_addr.c1103 static int recvmsg_from_client(int sockfd, struct sockaddr_storage *src_addr) in recvmsg_from_client() argument
1126 hdr.msg_name = src_addr; in recvmsg_from_client()