Home
last modified time | relevance | path

Searched defs:buf (Results 1 – 25 of 97) sorted by relevance

1234

/kernel/
Drelay.c35 struct rchan_buf *buf = vma->vm_private_data; in relay_file_mmap_close() local
45 struct rchan_buf *buf = vmf->vma->vm_private_data; in relay_buf_fault() local
96 static int relay_mmap_buf(struct rchan_buf *buf, struct vm_area_struct *vma) in relay_mmap_buf()
123 static void *relay_alloc_buf(struct rchan_buf *buf, size_t *size) in relay_alloc_buf()
164 struct rchan_buf *buf; in relay_create_buf() local
207 static void relay_destroy_buf(struct rchan_buf *buf) in relay_destroy_buf()
234 struct rchan_buf *buf = container_of(kref, struct rchan_buf, kref); in relay_remove_buf() local
244 static int relay_buf_empty(struct rchan_buf *buf) in relay_buf_empty()
255 int relay_buf_full(struct rchan_buf *buf) in relay_buf_full()
274 static int subbuf_start_default_callback (struct rchan_buf *buf, in subbuf_start_default_callback()
[all …]
Dksysfs.c32 struct kobj_attribute *attr, char *buf) in uevent_seqnum_show()
41 struct kobj_attribute *attr, char *buf) in uevent_helper_show()
47 const char *buf, size_t count) in uevent_helper_store()
62 struct kobj_attribute *attr, char *buf) in profiling_show()
68 const char *buf, size_t count) in profiling_store()
93 struct kobj_attribute *attr, char *buf) in kexec_loaded_show()
100 struct kobj_attribute *attr, char *buf) in kexec_crash_loaded_show()
107 struct kobj_attribute *attr, char *buf) in kexec_crash_size_show()
113 const char *buf, size_t count) in kexec_crash_size_store()
131 struct kobj_attribute *attr, char *buf) in vmcoreinfo_show()
[all …]
Dkexec_elf.c119 static int elf_read_ehdr(const char *buf, size_t len, struct elfhdr *ehdr) in elf_read_ehdr()
202 static int elf_read_phdr(const char *buf, size_t len, in elf_read_phdr()
251 static int elf_read_phdrs(const char *buf, size_t len, in elf_read_phdrs()
296 static int elf_read_from_buffer(const char *buf, size_t len, in elf_read_from_buffer()
327 int kexec_build_elf_info(const char *buf, size_t len, struct elfhdr *ehdr, in kexec_build_elf_info()
365 int kexec_elf_probe(const char *buf, unsigned long len) in kexec_elf_probe()
Dcrash_core.c295 Elf_Word *append_elf_note(Elf_Word *buf, char *name, unsigned int type, in append_elf_note()
312 void final_note(Elf_Word *buf) in final_note()
319 u32 *buf = vmcoreinfo_note; in update_vmcoreinfo_note() local
352 char buf[0x50]; in vmcoreinfo_append_str() local
Dkexec_file.c38 int kexec_image_probe_default(struct kimage *image, void *buf, in kexec_image_probe_default()
56 int __weak arch_kexec_kernel_image_probe(struct kimage *image, void *buf, in arch_kexec_kernel_image_probe()
92 static int kexec_image_verify_sig_default(struct kimage *image, void *buf, in kexec_image_verify_sig_default()
103 int __weak arch_kexec_kernel_verify_sig(struct kimage *image, void *buf, in arch_kexec_kernel_verify_sig()
1133 void *buf, unsigned int size, bool get_value) in kexec_purgatory_get_set_symbol()
1246 unsigned char *buf; in crash_prepare_elf64_headers() local
Dcpu.c1993 struct device_attribute *attr, char *buf) in show_cpuhp_state()
2003 const char *buf, size_t count) in write_cpuhp_target()
2042 struct device_attribute *attr, char *buf) in show_cpuhp_target()
2053 const char *buf, size_t count) in write_cpuhp_fail()
2089 struct device_attribute *attr, char *buf) in show_cpuhp_fail()
2112 struct device_attribute *attr, char *buf) in show_cpuhp_states()
2147 const char *buf, size_t count) in __store_smt_control()
2189 const char *buf, size_t count) in __store_smt_control()
2204 show_smt_control(struct device *dev, struct device_attribute *attr, char *buf) in show_smt_control()
2213 const char *buf, size_t count) in store_smt_control()
[all …]
Dparams.c539 struct module_kobject *mk, char *buf) in param_attr_show()
556 const char *buf, size_t len) in param_attr_store()
837 struct module_kobject *mk, char *buf) in __modver_version_show()
871 char *buf) in module_attr_show()
890 const char *buf, size_t len) in module_attr_store()
Dpadata.c848 struct attribute *attr, char *buf) in show_cpumask()
867 const char *buf, size_t count) in store_cpumask()
915 struct attribute *attr, char *buf) in padata_sysfs_show()
930 const char *buf, size_t count) in padata_sysfs_store()
Duser_namespace.c844 static ssize_t map_write(struct file *file, const char __user *buf, in map_write()
1032 ssize_t proc_uid_map_write(struct file *file, const char __user *buf, in proc_uid_map_write()
1049 ssize_t proc_gid_map_write(struct file *file, const char __user *buf, in proc_gid_map_write()
1066 ssize_t proc_projid_map_write(struct file *file, const char __user *buf, in proc_projid_map_write()
1133 ssize_t proc_setgroups_write(struct file *file, const char __user *buf, in proc_setgroups_write()
Dconfigs.c41 ikconfig_read_current(struct file *file, char __user *buf, in ikconfig_read_current()
/kernel/power/
Dmain.c101 char *buf) in pm_async_show()
107 const char *buf, size_t n) in pm_async_store()
125 char *buf) in mem_sleep_show()
147 static suspend_state_t decode_suspend_state(const char *buf, size_t n) in decode_suspend_state()
167 const char *buf, size_t n) in mem_sleep_store()
208 char *buf) in pm_test_show()
229 const char *buf, size_t n) in pm_test_store()
298 struct kobj_attribute *attr, char *buf) in last_failed_dev_show()
312 struct kobj_attribute *attr, char *buf) in last_failed_errno_show()
326 struct kobj_attribute *attr, char *buf) in last_failed_step_show()
[all …]
Dhibernate.c958 char *buf) in disk_show()
993 const char *buf, size_t n) in disk_store()
1044 char *buf) in resume_show()
1051 const char *buf, size_t n) in resume_store()
1080 struct kobj_attribute *attr, char *buf) in resume_offset_show()
1086 struct kobj_attribute *attr, const char *buf, in resume_offset_store()
1103 char *buf) in image_size_show()
1109 const char *buf, size_t n) in image_size_store()
1124 struct kobj_attribute *attr, char *buf) in reserved_size_show()
1131 const char *buf, size_t n) in reserved_size_store()
Dwakelock.c38 ssize_t pm_show_wakelocks(char *buf, bool show_active) in pm_show_wakelocks()
206 int pm_wake_lock(const char *buf) in pm_wake_lock()
254 int pm_wake_unlock(const char *buf) in pm_wake_unlock()
Dwakeup_reason.c45 char *buf) in last_resume_reason_show()
69 struct kobj_attribute *attr, char *buf) in last_suspend_time_show()
Duser.c134 static ssize_t snapshot_read(struct file *filp, char __user *buf, in snapshot_read()
167 static ssize_t snapshot_write(struct file *filp, const char __user *buf, in snapshot_write()
/kernel/printk/
Dprintk.c714 static ssize_t msg_print_ext_header(char *buf, size_t size, in msg_print_ext_header()
735 static ssize_t msg_print_ext_body(char *buf, size_t size, in msg_print_ext_body()
789 char buf[CONSOLE_EXT_LOG_MAX]; member
807 char *buf, *line; in devkmsg_write() local
868 static ssize_t devkmsg_read(struct file *file, char __user *buf, in devkmsg_read()
1262 static size_t print_syslog(unsigned int level, char *buf) in print_syslog()
1267 static size_t print_time(u64 ts, char *buf) in print_time()
1276 static size_t print_caller(u32 id, char *buf) in print_caller()
1285 #define print_caller(id, buf) 0 argument
1289 bool time, char *buf) in print_prefix()
[all …]
/kernel/irq/
Dirqdesc.c147 struct kobj_attribute *attr, char *buf) in per_cpu_count_show()
167 struct kobj_attribute *attr, char *buf) in chip_name_show()
184 struct kobj_attribute *attr, char *buf) in hwirq_show()
199 struct kobj_attribute *attr, char *buf) in type_show()
215 struct kobj_attribute *attr, char *buf) in wakeup_show()
231 struct kobj_attribute *attr, char *buf) in name_show()
246 struct kobj_attribute *attr, char *buf) in actions_show()
/kernel/bpf/
Dhelpers.c191 BPF_CALL_2(bpf_get_current_comm, char *, buf, u32, size) in BPF_CALL_2() argument
364 static int __bpf_strtoull(const char *buf, size_t buf_len, u64 flags, in __bpf_strtoull()
415 static int __bpf_strtoll(const char *buf, size_t buf_len, u64 flags, in __bpf_strtoll()
437 BPF_CALL_4(bpf_strtol, const char *, buf, size_t, buf_len, u64, flags, in BPF_CALL_4() argument
462 BPF_CALL_4(bpf_strtoul, const char *, buf, size_t, buf_len, u64, flags, in BPF_CALL_4() argument
Dcgroup.c883 void __user *buf, size_t *pcount, in __cgroup_bpf_run_filter_sysctl()
1173 BPF_CALL_4(bpf_sysctl_get_name, struct bpf_sysctl_kern *, ctx, char *, buf, in BPF_CALL_4() argument
1231 char *, buf, size_t, buf_len) in BPF_CALL_3() argument
1245 BPF_CALL_3(bpf_sysctl_get_new_value, struct bpf_sysctl_kern *, ctx, char *, buf, in BPF_CALL_3() argument
1266 const char *, buf, size_t, buf_len) in BPF_CALL_3() argument
/kernel/cgroup/
Dcgroup.c1469 char *buf) in cgroup_file_name()
1793 char *buf = NULL; in cgroup_show_path() local
2290 int cgroup_path_ns_locked(struct cgroup *cgrp, char *buf, size_t buflen, in cgroup_path_ns_locked()
2298 int cgroup_path_ns(struct cgroup *cgrp, char *buf, size_t buflen, in cgroup_path_ns()
2328 int task_cgroup_path(struct task_struct *task, char *buf, size_t buflen) in task_cgroup_path()
2828 struct task_struct *cgroup_procs_write_start(char *buf, bool threadgroup) in cgroup_procs_write_start()
3275 char *buf, size_t nbytes, in cgroup_subtree_control_write()
3441 static ssize_t cgroup_type_write(struct kernfs_open_file *of, char *buf, in cgroup_type_write()
3476 char *buf, size_t nbytes, loff_t off) in cgroup_max_descendants_write()
3519 char *buf, size_t nbytes, loff_t off) in cgroup_max_depth_write()
[all …]
/kernel/trace/
Dtrace_probe_tmpl.h7 fetch_store_raw(unsigned long val, struct fetch_insn *code, void *buf) in fetch_store_raw()
29 fetch_apply_bitfield(struct fetch_insn *code, void *buf) in fetch_apply_bitfield()
Dtrace.c591 static u64 buffer_ftrace_now(struct trace_buffer *buf, int cpu) in buffer_ftrace_now()
1483 static ssize_t trace_seq_to_buffer(struct trace_seq *s, void *buf, size_t cnt) in trace_seq_to_buffer()
1881 static void tracing_reset_cpu(struct trace_buffer *buf, int cpu) in tracing_reset_cpu()
1897 void tracing_reset_online_cpus(struct trace_buffer *buf) in tracing_reset_online_cpus()
3518 get_total_entries_cpu(struct trace_buffer *buf, unsigned long *total, in get_total_entries_cpu()
3540 get_total_entries(struct trace_buffer *buf, in get_total_entries()
3592 static void print_event_info(struct trace_buffer *buf, struct seq_file *m) in print_event_info()
3603 static void print_func_help_header(struct trace_buffer *buf, struct seq_file *m, in print_func_help_header()
3614 static void print_func_help_header_irq(struct trace_buffer *buf, struct seq_file *m, in print_func_help_header_irq()
3636 struct trace_buffer *buf = iter->trace_buffer; in print_trace_header() local
[all …]
Dblktrace.c152 char *buf; in __trace_note_message() local
373 char buf[16]; in blk_dropped_read() local
418 static int blk_subbuf_start_callback(struct rchan_buf *buf, void *subbuf, in blk_subbuf_start_callback()
441 struct rchan_buf *buf, in blk_create_buf_file_callback()
1691 char *buf, *s, *token; in blk_trace_str2mask() local
1722 static ssize_t blk_trace_mask2str(char *buf, int mask) in blk_trace_mask2str()
1748 char *buf) in sysfs_blk_trace_attr_show()
1791 const char *buf, size_t count) in sysfs_blk_trace_attr_store()
/kernel/time/
Dclocksource.c1036 char *buf) in current_clocksource_show()
1047 ssize_t sysfs_get_uname(const char *buf, char *dst, size_t cnt) in sysfs_get_uname()
1076 const char *buf, size_t count) in current_clocksource_store()
1103 const char *buf, size_t count) in unbind_clocksource_store()
1137 char *buf) in available_clocksource_show()
/kernel/livepatch/
Dcore.c312 const char *buf, size_t count) in enabled_store()
355 struct kobj_attribute *attr, char *buf) in enabled_show()
364 struct kobj_attribute *attr, char *buf) in transition_show()
374 const char *buf, size_t count) in force_store()

1234