Home
last modified time | relevance | path

Searched refs:kbuf (Results 1 – 25 of 88) sorted by relevance

1234

/linux/arch/arm64/kernel/
H A Dmachine_kexec_file.c97 struct kexec_buf kbuf = {}; in load_other_segments() local
103 kbuf.image = image; in load_other_segments()
105 kbuf.buf_min = kernel_load_addr + kernel_size; in load_other_segments()
118 kbuf.buffer = headers; in load_other_segments()
119 kbuf.bufsz = headers_sz; in load_other_segments()
120 kbuf.mem = KEXEC_BUF_MEM_UNKNOWN; in load_other_segments()
121 kbuf.memsz = headers_sz; in load_other_segments()
122 kbuf.buf_align = SZ_64K; /* largest supported page size */ in load_other_segments()
123 kbuf.buf_max = ULONG_MAX; in load_other_segments()
124 kbuf.top_down = true; in load_other_segments()
[all …]
H A Dkexec_image.c44 struct kexec_buf kbuf = {}; in image_load() local
75 kbuf.image = image; in image_load()
76 kbuf.buf_min = 0; in image_load()
77 kbuf.buf_max = ULONG_MAX; in image_load()
78 kbuf.top_down = false; in image_load()
80 kbuf.buffer = kernel; in image_load()
81 kbuf.bufsz = kernel_len; in image_load()
82 kbuf.mem = KEXEC_BUF_MEM_UNKNOWN; in image_load()
83 kbuf.memsz = le64_to_cpu(h->image_size); in image_load()
85 kbuf in image_load()
[all...]
H A Dptrace.c509 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()
565 const void *kbuf, const void __user *ubuf) in gpr_set() argument
570 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &newregs, 0, -1); in gpr_set()
619 const void *kbuf, const void __user *ubuf, in __fpr_set() argument
633 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &newstate, in __fpr_set()
645 const void *kbuf, cons in fpr_set() argument
681 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
715 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
746 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
886 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
1041 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
1067 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
1128 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
1237 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
1307 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
1376 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
1425 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
1461 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
1493 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
1550 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
1830 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
1917 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
1954 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/parisc/kernel/
H A Dkexec_file.c25 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/kernel/
H A Dkexec_file.c473 struct kexec_buf *kbuf) in locate_mem_hole_top_down() argument
475 struct kimage *image = kbuf->image; in locate_mem_hole_top_down()
478 temp_end = min(end, kbuf->buf_max); in locate_mem_hole_top_down()
479 temp_start = temp_end - kbuf->memsz + 1; in locate_mem_hole_top_down()
480 kexec_random_range_start(temp_start, temp_end, kbuf, &temp_start); in locate_mem_hole_top_down()
484 temp_start = ALIGN_DOWN(temp_start, kbuf->buf_align); in locate_mem_hole_top_down()
486 if (temp_start < start || temp_start < kbuf->buf_min) in locate_mem_hole_top_down()
489 temp_end = temp_start + kbuf->memsz - 1; in locate_mem_hole_top_down()
511 kbuf->mem = temp_start; in locate_mem_hole_top_down()
518 struct kexec_buf *kbuf) in locate_mem_hole_bottom_up() argument
561 struct kexec_buf *kbuf = (struct kexec_buf *)arg; locate_mem_hole_callback() local
587 kexec_walk_memblock(struct kexec_buf * kbuf,int (* func)(struct resource *,void *)) kexec_walk_memblock() argument
638 kexec_walk_memblock(struct kexec_buf * kbuf,int (* func)(struct resource *,void *)) kexec_walk_memblock() argument
654 kexec_walk_resources(struct kexec_buf * kbuf,int (* func)(struct resource *,void *)) kexec_walk_resources() argument
670 kexec_alloc_contig(struct kexec_buf * kbuf) kexec_alloc_contig() argument
715 kexec_locate_mem_hole(struct kexec_buf * kbuf) kexec_locate_mem_hole() argument
756 kexec_add_buffer(struct kexec_buf * kbuf) kexec_add_buffer() argument
896 kexec_purgatory_setup_kbuf(struct purgatory_info * pi,struct kexec_buf * kbuf) kexec_purgatory_setup_kbuf() argument
957 kexec_purgatory_setup_sechdrs(struct purgatory_info * pi,struct kexec_buf * kbuf) kexec_purgatory_setup_sechdrs() argument
1099 kexec_load_purgatory(struct kimage * image,struct kexec_buf * kbuf) kexec_load_purgatory() argument
[all...]
H A Dcrash_dump_dm_crypt.c405 struct kexec_buf kbuf = { in crash_load_dm_crypt_keys()
427 kbuf.buffer = keys_header; in crash_load_dm_crypt_keys()
428 kbuf.bufsz = get_keys_header_size(key_count); in crash_load_dm_crypt_keys()
430 kbuf.memsz = kbuf.bufsz; in crash_load_dm_crypt_keys()
431 kbuf.buf_align = ELF_CORE_HEADER_ALIGN; in crash_load_dm_crypt_keys()
432 kbuf.mem = KEXEC_BUF_MEM_UNKNOWN; in crash_load_dm_crypt_keys()
433 r = kexec_add_buffer(&kbuf); in crash_load_dm_crypt_keys()
435 kvfree((void *)kbuf.buffer); in crash_load_dm_crypt_keys()
438 image->dm_crypt_keys_addr = kbuf
396 struct kexec_buf kbuf = { crash_load_dm_crypt_keys() local
[all...]
/linux/arch/riscv/kernel/
H A Dkexec_image.c44 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.buf_align = le64_to_cpu(h->text_offset); in image_load()
[all …]
H A Dkexec_elf.c31 struct kexec_buf kbuf = {}; in riscv_kexec_elf_load() local
34 kbuf.image = image; in riscv_kexec_elf_load()
45 kbuf.buffer = (void *) elf_info->buffer + phdr->p_offset; in riscv_kexec_elf_load()
46 kbuf.bufsz = size; in riscv_kexec_elf_load()
47 kbuf.buf_align = phdr->p_align; in riscv_kexec_elf_load()
48 kbuf.mem = phdr->p_paddr - old_pbase + new_pbase; in riscv_kexec_elf_load()
49 kbuf.memsz = phdr->p_memsz; in riscv_kexec_elf_load()
50 kbuf.top_down = false; in riscv_kexec_elf_load()
51 ret = kexec_add_buffer(&kbuf); in riscv_kexec_elf_load()
69 struct kexec_buf kbuf = {}; in elf_find_pbase() local
[all …]
H A Dmachine_kexec_file.c264 struct kexec_buf kbuf = {}; in load_extra_segments() local
267 kbuf.image = image; in load_extra_segments()
268 kbuf.buf_min = kernel_start + kernel_len; in load_extra_segments()
269 kbuf.buf_max = ULONG_MAX; in load_extra_segments()
282 kbuf.buffer = headers; in load_extra_segments()
283 kbuf.bufsz = headers_sz; in load_extra_segments()
284 kbuf.mem = KEXEC_BUF_MEM_UNKNOWN; in load_extra_segments()
285 kbuf.memsz = headers_sz; in load_extra_segments()
286 kbuf.buf_align = ELF_CORE_HEADER_ALIGN; in load_extra_segments()
287 kbuf.top_down = true; in load_extra_segments()
[all …]
/linux/arch/loongarch/kernel/
H A Dmachine_kexec_file.c146 struct kexec_buf kbuf = {}; in load_other_segments() local
148 kbuf.image = image; in load_other_segments()
150 kbuf.buf_min = kernel_load_addr + kernel_size; in load_other_segments()
172 kbuf.buffer = headers; in load_other_segments()
173 kbuf.bufsz = headers_sz; in load_other_segments()
174 kbuf.mem = KEXEC_BUF_MEM_UNKNOWN; in load_other_segments()
175 kbuf.memsz = headers_sz; in load_other_segments()
176 kbuf.buf_align = SZ_64K; /* largest supported page size */ in load_other_segments()
177 kbuf.buf_max = ULONG_MAX; in load_other_segments()
178 kbuf.top_down = true; in load_other_segments()
[all …]
H A Dkexec_efi.c45 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.buf_align = SZ_2M; in efi_kexec_load()
[all …]
H A Dkexec_elf.c22 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 …]
/linux/arch/powerpc/kexec/
H A Delf_64.c42 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()
94 kbuf.buffer = initrd; in elf64_load()
95 kbuf.bufsz = kbuf.memsz = initrd_len; in elf64_load()
96 kbuf.buf_align = PAGE_SIZE; in elf64_load()
97 kbuf.top_down = false; in elf64_load()
98 kbuf.mem = KEXEC_BUF_MEM_UNKNOWN; in elf64_load()
[all …]
/linux/fs/
H A Dstatfs.c266 static int put_compat_statfs(struct compat_statfs __user *ubuf, struct kstatfs *kbuf) in put_compat_statfs()
270 if ((kbuf->f_blocks | kbuf->f_bfree | kbuf->f_bavail | in put_compat_statfs()
271 kbuf->f_bsize | kbuf->f_frsize) & 0xffffffff00000000ULL) in put_compat_statfs()
275 if (kbuf->f_files != 0xffffffffffffffffULL in put_compat_statfs()
276 && (kbuf->f_files & 0xffffffff00000000ULL)) in put_compat_statfs()
278 if (kbuf->f_ffree != 0xffffffffffffffffULL in put_compat_statfs()
279 && (kbuf in put_compat_statfs()
265 put_compat_statfs(struct compat_statfs __user * ubuf,struct kstatfs * kbuf) put_compat_statfs() argument
321 put_compat_statfs64(struct compat_statfs64 __user * ubuf,struct kstatfs * kbuf) put_compat_statfs64() argument
[all...]
/linux/arch/x86/kernel/
H A Dkexec-bzimage64.c484 struct kexec_buf kbuf = { .image = image, .buf_max = ULONG_MAX, in bzImage64_load()
563 kbuf.bufsz = params_cmdline_sz + ALIGN(efi_map_sz, 16) + in bzImage64_load()
571 kbuf.bufsz += sizeof(struct setup_data) + in bzImage64_load()
576 kbuf.bufsz += sizeof(struct setup_data) + in bzImage64_load()
580 kbuf.bufsz += sizeof(struct setup_data) + in bzImage64_load()
583 params = kvzalloc(kbuf.bufsz, GFP_KERNEL); in bzImage64_load()
595 kbuf.buffer = params; in bzImage64_load()
596 kbuf.memsz = kbuf.bufsz; in bzImage64_load()
597 kbuf in bzImage64_load()
482 struct kexec_buf kbuf = { .image = image, .buf_max = ULONG_MAX, bzImage64_load() local
[all...]
H A Dcrash.c417 struct kexec_buf kbuf = { .image = image, .buf_min = 0, in crash_load_segments() local
421 ret = prepare_elf_headers(&kbuf.buffer, &kbuf.bufsz, &pnum); in crash_load_segments()
425 image->elf_headers = kbuf.buffer; in crash_load_segments()
426 image->elf_headers_sz = kbuf.bufsz; in crash_load_segments()
427 kbuf.memsz = kbuf.bufsz; in crash_load_segments()
440 kbuf.memsz = pnum * sizeof(Elf64_Phdr); in crash_load_segments()
441 kbuf.memsz += sizeof(Elf64_Ehdr); in crash_load_segments()
446 image->elf_headers_sz = kbuf.memsz; in crash_load_segments()
452 kbuf.buf_align = ELF_CORE_HEADER_ALIGN; in crash_load_segments()
453 kbuf.mem = KEXEC_BUF_MEM_UNKNOWN; in crash_load_segments()
[all …]
/linux/arch/powerpc/kernel/ptrace/
H A Dptrace-decl.h75 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 Dptrace-tm.c136 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, &reg, 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, &reg, 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 Dptrace-view.c239 unsigned int pos, unsigned int count, const void *kbuf, in gpr_set() argument
248 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in gpr_set()
253 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &reg, in gpr_set()
264 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in gpr_set()
270 user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf, in gpr_set()
275 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &reg, in gpr_set()
283 user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf, in gpr_set()
300 unsigned int pos, unsigned int count, const void *kbuf, in ppr_set() argument
306 return user_regset_copyin(&pos, &count, &kbuf, &ubuf, in ppr_set()
316 unsigned int pos, unsigned int count, const void *kbuf, in dscr_set() argument
[all …]
/linux/arch/sparc/kernel/
H A Dptrace_32.c109 const void *kbuf, const void __user *ubuf) in genregs32_set() argument
119 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in genregs32_set()
127 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in genregs32_set()
137 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in genregs32_set()
146 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in genregs32_set()
151 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in genregs32_set()
156 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in genregs32_set()
161 user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf, 36 * sizeof(u32), in genregs32_set()
185 const void *kbuf, const void __user *ubuf) in fpregs32_set() argument
194 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in fpregs32_set()
[all …]
H A Dptrace_64.c161 void *kbuf, int len) in get_from_target() argument
164 if (copy_from_user(kbuf, (void __user *) uaddr, len)) in get_from_target()
167 int len2 = access_process_vm(target, uaddr, kbuf, len, in get_from_target()
176 void *kbuf, int len) in set_to_target() argument
179 if (copy_to_user((void __user *) uaddr, kbuf, len)) in set_to_target()
182 int len2 = access_process_vm(target, uaddr, kbuf, len, in set_to_target()
270 const void *kbuf, const void __user *ubuf) in genregs64_set() argument
278 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in genregs64_set()
287 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in genregs64_set()
301 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in genregs64_set()
[all …]
/linux/arch/powerpc/platforms/pseries/
H A Dreconfig.c362 char *kbuf; in ofdt_write() local
369 kbuf = memdup_user_nul(buf, count); in ofdt_write()
370 if (IS_ERR(kbuf)) in ofdt_write()
371 return PTR_ERR(kbuf); in ofdt_write()
373 tmp = strchr(kbuf, ' '); in ofdt_write()
381 if (!strcmp(kbuf, "add_node")) in ofdt_write()
382 rv = do_add_node(tmp, count - (tmp - kbuf)); in ofdt_write()
383 else if (!strcmp(kbuf, "remove_node")) in ofdt_write()
385 else if (!strcmp(kbuf, "add_property")) in ofdt_write()
386 rv = do_add_property(tmp, count - (tmp - kbuf)); in ofdt_write()
[all …]
/linux/arch/um/drivers/
H A Dhostaudio_kern.c76 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 Dtun.c91 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 Dregset.h120 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()

1234