Home
last modified time | relevance | path

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

/tools/testing/selftests/x86/
Dtest_mremap_vdso.c27 void *dest_addr, *new_addr; in try_to_remap() local
30 dest_addr = mmap(0, size, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0); in try_to_remap()
31 if (dest_addr == MAP_FAILED) { in try_to_remap()
38 dest_addr, (unsigned long)dest_addr + size); in try_to_remap()
42 MREMAP_FIXED|MREMAP_MAYMOVE, dest_addr); in try_to_remap()
44 munmap(dest_addr, size); in try_to_remap()
/tools/testing/selftests/vm/
Dmremap_test.c174 void *addr, *src_addr, *dest_addr; in remap_region() local
219 dest_addr = mremap(src_addr, c.region_size, c.region_size, in remap_region()
223 if (dest_addr == MAP_FAILED) { in remap_region()
234 if (((char *) dest_addr)[i] != c) { in remap_region()
238 ((char *) dest_addr)[i] & 0xff); in remap_region()
255 munmap(dest_addr, c.region_size); in remap_region()
/tools/testing/selftests/net/
Dipsec.c634 const struct sockaddr *dest_addr = (struct sockaddr *)&server; in udp_ping_send() local
642 s_bytes = sendto(sock[1], buf, buf_len, 0, dest_addr, sizeof(server)); in udp_ping_send()
671 const struct sockaddr *dest_addr = (struct sockaddr *)&server; in udp_ping_reply() local
694 s_bytes = sendto(sock[1], buf, buf_len, 0, dest_addr, sizeof(server)); in udp_ping_reply()