/linux-master/arch/sparc/kernel/ |
H A D | ptrace_64.c | 161 void *kbuf, int len) 164 if (copy_from_user(kbuf, (void __user *) uaddr, len)) 167 int len2 = access_process_vm(target, uaddr, kbuf, len, 176 void *kbuf, int len) 179 if (copy_to_user((void __user *) uaddr, kbuf, len)) 182 int len2 = access_process_vm(target, uaddr, kbuf, len, 270 const void *kbuf, const void __user *ubuf) 278 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, 287 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, 301 ret = user_regset_copyin(&pos, &count, &kbuf, 160 get_from_target(struct task_struct *target, unsigned long uaddr, void *kbuf, int len) argument 175 set_to_target(struct task_struct *target, unsigned long uaddr, void *kbuf, int len) argument 267 genregs64_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 371 fpregs64_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 457 setregs64_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 558 genregs32_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 698 fpregs32_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 795 setregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 846 setfpregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument [all...] |
/linux-master/arch/powerpc/kernel/ptrace/ |
H A D | ptrace-view.c | 239 unsigned int pos, unsigned int count, const void *kbuf, 248 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, 253 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, ®, 264 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, 270 user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf, 275 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, ®, 283 user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf, 300 unsigned int pos, unsigned int count, const void *kbuf, 306 return user_regset_copyin(&pos, &count, &kbuf, &ubuf, 316 unsigned int pos, unsigned int count, const void *kbuf, 238 gpr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 299 ppr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 315 dscr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 329 tar_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 364 ebb_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 418 pmu_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 504 hashkeyr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 538 pkey_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 719 gpr32_set_common_kernel(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, unsigned long *regs) argument 763 const void *kbuf = NULL; local 811 gpr32_set_common(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf, unsigned long *regs) argument 834 gpr32_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument [all...] |
H A D | ptrace-vsx.c | 51 const void *kbuf, const void __user *ubuf) 63 i = user_regset_copyin(&pos, &count, &kbuf, &ubuf, buf, 0, -1); 128 const void *kbuf, const void __user *ubuf) 141 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, 49 fpr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 126 vsr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
|
/linux-master/drivers/soc/fsl/ |
H A D | dpaa2-console.c | 199 void *kbuf; local 211 kbuf = kmalloc(bytes, GFP_KERNEL); 212 if (!kbuf) 216 memcpy_fromio(kbuf, cd->cur_ptr, bytes_end); 217 if (copy_to_user(buf, kbuf, bytes_end)) { 227 memcpy_fromio(kbuf, cd->cur_ptr, bytes); 228 if (copy_to_user(buf, kbuf, bytes)) { 235 kfree(kbuf); 239 kfree(kbuf);
|
/linux-master/arch/nios2/kernel/ |
H A D | ptrace.c | 49 const void *kbuf, const void __user *ubuf) 57 user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf, \ 62 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, \ 67 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, \ 83 user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf, 46 genregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
|
/linux-master/drivers/char/xilinx_hwicap/ |
H A D | xilinx_hwicap.c | 357 u32 *kbuf; local 385 kbuf = (u32 *) get_zeroed_page(GFP_KERNEL); 386 if (!kbuf) { 411 kbuf, words); 415 free_page((unsigned long)kbuf); 420 if (copy_to_user(buf, kbuf, bytes_to_read)) { 421 free_page((unsigned long)kbuf); 426 kbuf, 429 free_page((unsigned long)kbuf); 444 u32 *kbuf; local [all...] |
/linux-master/arch/riscv/kernel/ |
H A D | ptrace.c | 44 const void *kbuf, const void __user *ubuf) 49 return user_regset_copyin(&pos, &count, &kbuf, &ubuf, regs, 0, -1); 70 const void *kbuf, const void __user *ubuf) 75 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, fstate, 0, 78 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, fstate, 0, 124 const void *kbuf, const void __user *ubuf) 134 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &ptrace_vstate, 0, 149 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, vstate->datap, 327 const void *kbuf, const void __user *ubuf) 332 ret = user_regset_copyin(&pos, &count, &kbuf, 41 riscv_gpr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 67 riscv_fpr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 121 riscv_vr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 324 compat_riscv_gpr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument [all...] |
/linux-master/arch/loongarch/kernel/ |
H A D | ptrace.c | 93 const void *kbuf, const void __user *ubuf) 101 err = user_regset_copyin(&pos, &count, &kbuf, &ubuf, 104 err |= user_regset_copyin(&pos, &count, &kbuf, &ubuf, 107 err |= user_regset_copyin(&pos, &count, &kbuf, &ubuf, 110 err |= user_regset_copyin(&pos, &count, &kbuf, &ubuf, 166 const void **kbuf, const void __user **ubuf) 168 return user_regset_copyin(pos, count, kbuf, ubuf, 175 const void **kbuf, const void __user **ubuf) 182 err = user_regset_copyin(pos, count, kbuf, ubuf, 200 const void *kbuf, cons 90 gpr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 164 gfpr_set(struct task_struct *target, unsigned int *pos, unsigned int *count, const void **kbuf, const void __user **ubuf) argument 173 gfpr_set_simd(struct task_struct *target, unsigned int *pos, unsigned int *count, const void **kbuf, const void __user **ubuf) argument 197 fpr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 248 cfg_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 308 simd_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 359 lbt_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 702 hw_break_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument [all...] |
/linux-master/include/linux/ |
H A D | kexec.h | 86 * Use ->buf when expecting to deal with user memory and use ->kbuf 91 void *kbuf; member in union:kexec_segment::__anon1141 187 int kexec_load_purgatory(struct kimage *image, struct kexec_buf *kbuf); 214 extern int kexec_add_buffer(struct kexec_buf *kbuf); 215 int kexec_locate_mem_hole(struct kexec_buf *kbuf); 220 * @kbuf: Parameters for the memory search. 222 * On success, kbuf->mem will have the start address of the memory region found. 226 static inline int arch_kexec_locate_mem_hole(struct kexec_buf *kbuf) argument 228 return kexec_locate_mem_hole(kbuf); 288 struct kexec_buf *kbuf, [all...] |
/linux-master/arch/arm64/kernel/ |
H A D | ptrace.c | 508 const void *kbuf, const void __user *ubuf) 517 user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf, 0, offset); 524 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &addr, 535 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &ctrl, 544 user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf, 564 const void *kbuf, const void __user *ubuf) 569 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &newregs, 0, -1); 618 const void *kbuf, const void __user *ubuf, 632 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &newstate, 644 const void *kbuf, cons 505 hw_break_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 562 gpr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 615 __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) argument 642 fpr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 678 tls_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 712 fpmr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 740 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) argument 873 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) argument 1010 sve_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 1036 ssve_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 1097 za_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 1202 zt_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 1272 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) argument 1341 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) argument 1390 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) argument 1427 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) argument 1670 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) argument 1757 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) argument 1795 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) argument [all...] |
/linux-master/arch/hexagon/kernel/ |
H A D | ptrace.c | 75 const void *kbuf, const void __user *ubuf) 84 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, 89 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, \ 121 user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf, 72 genregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
|
/linux-master/drivers/crypto/xilinx/ |
H A D | zynqmp-aes-gcm.c | 89 char *kbuf; local 98 kbuf = dma_alloc_coherent(dev, dma_size, &dma_addr_data, GFP_KERNEL); 99 if (!kbuf) 105 dma_free_coherent(dev, dma_size, kbuf, dma_addr_data); 110 scatterwalk_map_and_copy(kbuf, req->src, 0, req->cryptlen, 0); 111 memcpy(kbuf + data_size, req->iv, GCM_AES_IV_SIZE); 125 memcpy(kbuf + data_size + GCM_AES_IV_SIZE, 161 kbuf, data_size); 165 if (kbuf) { 166 memzero_explicit(kbuf, dma_siz [all...] |
/linux-master/io_uring/ |
H A D | Makefile | 10 cancel.o kbuf.o rsrc.o rw.o opdef.o \
|
/linux-master/kernel/kcsan/ |
H A D | debugfs.c | 226 char kbuf[KSYM_NAME_LEN]; local 228 int read_len = count < (sizeof(kbuf) - 1) ? count : (sizeof(kbuf) - 1); 230 if (copy_from_user(kbuf, buf, read_len)) 232 kbuf[read_len] = '\0'; 233 arg = strstrip(kbuf);
|
/linux-master/mm/ |
H A D | shrinker_debug.c | 115 char kbuf[72]; local 117 read_len = size < (sizeof(kbuf) - 1) ? size : (sizeof(kbuf) - 1); 118 if (copy_from_user(kbuf, buf, read_len)) 120 kbuf[read_len] = '\0'; 122 if (sscanf(kbuf, "%lu %d %lu", &ino, &nid, &nr_to_scan) != 3)
|
/linux-master/arch/parisc/kernel/ |
H A D | ptrace.c | 414 const void *kbuf, const void __user *ubuf) 417 const __u64 *k = kbuf; 424 if (kbuf) 434 kbuf = k; 438 user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf, 534 const void *kbuf, const void __user *ubuf) 537 const unsigned long *k = kbuf; 544 if (kbuf) 554 kbuf = k; 558 user_regset_copyin_ignore(&pos, &count, &kbuf, 411 fpr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 531 gpr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 595 gpr32_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument [all...] |
/linux-master/arch/sh/kernel/ |
H A D | ptrace_32.c | 146 const void *kbuf, const void __user *ubuf) 151 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, 155 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, 160 user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf, 184 const void *kbuf, const void __user *ubuf) 195 return user_regset_copyin(&pos, &count, &kbuf, &ubuf, 198 return user_regset_copyin(&pos, &count, &kbuf, &ubuf, 223 const void *kbuf, const void __user *ubuf) 229 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, regs, 232 user_regset_copyin_ignore(&pos, &count, &kbuf, 143 genregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 181 fpregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 220 dspregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument [all...] |
/linux-master/arch/x86/kernel/fpu/ |
H A D | regset.c | 92 const void *kbuf, const void __user *ubuf) 105 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &newstate, 0, -1); 144 const void *kbuf, const void __user *ubuf) 159 if (!kbuf) { 171 ret = copy_uabi_from_kernel_to_xstate(fpu->fpstate, kbuf ?: tmpbuf, &target->thread.pkru); 214 const void *kbuf, const void __user *ubuf) 229 r = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &user_ssp, 0, -1); 433 const void *kbuf, const void __user *ubuf) 444 return fpregs_soft_set(target, regset, pos, count, kbuf, ubuf); 446 ret = user_regset_copyin(&pos, &count, &kbuf, 90 xfpregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 142 xstateregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 212 ssp_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 431 fpregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument [all...] |
/linux-master/fs/dlm/ |
H A D | user.c | 531 struct dlm_write_request *kbuf; local 548 kbuf = memdup_user_nul(buf, count); 549 if (IS_ERR(kbuf)) 550 return PTR_ERR(kbuf); 552 if (check_version(kbuf)) { 558 if (!kbuf->is64bit) { 565 k32buf = (struct dlm_write_request32 *)kbuf; 568 kbuf = kzalloc(sizeof(struct dlm_write_request) + namelen + 1, 570 if (!kbuf) { 578 compat_input(kbuf, k32bu [all...] |
/linux-master/kernel/ |
H A D | kexec_elf.c | 390 struct kexec_buf *kbuf, 411 kbuf->buffer = (void *) elf_info->buffer + phdr->p_offset; 412 kbuf->bufsz = size; 413 kbuf->memsz = phdr->p_memsz; 414 kbuf->buf_align = phdr->p_align; 415 kbuf->buf_min = phdr->p_paddr; 416 kbuf->mem = KEXEC_BUF_MEM_UNKNOWN; 417 ret = kexec_add_buffer(kbuf); 420 load_addr = kbuf->mem; 388 kexec_elf_load(struct kimage *image, struct elfhdr *ehdr, struct kexec_elf_info *elf_info, struct kexec_buf *kbuf, unsigned long *lowest_load_addr) argument
|
/linux-master/arch/powerpc/include/asm/ |
H A D | kexec.h | 98 int arch_kexec_locate_mem_hole(struct kexec_buf *kbuf); 102 struct kexec_buf *kbuf);
|
/linux-master/arch/mips/kernel/ |
H A D | ptrace.c | 231 const void *kbuf, const void __user *ubuf) 244 err = user_regset_copyin(&pos, &count, &kbuf, &ubuf, uregs, 0, 296 const void *kbuf, const void __user *ubuf) 309 err = user_regset_copyin(&pos, &count, &kbuf, &ubuf, uregs, 0, 461 const void **kbuf, const void __user **ubuf) 463 return user_regset_copyin(pos, count, kbuf, ubuf, 476 const void **kbuf, const void __user **ubuf) 484 err = user_regset_copyin(pos, count, kbuf, ubuf, 510 const void *kbuf, const void __user *ubuf) 525 err = fpr_set_fpa(target, &pos, &count, &kbuf, 228 gpr32_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 293 gpr64_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 459 fpr_set_fpa(struct task_struct *target, unsigned int *pos, unsigned int *count, const void **kbuf, const void __user **ubuf) argument 474 fpr_set_msa(struct task_struct *target, unsigned int *pos, unsigned int *count, const void **kbuf, const void __user **ubuf) argument 507 fpr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 567 fp_mode_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 652 msa_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 721 dsp32_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 787 dsp64_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument [all...] |
/linux-master/drivers/mtd/ |
H A D | mtdchar.c | 137 char *kbuf; local 151 kbuf = mtd_kmalloc_up_to(mtd, &size); 152 if (!kbuf) 161 &retlen, kbuf); 165 &retlen, kbuf); 172 ops.datbuf = kbuf; 181 ret = mtd_read(mtd, *ppos, len, &retlen, kbuf); 194 if (copy_to_user(buf, kbuf, retlen)) { 195 kfree(kbuf); 207 kfree(kbuf); 223 char *kbuf; local [all...] |
/linux-master/drivers/md/bcache/ |
H A D | debug.c | 177 char kbuf[80]; local 199 bch_extent_to_text(kbuf, sizeof(kbuf), &w->key); 200 i->bytes = snprintf(i->buf, PAGE_SIZE, "%s\n", kbuf);
|
/linux-master/drivers/rpmsg/ |
H A D | rpmsg_char.c | 255 void *kbuf; local 258 kbuf = kzalloc(len, GFP_KERNEL); 259 if (!kbuf) 262 if (!copy_from_iter_full(kbuf, len, from)) { 278 ret = rpmsg_trysendto(eptdev->ept, kbuf, len, eptdev->chinfo.dst); 282 ret = rpmsg_sendto(eptdev->ept, kbuf, len, eptdev->chinfo.dst); 289 kfree(kbuf);
|