Home
last modified time | relevance | path

Searched refs:memcpy (Results 1 – 25 of 733) sorted by relevance

12345678910>>...30

/arch/sh/lib/
DMakefile24 memcpy-y := memcpy.o
25 memcpy-$(CONFIG_CPU_SH4) := memcpy-sh4.o
32 lib-y += $(memcpy-y) $(memset-y) $(udivsi3-y)
/arch/x86/boot/
Dcopy.S18 GLOBAL(memcpy)
32 ENDPROC(memcpy)
53 calll memcpy
62 calll memcpy
Dstring.h6 #undef memcpy
10 void *memcpy(void *dst, const void *src, size_t len);
18 #define memcpy(d,s,l) __builtin_memcpy(d,s,l) macro
/arch/arc/lib/
DMakefile8 lib-$(CONFIG_ISA_ARCOMPACT) += memcpy-700.o memset.o strcmp.o
12 lib-$(CONFIG_ISA_ARCV2) +=memcpy-archs-unaligned.o
14 lib-$(CONFIG_ISA_ARCV2) +=memcpy-archs.o
/arch/s390/crypto/
Dsha3_256_s390.c38 memcpy(octx->st, sctx->state, sizeof(octx->st)); in sha3_256_export()
39 memcpy(octx->buf, sctx->buf, sizeof(octx->buf)); in sha3_256_export()
50 memcpy(sctx->state, ictx->st, sizeof(ictx->st)); in sha3_256_import()
51 memcpy(sctx->buf, ictx->buf, sizeof(ictx->buf)); in sha3_256_import()
63 memcpy(sctx->state, ictx->st, sizeof(ictx->st)); in sha3_224_import()
64 memcpy(sctx->buf, ictx->buf, sizeof(ictx->buf)); in sha3_224_import()
Dsha3_512_s390.c39 memcpy(octx->st, sctx->state, sizeof(octx->st)); in sha3_512_export()
40 memcpy(octx->buf, sctx->buf, sizeof(octx->buf)); in sha3_512_export()
54 memcpy(sctx->state, ictx->st, sizeof(ictx->st)); in sha3_512_import()
55 memcpy(sctx->buf, ictx->buf, sizeof(ictx->buf)); in sha3_512_import()
70 memcpy(sctx->state, ictx->st, sizeof(ictx->st)); in sha3_384_import()
71 memcpy(sctx->buf, ictx->buf, sizeof(ictx->buf)); in sha3_384_import()
Dsha_common.c31 memcpy(ctx->buf + index, data, bsize - index); in s390_sha_update()
47 memcpy(ctx->buf + index , data, len); in s390_sha_update()
92 memcpy(ctx->state + mbl_offset, &bits, sizeof(bits)); in s390_sha_final()
101 memcpy(ctx->state + mbl_offset, &bits, sizeof(bits)); in s390_sha_final()
115 memcpy(out, ctx->state, crypto_shash_digestsize(desc->tfm)); in s390_sha_final()
Dsha1_s390.c51 memcpy(octx->state, sctx->state, sizeof(octx->state)); in sha1_export()
52 memcpy(octx->buffer, sctx->buf, sizeof(octx->buffer)); in sha1_export()
62 memcpy(sctx->state, ictx->state, sizeof(ictx->state)); in sha1_import()
63 memcpy(sctx->buf, ictx->buffer, sizeof(ictx->buffer)); in sha1_import()
Dghash_s390.c36 memcpy(dctx->key, ctx->key, GHASH_BLOCK_SIZE); in ghash_init()
51 memcpy(ctx->key, key, GHASH_BLOCK_SIZE); in ghash_setkey()
70 memcpy(pos, src, n); in ghash_update()
88 memcpy(buf, src, srclen); in ghash_update()
116 memcpy(dst, dctx->icv, GHASH_BLOCK_SIZE); in ghash_final()
/arch/x86/boot/compressed/
Dpgtable_64.c132 memcpy(trampoline_save, trampoline_32bit, TRAMPOLINE_32BIT_SIZE); in paging_prepare()
138 memcpy(trampoline_32bit + TRAMPOLINE_32BIT_CODE_OFFSET / sizeof(unsigned long), in paging_prepare()
176 memcpy(trampoline_32bit + TRAMPOLINE_32BIT_PGTABLE_OFFSET / sizeof(unsigned long), in paging_prepare()
195 memcpy(pgtable, trampoline_pgtable, PAGE_SIZE); in cleanup_trampoline()
200 memcpy(trampoline_32bit, trampoline_save, TRAMPOLINE_32BIT_SIZE); in cleanup_trampoline()
/arch/parisc/math-emu/
Ddriver.c82 memcpy(frcopy, regs->fr, sizeof regs->fr); in handle_fpe()
85 memcpy(&orig_sw, frcopy, sizeof(orig_sw)); in handle_fpe()
96 memcpy(&sw, frcopy, sizeof(sw)); in handle_fpe()
104 memcpy(regs->fr, frcopy, sizeof regs->fr); in handle_fpe()
/arch/s390/kernel/
Dcrash_dump.c90 memcpy(&sa->psw, &lc->psw_save_area, sizeof(sa->psw)); in save_area_add_regs()
91 memcpy(&sa->ctrs, &lc->cregs_save_area, sizeof(sa->ctrs)); in save_area_add_regs()
92 memcpy(&sa->gprs, &lc->gpregs_save_area, sizeof(sa->gprs)); in save_area_add_regs()
93 memcpy(&sa->acrs, &lc->access_regs_save_area, sizeof(sa->acrs)); in save_area_add_regs()
94 memcpy(&sa->fprs, &lc->floating_pt_save_area, sizeof(sa->fprs)); in save_area_add_regs()
95 memcpy(&sa->fpc, &lc->fpt_creg_save_area, sizeof(sa->fpc)); in save_area_add_regs()
96 memcpy(&sa->prefix, &lc->prefixreg_save_area, sizeof(sa->prefix)); in save_area_add_regs()
97 memcpy(&sa->todpreg, &lc->tod_progreg_save_area, sizeof(sa->todpreg)); in save_area_add_regs()
98 memcpy(&sa->timer, &lc->cpu_timer_save_area, sizeof(sa->timer)); in save_area_add_regs()
99 memcpy(&sa->todcmp, &lc->clock_comp_save_area, sizeof(sa->todcmp)); in save_area_add_regs()
[all …]
Dalternative.c43 memcpy(insns, &brcl, sizeof(brcl)); in add_jump_padding()
48 memcpy(insns, &nop16, 2); in add_jump_padding()
59 memcpy(insns, nops[len / 2 - 1], len); in add_padding()
89 memcpy(insnbuf, replacement, a->replacementlen); in __apply_alternatives()
/arch/x86/lib/
Dmemcpy_32.c5 #undef memcpy
8 __visible void *memcpy(void *to, const void *from, size_t n) in memcpy() function
16 EXPORT_SYMBOL(memcpy);
/arch/sparc/crypto/
Dsha1_glue.c49 memcpy(sctx->buffer + partial, data, done); in __sha1_sparc64_update()
59 memcpy(sctx->buffer, data + done, len - done); in __sha1_sparc64_update()
71 memcpy(sctx->buffer + partial, data, len); in sha1_sparc64_update()
96 memcpy(sctx->buffer + index, padding, padlen); in sha1_sparc64_final()
116 memcpy(out, sctx, sizeof(*sctx)); in sha1_sparc64_export()
125 memcpy(sctx, in, sizeof(*sctx)); in sha1_sparc64_import()
Dmd5_glue.c54 memcpy((u8 *)sctx->block + partial, data, done); in __md5_sparc64_update()
64 memcpy(sctx->block, data + done, len - done); in __md5_sparc64_update()
76 memcpy((u8 *)sctx->block + partial, data, len); in md5_sparc64_update()
101 memcpy((u8 *)sctx->block + index, padding, padlen); in md5_sparc64_final()
121 memcpy(out, sctx, sizeof(*sctx)); in md5_sparc64_export()
130 memcpy(sctx, in, sizeof(*sctx)); in md5_sparc64_import()
Dsha256_glue.c70 memcpy(sctx->buf + partial, data, done); in __sha256_sparc64_update()
80 memcpy(sctx->buf, data + done, len - done); in __sha256_sparc64_update()
92 memcpy(sctx->buf + partial, data, len); in sha256_sparc64_update()
116 memcpy(sctx->buf + index, padding, padlen); in sha256_sparc64_final()
138 memcpy(hash, D, SHA224_DIGEST_SIZE); in sha224_sparc64_final()
148 memcpy(out, sctx, sizeof(*sctx)); in sha256_sparc64_export()
156 memcpy(sctx, in, sizeof(*sctx)); in sha256_sparc64_import()
/arch/powerpc/platforms/52xx/
Dmpc52xx_pm.c133 memcpy(saved_sram, sram, sram_size); in mpc52xx_pm_enter()
136 memcpy(sram, mpc52xx_ds_sram, mpc52xx_ds_sram_size); in mpc52xx_pm_enter()
155 memcpy(saved_0x500, irq_0x500, mpc52xx_ds_cached_size); in mpc52xx_pm_enter()
156 memcpy(irq_0x500, mpc52xx_ds_cached, mpc52xx_ds_cached_size); in mpc52xx_pm_enter()
163 memcpy(irq_0x500, saved_0x500, mpc52xx_ds_cached_size); in mpc52xx_pm_enter()
176 memcpy(sram, saved_sram, sram_size); in mpc52xx_pm_enter()
/arch/mips/cavium-octeon/crypto/
Docteon-md5.c92 memcpy((char *)mctx->block + (sizeof(mctx->block) - avail), in octeon_md5_update()
97 memcpy((char *)mctx->block + (sizeof(mctx->block) - avail), data, in octeon_md5_update()
116 memcpy(mctx->block, data, len); in octeon_md5_update()
150 memcpy(out, mctx->hash, sizeof(mctx->hash)); in octeon_md5_final()
160 memcpy(out, ctx, sizeof(*ctx)); in octeon_md5_export()
168 memcpy(ctx, in, sizeof(*ctx)); in octeon_md5_import()
/arch/parisc/kernel/
Dfirmware.c264 memcpy(&pdc_result, chassis_info, sizeof(*chassis_info)); in pdc_chassis_info()
265 memcpy(&pdc_result2, led_info, len); in pdc_chassis_info()
268 memcpy(chassis_info, pdc_result, sizeof(*chassis_info)); in pdc_chassis_info()
269 memcpy(led_info, pdc_result2, len); in pdc_chassis_info()
399 memcpy(iodc_data, pdc_result2, iodc_data_size); in pdc_iodc_read()
425 memcpy(pdc_mod_info, pdc_result, sizeof(*pdc_mod_info)); in pdc_system_map_find_mods()
426 memcpy(mod_path, pdc_result2, sizeof(*mod_path)); in pdc_system_map_find_mods()
452 memcpy(pdc_addr_info, pdc_result, sizeof(*pdc_addr_info)); in pdc_system_map_find_addrs()
473 memcpy(model, pdc_result, sizeof(*model)); in pdc_model_info()
617 memcpy(cache_info, pdc_result, sizeof(*cache_info)); in pdc_cache_info()
[all …]
/arch/mips/bcm63xx/
Dnvram.c33 memcpy(&nvram, addr, BCM963XX_NVRAM_V5_SIZE); in bcm63xx_nvram_init()
45 memcpy(nvram.mac_addr_base, hcs_mac_addr, ETH_ALEN); in bcm63xx_nvram_init()
66 memcpy(mac, nvram.mac_addr_base, ETH_ALEN); in bcm63xx_nvram_get_mac_address()
/arch/arm/boot/compressed/
Ddecompress.c53 #undef memcpy
54 #define memcpy memcpy macro
/arch/mips/dec/prom/
Dmemory.c38 memcpy(&old_handler, (void *)(CKSEG0 + 0x80), 0x80); in pmax_setup_memory_region()
39 memcpy((void *)(CKSEG0 + 0x80), &genexcept_early, 0x80); in pmax_setup_memory_region()
51 memcpy((void *)(CKSEG0 + 0x80), &old_handler, 0x80); in pmax_setup_memory_region()
/arch/s390/net/
Dpnet.c51 memcpy(pnetids, util_str, PNETIDS_LEN); in pnet_ids_by_device()
59 memcpy(pnetids, zdev->util_str, sizeof(zdev->util_str)); in pnet_ids_by_device()
82 memcpy(pnetid, pnetids[port], MAX_PNETID_LEN); in pnet_id_by_dev_port()
/arch/powerpc/crypto/
Dmd5-glue.c55 memcpy((char *)sctx->block + offset, src, len); in ppc_md5_update()
60 memcpy((char *)sctx->block + offset, src, avail); in ppc_md5_update()
72 memcpy((char *)sctx->block, src, len); in ppc_md5_update()
112 memcpy(out, sctx, sizeof(*sctx)); in ppc_md5_export()
120 memcpy(sctx, in, sizeof(*sctx)); in ppc_md5_import()

12345678910>>...30