/tools/testing/selftests/powerpc/tm/ |
D | tm-signal-context-chk-vsx.c | 106 memcpy(vsx, &ucp->uc_mcontext.fp_regs[FPR20 + i], 8); in signal_usr1() 107 memcpy(vsx + 8, &vsx_ptr[VSX20 + i], 8); in signal_usr1() 130 memcpy(vsx_tm, &tm_ucp->uc_mcontext.fp_regs[FPR20 + i], 8); in signal_usr1() 131 memcpy(vsx_tm + 8, &tm_vsx_ptr[VSX20 + i], 8); in signal_usr1()
|
/tools/testing/selftests/bpf/progs/ |
D | test_xdp_noinline.c | 299 memcpy(new_eth->eth_dest, cval->mac, 6); in encap_v6() 300 memcpy(new_eth->eth_source, old_eth->eth_dest, 6); in encap_v6() 316 memcpy(ip6h->daddr.in6_u.u6_addr32, dst->dstv6, 16); in encap_v6() 347 memcpy(new_eth->eth_dest, cval->mac, 6); in encap_v4() 348 memcpy(new_eth->eth_source, old_eth->eth_dest, 6); in encap_v4() 382 memcpy(new_eth->eth_source, old_eth->eth_source, 6); in decap_v6() 383 memcpy(new_eth->eth_dest, old_eth->eth_dest, 6); in decap_v6() 403 memcpy(new_eth->eth_source, old_eth->eth_source, 6); in decap_v4() 404 memcpy(new_eth->eth_dest, old_eth->eth_dest, 6); in decap_v4() 420 memcpy(tmp_mac, eth->eth_source, 6); in swap_mac_and_send() [all …]
|
D | test_xdp.c | 75 memcpy(new_eth->h_source, old_eth->h_dest, sizeof(new_eth->h_source)); in set_ethhdr() 76 memcpy(new_eth->h_dest, tnl->dmac, sizeof(new_eth->h_dest)); in set_ethhdr() 174 memcpy(vip.daddr.v6, ip6h->daddr.s6_addr32, sizeof(vip.daddr)); in handle_ipv6() 205 memcpy(ip6h->saddr.s6_addr32, tnl->saddr.v6, sizeof(tnl->saddr.v6)); in handle_ipv6() 206 memcpy(ip6h->daddr.s6_addr32, tnl->daddr.v6, sizeof(tnl->daddr.v6)); in handle_ipv6()
|
D | test_xdp_loop.c | 71 memcpy(new_eth->h_source, old_eth->h_dest, sizeof(new_eth->h_source)); in set_ethhdr() 72 memcpy(new_eth->h_dest, tnl->dmac, sizeof(new_eth->h_dest)); in set_ethhdr() 170 memcpy(vip.daddr.v6, ip6h->daddr.s6_addr32, sizeof(vip.daddr)); in handle_ipv6() 201 memcpy(ip6h->saddr.s6_addr32, tnl->saddr.v6, sizeof(tnl->saddr.v6)); in handle_ipv6() 202 memcpy(ip6h->daddr.s6_addr32, tnl->daddr.v6, sizeof(tnl->daddr.v6)); in handle_ipv6()
|
D | test_l4lb.c | 253 memcpy(pckt->srcv6, ip6h->daddr.s6_addr32, 16); in parse_icmpv6() 254 memcpy(pckt->dstv6, ip6h->saddr.s6_addr32, 16); in parse_icmpv6() 367 memcpy(pckt.srcv6, ip6h->saddr.s6_addr32, 16); in process_packet() 368 memcpy(pckt.dstv6, ip6h->daddr.s6_addr32, 16); in process_packet() 407 memcpy(vip.daddr.v6, pckt.dstv6, 16); in process_packet() 433 memcpy(tkey.remote_ipv6, dst->dstv6, 16); in process_packet()
|
D | test_l4lb_noinline.c | 253 memcpy(pckt->srcv6, ip6h->daddr.s6_addr32, 16); in parse_icmpv6() 254 memcpy(pckt->dstv6, ip6h->saddr.s6_addr32, 16); in parse_icmpv6() 367 memcpy(pckt.srcv6, ip6h->saddr.s6_addr32, 16); in process_packet() 368 memcpy(pckt.dstv6, ip6h->daddr.s6_addr32, 16); in process_packet() 407 memcpy(vip.daddr.v6, pckt.dstv6, 16); in process_packet() 433 memcpy(tkey.remote_ipv6, dst->dstv6, 16); in process_packet()
|
D | test_tcp_check_syncookie_kern.c | 109 memcpy(tup.ipv6.saddr, &ipv6h->saddr, sizeof(tup.ipv6.saddr)); in check_syncookie() 110 memcpy(tup.ipv6.daddr, &ipv6h->daddr, sizeof(tup.ipv6.daddr)); in check_syncookie()
|
/tools/perf/bench/ |
D | Build | 13 perf-$(CONFIG_X86_64) += mem-memcpy-x86-64-lib.o 14 perf-$(CONFIG_X86_64) += mem-memcpy-x86-64-asm.o
|
D | mem-functions.c | 61 memcpy_t memcpy; member 241 memcpy_t fn = r->fn.memcpy; in do_memcpy_cycles() 257 memcpy_t fn = r->fn.memcpy; in do_memcpy_gettimeofday() 275 .fn.memcpy = memcpy }, 278 # define MEMCPY_FN(_fn, _name, _desc) {.name = _name, .desc = _desc, .fn.memcpy = _fn},
|
D | mem-memcpy-x86-64-asm.S | 5 #define memcpy MEMCPY /* don't hide glibc's memcpy() */ macro
|
/tools/testing/selftests/kvm/lib/aarch64/ |
D | ucall.c | 102 memcpy(&gva, run->mmio.data, sizeof(gva)); in get_ucall() 103 memcpy(&ucall, addr_gva2hva(vm, gva), sizeof(ucall)); in get_ucall() 107 memcpy(uc, &ucall, sizeof(ucall)); in get_ucall()
|
/tools/testing/selftests/bpf/ |
D | test_lpm_map.c | 53 memcpy(node->key, key, n); in tlpm_add() 64 memcpy(node->key, key, n); in tlpm_add() 251 memcpy(key->data, value, keysize); in test_lpm_map() 263 memcpy(key->data, data, keysize); in test_lpm_map() 287 memcpy(key->data, list->key, keysize); in test_lpm_map() 300 memcpy(key->data, data, keysize); in test_lpm_map() 589 memcpy(key_p, next_key_p, key_size); in test_lpm_get_next_key() 608 memcpy(key_p, next_key_p, key_size); in test_lpm_get_next_key() 613 memcpy(key_p, next_key_p, key_size); in test_lpm_get_next_key() 632 memcpy(key_p, next_key_p, key_size); in test_lpm_get_next_key() [all …]
|
/tools/testing/selftests/kvm/lib/x86_64/ |
D | ucall.c | 47 memcpy(&ucall, addr_gva2hva(vm, (vm_vaddr_t)regs.rdi), in get_ucall() 52 memcpy(uc, &ucall, sizeof(ucall)); in get_ucall()
|
/tools/testing/selftests/kvm/lib/s390x/ |
D | ucall.c | 47 memcpy(&ucall, addr_gva2hva(vm, run->s.regs.gprs[reg]), in get_ucall() 52 memcpy(uc, &ucall, sizeof(ucall)); in get_ucall()
|
/tools/lib/ |
D | string.c | 34 memcpy(p, src, len); in memdup() 109 memcpy(dest, src, len); in strlcpy()
|
/tools/testing/selftests/x86/ |
D | entry_from_vm86.c | 207 memcpy(&idt1, test_mem + 2054, sizeof(idt1)); in do_umip_tests() 208 memcpy(&gdt1, test_mem + 2060, sizeof(gdt1)); in do_umip_tests() 212 memcpy(&idt2, test_mem + 2068, sizeof(idt2)); in do_umip_tests() 213 memcpy(&gdt2, test_mem + 2074, sizeof(gdt2)); in do_umip_tests() 259 memcpy(addr, vmcode, end_vmcode - vmcode); in main()
|
D | sysret_rip.c | 80 memcpy(&ctx->uc_mcontext.gregs, &initial_regs, sizeof(gregset_t)); in sigsegv_for_sigreturn_test() 89 memcpy(&initial_regs, &ctx->uc_mcontext.gregs, sizeof(gregset_t)); in sigusr1()
|
/tools/testing/selftests/bpf/map_tests/ |
D | sk_storage_map.c | 138 memcpy(raw_btf, &btf_hdr, sizeof(btf_hdr)); in load_btf() 139 memcpy(raw_btf + sizeof(btf_hdr), btf_raw_types, sizeof(btf_raw_types)); in load_btf() 140 memcpy(raw_btf + sizeof(btf_hdr) + sizeof(btf_raw_types), in load_btf() 483 memcpy(&lookup_value, &value, sizeof(value)); in test_sk_storage_map_basic() 563 memcpy(&bad_xattr, &xattr, sizeof(xattr)); in test_sk_storage_map_basic() 569 memcpy(&bad_xattr, &xattr, sizeof(xattr)); in test_sk_storage_map_basic() 575 memcpy(&bad_xattr, &xattr, sizeof(xattr)); in test_sk_storage_map_basic() 581 memcpy(&bad_xattr, &xattr, sizeof(xattr)); in test_sk_storage_map_basic()
|
/tools/testing/selftests/bpf/prog_tests/ |
D | obj_name.c | 37 memcpy(attr.prog_name, tests[i].name, ncopy); in test_obj_name() 59 memcpy(attr.map_name, tests[i].name, ncopy); in test_obj_name()
|
/tools/arch/x86/lib/ |
D | memcpy_64.S | 18 .weak memcpy 32 ENTRY(memcpy) 44 ENDPROC(memcpy) 46 EXPORT_SYMBOL(memcpy)
|
/tools/testing/selftests/powerpc/stringloops/ |
D | memcmp.c | 104 memcpy(rand_s2, rand_s1, comp_size); in testcase() 130 memcpy(rand_s2, rand_s1, comp_size); in testcase()
|
/tools/testing/selftests/net/ |
D | tcp_fastopen_backup_key.c | 228 memcpy(keys + 4, new_key, KEY_LENGTH); in rotate_key() 233 memcpy(tmp_key, keys + 4, KEY_LENGTH); in rotate_key() 234 memcpy(keys + 4, keys, KEY_LENGTH); in rotate_key() 235 memcpy(keys, tmp_key, KEY_LENGTH); in rotate_key()
|
D | ip_defrag.c | 153 memcpy(frag_start, &udphdr, UDP_HLEN); in send_fragment() 169 memcpy(frag_start + UDP_HLEN, udp_payload, in send_fragment() 172 memcpy(frag_start, udp_payload + payload_offset, in send_fragment() 187 memcpy(frag_start + UDP_HLEN, udp_payload, in send_fragment() 190 memcpy(frag_start, udp_payload + payload_offset, in send_fragment()
|
/tools/lib/bpf/ |
D | libbpf_probes.c | 156 memcpy(raw_btf, &hdr, sizeof(hdr)); in libbpf__load_raw_btf() 157 memcpy(raw_btf + hdr.hdr_len, raw_types, hdr.type_len); in libbpf__load_raw_btf() 158 memcpy(raw_btf + hdr.hdr_len + hdr.type_len, str_sec, hdr.str_len); in libbpf__load_raw_btf()
|
/tools/perf/util/ |
D | pmu.y | 72 memcpy($$, $1, sizeof($1));
|