Home
last modified time | relevance | path

Searched refs:memcpy (Results 1 – 25 of 727) 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 SYM_FUNC_START_NOALIGN(memcpy)
32 SYM_FUNC_END(memcpy)
53 calll memcpy
62 calll memcpy
Dstring.h6 #undef memcpy
10 void *memcpy(void *dst, const void *src, size_t len);
15 #define memcpy(d,s,l) __builtin_memcpy(d,s,l) macro
/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()
Dpaes_s390.c80 memcpy(kb->keybuf + sizeof(*h), key, keylen); in _key_to_kb()
93 memcpy(kb->key, key, keylen); in _key_to_kb()
147 memcpy(&ctx->pk, &pkey, sizeof(pkey)); in __paes_convert_key()
218 memcpy(param.key, ctx->pk.protkey, MAXPROTKEYSIZE); in ecb_paes_crypt()
232 memcpy(param.key, ctx->pk.protkey, MAXPROTKEYSIZE); in ecb_paes_crypt()
331 memcpy(param.iv, walk.iv, AES_BLOCK_SIZE); in cbc_paes_crypt()
333 memcpy(param.key, ctx->pk.protkey, MAXPROTKEYSIZE); in cbc_paes_crypt()
342 memcpy(walk.iv, param.iv, AES_BLOCK_SIZE); in cbc_paes_crypt()
349 memcpy(param.key, ctx->pk.protkey, MAXPROTKEYSIZE); in cbc_paes_crypt()
412 memcpy(&ctx->pk[0], &pkey0, sizeof(pkey0)); in __xts_paes_convert_key()
[all …]
Dsha1_s390.c51 memcpy(octx->state, sctx->state, sizeof(octx->state)); in s390_sha1_export()
52 memcpy(octx->buffer, sctx->buf, sizeof(octx->buffer)); in s390_sha1_export()
62 memcpy(sctx->state, ictx->state, sizeof(ictx->state)); in s390_sha1_import()
63 memcpy(sctx->buf, ictx->buffer, sizeof(ictx->buffer)); in s390_sha1_import()
Dghash_s390.c36 memcpy(dctx->key, ctx->key, GHASH_BLOCK_SIZE); in ghash_init()
49 memcpy(ctx->key, key, GHASH_BLOCK_SIZE); in ghash_setkey()
68 memcpy(pos, src, n); in ghash_update()
86 memcpy(buf, src, srclen); in ghash_update()
114 memcpy(dst, dctx->icv, GHASH_BLOCK_SIZE); in ghash_final()
/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/x86/boot/compressed/
Dpgtable_64.c139 memcpy(trampoline_save, trampoline_32bit, TRAMPOLINE_32BIT_SIZE); in paging_prepare()
145 memcpy(trampoline_32bit + TRAMPOLINE_32BIT_CODE_OFFSET / sizeof(unsigned long), in paging_prepare()
183 memcpy(trampoline_32bit + TRAMPOLINE_32BIT_PGTABLE_OFFSET / sizeof(unsigned long), in paging_prepare()
202 memcpy(pgtable, trampoline_pgtable, PAGE_SIZE); in cleanup_trampoline()
207 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/arm64/kvm/
Dmmio.c42 memcpy(buf, datap, len); in kvm_mmio_write_buf()
59 memcpy(&tmp.hword, buf, len); in kvm_mmio_read_buf()
63 memcpy(&tmp.word, buf, len); in kvm_mmio_read_buf()
67 memcpy(&tmp.dword, buf, len); in kvm_mmio_read_buf()
184 memcpy(run->mmio.data, data_buf, len); in io_mem_abort()
191 memcpy(run->mmio.data, data_buf, len); in io_mem_abort()
/arch/sparc/crypto/
Dsha1_glue.c48 memcpy(sctx->buffer + partial, data, done); in __sha1_sparc64_update()
58 memcpy(sctx->buffer, data + done, len - done); in __sha1_sparc64_update()
70 memcpy(sctx->buffer + partial, data, len); in sha1_sparc64_update()
95 memcpy(sctx->buffer + index, padding, padlen); in sha1_sparc64_final()
115 memcpy(out, sctx, sizeof(*sctx)); in sha1_sparc64_export()
124 memcpy(sctx, in, sizeof(*sctx)); in sha1_sparc64_import()
Dmd5_glue.c53 memcpy((u8 *)sctx->block + partial, data, done); in __md5_sparc64_update()
63 memcpy(sctx->block, data + done, len - done); in __md5_sparc64_update()
75 memcpy((u8 *)sctx->block + partial, data, len); in md5_sparc64_update()
100 memcpy((u8 *)sctx->block + index, padding, padlen); in md5_sparc64_final()
120 memcpy(out, sctx, sizeof(*sctx)); in md5_sparc64_export()
129 memcpy(sctx, in, sizeof(*sctx)); in md5_sparc64_import()
Dsha256_glue.c69 memcpy(sctx->buf + partial, data, done); in __sha256_sparc64_update()
79 memcpy(sctx->buf, data + done, len - done); in __sha256_sparc64_update()
91 memcpy(sctx->buf + partial, data, len); in sha256_sparc64_update()
115 memcpy(sctx->buf + index, padding, padlen); in sha256_sparc64_final()
137 memcpy(hash, D, SHA224_DIGEST_SIZE); in sha224_sparc64_final()
147 memcpy(out, sctx, sizeof(*sctx)); in sha256_sparc64_export()
155 memcpy(sctx, in, sizeof(*sctx)); in sha256_sparc64_import()
/arch/parisc/kernel/
Dfirmware.c265 memcpy(&pdc_result, chassis_info, sizeof(*chassis_info)); in pdc_chassis_info()
266 memcpy(&pdc_result2, led_info, len); in pdc_chassis_info()
269 memcpy(chassis_info, pdc_result, sizeof(*chassis_info)); in pdc_chassis_info()
270 memcpy(led_info, pdc_result2, len); in pdc_chassis_info()
400 memcpy(iodc_data, pdc_result2, iodc_data_size); in pdc_iodc_read()
426 memcpy(pdc_mod_info, pdc_result, sizeof(*pdc_mod_info)); in pdc_system_map_find_mods()
427 memcpy(mod_path, pdc_result2, sizeof(*mod_path)); in pdc_system_map_find_mods()
453 memcpy(pdc_addr_info, pdc_result, sizeof(*pdc_addr_info)); in pdc_system_map_find_addrs()
474 memcpy(model, pdc_result, sizeof(*model)); in pdc_model_info()
618 memcpy(cache_info, pdc_result, sizeof(*cache_info)); in pdc_cache_info()
[all …]
/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.c91 memcpy((char *)mctx->block + (sizeof(mctx->block) - avail), in octeon_md5_update()
96 memcpy((char *)mctx->block + (sizeof(mctx->block) - avail), data, in octeon_md5_update()
115 memcpy(mctx->block, data, len); in octeon_md5_update()
149 memcpy(out, mctx->hash, sizeof(mctx->hash)); in octeon_md5_final()
159 memcpy(out, ctx, sizeof(*ctx)); in octeon_md5_export()
167 memcpy(ctx, in, sizeof(*ctx)); in octeon_md5_import()
/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/mips/dec/prom/
Dmemory.c37 memcpy(&old_handler, (void *)(CKSEG0 + 0x80), 0x80); in pmax_setup_memory_region()
38 memcpy((void *)(CKSEG0 + 0x80), &genexcept_early, 0x80); in pmax_setup_memory_region()
50 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()

12345678910>>...30