| /linux/arch/parisc/kernel/ |
| H A D | kexec_file.c | 25 struct kexec_buf kbuf = { .image = image, .buf_min = 0, in elf_load() local 32 ret = kexec_elf_load(image, &ehdr, &elf_info, &kbuf, &kernel_load_addr); in elf_load() 45 kbuf.buffer = initrd; in elf_load() 46 kbuf.bufsz = kbuf.memsz = initrd_len; in elf_load() 47 kbuf.buf_align = PAGE_SIZE; in elf_load() 48 kbuf.top_down = false; in elf_load() 49 kbuf.mem = KEXEC_BUF_MEM_UNKNOWN; in elf_load() 50 ret = kexec_add_buffer(&kbuf); in elf_load() 54 kexec_dprintk("Loaded initrd at 0x%lx\n", kbuf.mem); in elf_load() 55 image->arch.initrd_start = kbuf.mem; in elf_load() [all …]
|
| /linux/arch/riscv/kernel/ |
| H A D | kexec_image.c | 44 struct kexec_buf kbuf = {}; in image_load() local 64 kbuf.image = image; in image_load() 65 kbuf.buf_min = 0; in image_load() 66 kbuf.buf_max = ULONG_MAX; in image_load() 67 kbuf.top_down = false; in image_load() 69 kbuf.buffer = kernel; in image_load() 70 kbuf.bufsz = kernel_len; in image_load() 71 kbuf.mem = KEXEC_BUF_MEM_UNKNOWN; in image_load() 72 kbuf.memsz = le64_to_cpu(h->image_size); in image_load() 73 kbuf in image_load() [all...] |
| H A D | ptrace.c | 51 const void *kbuf, const void __user *ubuf) in riscv_gpr_set() argument 56 return user_regset_copyin(&pos, &count, &kbuf, &ubuf, regs, 0, -1); in riscv_gpr_set() 77 const void *kbuf, const void __user *ubuf) in riscv_fpr_set() argument 82 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, fstate, 0, in riscv_fpr_set() 85 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, fstate, 0, in riscv_fpr_set() 220 const void *kbuf, const void __user *ubuf) in riscv_vr_set() argument 234 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &ptrace_vstate, 0, in riscv_vr_set() 249 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, vstate->datap, in riscv_vr_set() 282 const void *kbuf, const void __user *ubuf) in tagged_addr_ctrl_set() argument 287 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &ctrl, 0, -1); in tagged_addr_ctrl_set() [all …]
|
| /linux/arch/powerpc/kexec/ |
| H A D | elf_64.c | 42 struct kexec_buf kbuf = { .image = image, .buf_min = 0, in elf64_load() local 54 kbuf.buf_min = pbuf.buf_min = crashk_res.start; in elf64_load() 55 kbuf.buf_max = pbuf.buf_max = in elf64_load() 60 ret = kexec_elf_load(image, &ehdr, &elf_info, &kbuf, &kernel_load_addr); in elf64_load() 76 ret = load_crashdump_segments_ppc64(image, &kbuf); in elf64_load() 100 kbuf.buffer = initrd; in elf64_load() 101 kbuf.bufsz = kbuf.memsz = initrd_len; in elf64_load() 102 kbuf.buf_align = PAGE_SIZE; in elf64_load() 103 kbuf.top_down = false; in elf64_load() 104 kbuf.mem = KEXEC_BUF_MEM_UNKNOWN; in elf64_load() [all …]
|
| H A D | file_load_64.c | 344 static int load_backup_segment(struct kimage *image, struct kexec_buf *kbuf) in load_backup_segment() argument 361 kbuf->buffer = buf; in load_backup_segment() 362 kbuf->mem = KEXEC_BUF_MEM_UNKNOWN; in load_backup_segment() 363 kbuf->bufsz = kbuf->memsz = BACKUP_SRC_SIZE; in load_backup_segment() 364 kbuf->top_down = false; in load_backup_segment() 366 ret = kexec_add_buffer(kbuf); in load_backup_segment() 373 image->arch.backup_start = kbuf->mem; in load_backup_segment() 398 static int load_elfcorehdr_segment(struct kimage *image, struct kexec_buf *kbuf) in load_elfcorehdr_segment() argument 419 kbuf->buffer = headers; in load_elfcorehdr_segment() 420 kbuf->mem = KEXEC_BUF_MEM_UNKNOWN; in load_elfcorehdr_segment() [all …]
|
| /linux/arch/loongarch/kernel/ |
| H A D | kexec_efi.c | 45 struct kexec_buf kbuf = {}; in efi_kexec_load() local 57 kbuf.image = image; in efi_kexec_load() 58 kbuf.buf_max = ULONG_MAX; in efi_kexec_load() 59 kbuf.top_down = false; in efi_kexec_load() 61 kbuf.buffer = kernel; in efi_kexec_load() 62 kbuf.bufsz = kernel_len; in efi_kexec_load() 63 kbuf.mem = KEXEC_BUF_MEM_UNKNOWN; in efi_kexec_load() 64 kbuf.memsz = le64_to_cpu(h->kernel_asize); in efi_kexec_load() 66 kbuf.buf_min = text_offset; in efi_kexec_load() 67 kbuf in efi_kexec_load() [all...] |
| H A D | kexec_elf.c | 22 struct kexec_buf *kbuf, unsigned long *text_offset) in _elf_kexec_load() argument 39 kbuf->buffer = (void *)elf_info->buffer + phdr->p_offset; in _elf_kexec_load() 40 kbuf->bufsz = size; in _elf_kexec_load() 41 kbuf->buf_align = phdr->p_align; in _elf_kexec_load() 43 kbuf->buf_min = *text_offset; in _elf_kexec_load() 44 kbuf->memsz = ALIGN(phdr->p_memsz, SZ_64K); in _elf_kexec_load() 45 kbuf->mem = KEXEC_BUF_MEM_UNKNOWN; in _elf_kexec_load() 46 ret = kexec_add_buffer(kbuf); in _elf_kexec_load() 62 struct kexec_buf kbuf = {}; in elf_kexec_load() local 74 kbuf.image = image; in elf_kexec_load() [all …]
|
| H A D | ptrace.c | 93 const void *kbuf, const void __user *ubuf) in gpr_set() argument 101 err = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in gpr_set() 104 err |= user_regset_copyin(&pos, &count, &kbuf, &ubuf, in gpr_set() 107 err |= user_regset_copyin(&pos, &count, &kbuf, &ubuf, in gpr_set() 110 err |= user_regset_copyin(&pos, &count, &kbuf, &ubuf, in gpr_set() 166 const void **kbuf, const void __user **ubuf) in gfpr_set() argument 168 return user_regset_copyin(pos, count, kbuf, ubuf, in gfpr_set() 175 const void **kbuf, const void __user **ubuf) in gfpr_set_simd() argument 182 err = user_regset_copyin(pos, count, kbuf, ubuf, in gfpr_set_simd() 200 const void *kbuf, const void __user *ubuf) in fpr_set() argument [all …]
|
| /linux/arch/arm64/kernel/ |
| H A D | kexec_image.c | 44 struct kexec_buf kbuf = {}; in image_load() local 74 kbuf.image = image; in image_load() 75 kbuf.buf_min = 0; in image_load() 76 kbuf.buf_max = ULONG_MAX; in image_load() 77 kbuf.top_down = false; in image_load() 79 kbuf.buffer = kernel; in image_load() 80 kbuf.bufsz = kernel_len; in image_load() 81 kbuf.mem = KEXEC_BUF_MEM_UNKNOWN; in image_load() 82 kbuf.memsz = le64_to_cpu(h->image_size); in image_load() 91 kbuf in image_load() [all...] |
| H A D | ptrace.c | 509 const void *kbuf, const void __user *ubuf) in hw_break_set() argument 518 user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf, 0, offset); in hw_break_set() 525 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &addr, in hw_break_set() 536 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &ctrl, in hw_break_set() 545 user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf, in hw_break_set() 605 const void *kbuf, const void __user *ubuf) in gpr_set() 610 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &newregs, 0, -1); in gpr_set() 667 const void *kbuf, const void __user *ubuf, in __fpr_set() 681 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &newstate, in __fpr_set() 693 const void *kbuf, cons in fpr_set() 601 gpr_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) gpr_set() argument 663 __fpr_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf,unsigned int start_pos) __fpr_set() argument 689 fpr_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) fpr_set() argument 725 tls_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) tls_set() argument 759 fpmr_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) fpmr_set() argument 790 system_call_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) system_call_set() argument 936 sve_set_common(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf,enum vec_type type) sve_set_common() argument 1091 sve_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) sve_set() argument 1117 ssve_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) ssve_set() argument 1178 za_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) za_set() argument 1287 zt_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) zt_set() argument 1357 pac_enabled_keys_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) pac_enabled_keys_set() argument 1426 pac_address_keys_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) pac_address_keys_set() argument 1475 pac_generic_keys_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) pac_generic_keys_set() argument 1511 tagged_addr_ctrl_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) tagged_addr_ctrl_set() argument 1546 poe_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) poe_set() argument 1603 gcs_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) gcs_set() argument 1883 compat_gpr_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) compat_gpr_set() argument 1970 compat_vfp_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) compat_vfp_set() argument 2007 compat_tls_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) compat_tls_set() argument [all...] |
| /linux/arch/powerpc/kernel/ptrace/ |
| H A D | ptrace-decl.h | 75 const void *kbuf, const void __user *ubuf); 83 const void *kbuf, const void __user *ubuf); 91 const void *kbuf, const void __user *ubuf); 99 const void *kbuf, const void __user *ubuf); 110 const void *kbuf, const void __user *ubuf, 125 const void *kbuf, const void __user *ubuf); 130 const void *kbuf, const void __user *ubuf); 135 const void *kbuf, const void __user *ubuf); 140 const void *kbuf, const void __user *ubuf); 145 const void *kbuf, const void __user *ubuf); [all …]
|
| H A D | ptrace-tm.c | 136 const void *kbuf, const void __user *ubuf) in tm_cgpr_set() argument 151 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in tm_cgpr_set() 156 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, ®, in tm_cgpr_set() 167 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in tm_cgpr_set() 173 user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf, in tm_cgpr_set() 178 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, ®, in tm_cgpr_set() 186 user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf, in tm_cgpr_set() 275 const void *kbuf, const void __user *ubuf) in tm_cfpr_set() argument 295 i = user_regset_copyin(&pos, &count, &kbuf, &ubuf, buf, 0, -1); in tm_cfpr_set() 395 const void *kbuf, const void __user *ubuf) in tm_cvmx_set() argument [all …]
|
| H A D | ptrace-vsx.c | 51 const void *kbuf, const void __user *ubuf) in fpr_set() argument 63 i = user_regset_copyin(&pos, &count, &kbuf, &ubuf, buf, 0, -1); in fpr_set() 128 const void *kbuf, const void __user *ubuf) in vsr_set() argument 141 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in vsr_set()
|
| /linux/arch/x86/kernel/ |
| H A D | crash.c | 353 struct kexec_buf kbuf = { .image = image, .buf_min = 0, in crash_load_segments() local 357 ret = crash_prepare_headers(IS_ENABLED(CONFIG_X86_64), &kbuf.buffer, in crash_load_segments() 358 &kbuf.bufsz, &pnum); in crash_load_segments() 362 image->elf_headers = kbuf.buffer; in crash_load_segments() 363 image->elf_headers_sz = kbuf.bufsz; in crash_load_segments() 364 kbuf.memsz = kbuf.bufsz; in crash_load_segments() 377 kbuf.memsz = pnum * sizeof(Elf64_Phdr); in crash_load_segments() 378 kbuf.memsz += sizeof(Elf64_Ehdr); in crash_load_segments() 383 image->elf_headers_sz = kbuf.memsz; in crash_load_segments() 389 kbuf.buf_align = ELF_CORE_HEADER_ALIGN; in crash_load_segments() [all …]
|
| /linux/arch/um/drivers/ |
| H A D | hostaudio_kern.c | 76 void *kbuf; in hostaudio_read() local 83 kbuf = kmalloc(count, GFP_KERNEL); in hostaudio_read() 84 if (kbuf == NULL) in hostaudio_read() 87 err = os_read_file(state->fd, kbuf, count); in hostaudio_read() 91 if (copy_to_user(buffer, kbuf, err)) in hostaudio_read() 95 kfree(kbuf); in hostaudio_read() 103 void *kbuf; in hostaudio_write() local 110 kbuf = memdup_user(buffer, count); in hostaudio_write() 111 if (IS_ERR(kbuf)) in hostaudio_write() 112 return PTR_ERR(kbuf); in hostaudio_write() [all …]
|
| /linux/net/qrtr/ |
| H A D | tun.c | 91 void *kbuf; in qrtr_tun_write_iter() local 99 kbuf = kzalloc(len, GFP_KERNEL); in qrtr_tun_write_iter() 100 if (!kbuf) in qrtr_tun_write_iter() 103 if (!copy_from_iter_full(kbuf, len, from)) { in qrtr_tun_write_iter() 104 kfree(kbuf); in qrtr_tun_write_iter() 108 ret = qrtr_endpoint_post(&tun->ep, kbuf, len); in qrtr_tun_write_iter() 110 kfree(kbuf); in qrtr_tun_write_iter()
|
| /linux/include/linux/ |
| H A D | regset.h | 120 const void *kbuf, const void __user *ubuf); 264 const void **kbuf, in user_regset_copyin() argument 275 if (*kbuf) { in user_regset_copyin() 276 memcpy(data, *kbuf, copy); in user_regset_copyin() 277 *kbuf += copy; in user_regset_copyin() 290 const void **kbuf, in user_regset_copyin_ignore() argument 301 if (*kbuf) in user_regset_copyin_ignore() 302 *kbuf += copy; in user_regset_copyin_ignore()
|
| /linux/drivers/soc/fsl/ |
| H A D | dpaa2-console.c | 199 void *kbuf; in dpaa2_console_read() local 211 kbuf = kmalloc(bytes, GFP_KERNEL); in dpaa2_console_read() 212 if (!kbuf) in dpaa2_console_read() 216 memcpy_fromio(kbuf, cd->cur_ptr, bytes_end); in dpaa2_console_read() 217 if (copy_to_user(buf, kbuf, bytes_end)) { in dpaa2_console_read() 227 memcpy_fromio(kbuf, cd->cur_ptr, bytes); in dpaa2_console_read() 228 if (copy_to_user(buf, kbuf, bytes)) { in dpaa2_console_read() 235 kfree(kbuf); in dpaa2_console_read() 239 kfree(kbuf); in dpaa2_console_read()
|
| /linux/drivers/fpga/ |
| H A D | zynqmp-fpga.c | 46 char *kbuf; in zynqmp_fpga_ops_write() local 51 kbuf = dma_alloc_coherent(priv->dev, size, &dma_addr, GFP_KERNEL); in zynqmp_fpga_ops_write() 52 if (!kbuf) in zynqmp_fpga_ops_write() 55 memcpy(kbuf, buf, size); in zynqmp_fpga_ops_write() 64 dma_free_coherent(priv->dev, size, kbuf, dma_addr); in zynqmp_fpga_ops_write()
|
| /linux/security/integrity/ima/ |
| H A D | ima_kexec.c | 158 struct kexec_buf kbuf = { .image = image, .buf_align = PAGE_SIZE, in ima_add_kexec_buffer() 164 /* use more understandable variable names than defined in kbuf */ in ima_add_kexec_buffer() 201 kbuf.buffer = kexec_buffer; 202 kbuf.bufsz = kexec_buffer_size; 203 kbuf.memsz = kexec_segment_size; 205 ret = kexec_add_buffer(&kbuf); in ima_update_kexec_buffer() 212 image->ima_buffer_addr = kbuf.mem; in ima_update_kexec_buffer() 219 kbuf.mem); in ima_update_kexec_buffer() 140 struct kexec_buf kbuf = { .image = image, .buf_align = PAGE_SIZE, ima_add_kexec_buffer() local
|
| /linux/fs/dlm/ |
| H A D | user.c | 516 struct dlm_write_request *kbuf; in device_write() 533 kbuf = memdup_user_nul(buf, count); in device_write() 534 if (IS_ERR(kbuf)) in device_write() 535 return PTR_ERR(kbuf); in device_write() 537 if (check_version(kbuf)) { in device_write() 543 if (!kbuf->is64bit) { in device_write() 551 k32buf = (struct dlm_write_request32 *)kbuf; in device_write() 554 kbuf = kzalloc(sizeof(struct dlm_write_request) + namelen + 1, in device_write() 556 if (!kbuf) { in device_write() 564 compat_input(kbuf, k32bu in device_write() 514 struct dlm_write_request *kbuf; device_write() local [all...] |
| /linux/arch/s390/kernel/ |
| H A D | ptrace.c | 542 const void *kbuf, const void __user *ubuf) in s390_regs_set() 549 if (kbuf) { in s390_regs_set() 550 const unsigned long *k = kbuf; in s390_regs_set() 592 unsigned int count, const void *kbuf, in s390_fpregs_set() 603 rc = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &ufpc, in s390_last_break_get() 613 rc = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in s390_last_break_set() argument 631 const void *kbuf, const void __user *ubuf) in s390_tdb_set() 652 const void *kbuf, const void __user *ubuf) in s390_vxrs_low_get() 676 const void *kbuf, const void __user *ubuf) in s390_vxrs_low_set() 689 rc = user_regset_copyin(&pos, &count, &kbuf, in s390_vxrs_high_get() 524 s390_regs_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) s390_regs_set() argument 574 s390_fpregs_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) s390_fpregs_set() argument 634 s390_tdb_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) s390_tdb_set() argument 658 s390_vxrs_low_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) s390_vxrs_low_set() argument 694 s390_vxrs_high_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) s390_vxrs_high_set() argument 718 s390_system_call_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) s390_system_call_set() argument 743 s390_gs_cb_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) s390_gs_cb_set() argument 795 s390_gs_bc_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) s390_gs_bc_set() argument 854 s390_runtime_instr_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) s390_runtime_instr_set() argument [all...] |
| /linux/arch/x86/um/ |
| H A D | ptrace.c | 150 const void *kbuf, const void __user *ubuf) in fpregs_legacy_set() argument 161 from = kbuf; in fpregs_legacy_set() 182 const void *kbuf, const void __user *ubuf) in genregs_set() argument 186 if (kbuf) { in genregs_set() 187 const unsigned long *k = kbuf; in genregs_set() 229 const void *kbuf, const void __user *ubuf) in generic_fpregs_set() argument 233 return user_regset_copyin(&pos, &count, &kbuf, &ubuf, in generic_fpregs_set()
|
| /linux/arch/x86/kernel/fpu/ |
| H A D | regset.c | 92 const void *kbuf, const void __user *ubuf) in xfpregs_set() argument 105 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &newstate, 0, -1); in xfpregs_set() 144 const void *kbuf, const void __user *ubuf) in xstateregs_set() argument 159 if (!kbuf) { in xstateregs_set() 171 ret = copy_uabi_from_kernel_to_xstate(fpu->fpstate, kbuf ?: tmpbuf, &target->thread.pkru); in xstateregs_set() 215 const void *kbuf, const void __user *ubuf) in ssp_set() argument 230 r = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &user_ssp, 0, -1); in ssp_set() 431 const void *kbuf, const void __user *ubuf) in fpregs_set() argument 441 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &env, 0, -1); in fpregs_set()
|
| /linux/drivers/crypto/xilinx/ |
| H A D | zynqmp-aes-gcm.c | 150 char *kbuf; in zynqmp_aes_aead_cipher() local 153 kbuf = kmalloc(dma_size, GFP_KERNEL); in zynqmp_aes_aead_cipher() 154 if (!kbuf) in zynqmp_aes_aead_cipher() 159 kfree(kbuf); in zynqmp_aes_aead_cipher() 164 scatterwalk_map_and_copy(kbuf, req->src, 0, req->cryptlen, 0); in zynqmp_aes_aead_cipher() 166 dma_addr_data = dma_map_single(dev, kbuf, dma_size, DMA_BIDIRECTIONAL); in zynqmp_aes_aead_cipher() 228 kbuf, data_size); in zynqmp_aes_aead_cipher() 233 kfree_sensitive(kbuf); in zynqmp_aes_aead_cipher() 253 char *kbuf; in versal_aes_aead_cipher() 257 kbuf in versal_aes_aead_cipher() 255 char *kbuf; versal_aes_aead_cipher() local [all...] |