Home
last modified time | relevance | path

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

123456

/kernel/
Drelay.c36 struct rchan_buf *buf = vmf->vma->vm_private_data; in relay_buf_fault() local
83 static int relay_mmap_buf(struct rchan_buf *buf, struct vm_area_struct *vma) in relay_mmap_buf()
108 static void *relay_alloc_buf(struct rchan_buf *buf, size_t *size) in relay_alloc_buf()
149 struct rchan_buf *buf; in relay_create_buf() local
193 static void relay_destroy_buf(struct rchan_buf *buf) in relay_destroy_buf()
220 struct rchan_buf *buf = container_of(kref, struct rchan_buf, kref); in relay_remove_buf() local
230 static int relay_buf_empty(struct rchan_buf *buf) in relay_buf_empty()
241 int relay_buf_full(struct rchan_buf *buf) in relay_buf_full()
252 static int relay_subbuf_start(struct rchan_buf *buf, void *subbuf, in relay_subbuf_start()
270 struct rchan_buf *buf; in wakeup_readers() local
[all …]
Dksysfs.c31 struct kobj_attribute *attr, char *buf) in uevent_seqnum_show()
40 struct kobj_attribute *attr, char *buf) in uevent_helper_show()
46 const char *buf, size_t count) in uevent_helper_store()
61 struct kobj_attribute *attr, char *buf) in profiling_show()
67 const char *buf, size_t count) in profiling_store()
92 struct kobj_attribute *attr, char *buf) in kexec_loaded_show()
99 struct kobj_attribute *attr, char *buf) in kexec_crash_loaded_show()
106 struct kobj_attribute *attr, char *buf) in kexec_crash_size_show()
117 const char *buf, size_t count) in kexec_crash_size_store()
135 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()
Dreboot.c1088 static ssize_t mode_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in mode_show()
1115 const char *buf, size_t count) in mode_store()
1140 static ssize_t force_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in force_show()
1145 const char *buf, size_t count) in force_store()
1162 static ssize_t type_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in type_show()
1192 const char *buf, size_t count) in type_store()
1220 static ssize_t cpu_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in cpu_show()
1225 const char *buf, size_t count) in cpu_store()
Dcrash_core.c317 Elf_Word *append_elf_note(Elf_Word *buf, char *name, unsigned int type, in append_elf_note()
334 void final_note(Elf_Word *buf) in final_note()
341 u32 *buf = vmcoreinfo_note; in update_vmcoreinfo_note() local
374 char buf[0x50]; in vmcoreinfo_append_str() local
Dcpu.c2368 struct device_attribute *attr, char *buf) in state_show()
2377 const char *buf, size_t count) in target_store()
2418 struct device_attribute *attr, char *buf) in target_show()
2427 const char *buf, size_t count) in fail_store()
2477 struct device_attribute *attr, char *buf) in fail_show()
2500 struct device_attribute *attr, char *buf) in states_show()
2535 const char *buf, size_t count) in __store_smt_control()
2577 const char *buf, size_t count) in __store_smt_control()
2592 struct device_attribute *attr, char *buf) in control_show()
2600 const char *buf, size_t count) in control_store()
[all …]
Dparams.c558 struct module_kobject *mk, char *buf) in param_attr_show()
575 const char *buf, size_t len) in param_attr_store()
856 struct module_kobject *mk, char *buf) in __modver_version_show()
888 char *buf) in module_attr_show()
907 const char *buf, size_t len) in module_attr_store()
Dkexec_file.c51 int kexec_image_probe_default(struct kimage *image, void *buf, in kexec_image_probe_default()
146 static int kexec_image_verify_sig(struct kimage *image, void *buf, in kexec_image_verify_sig()
1115 void *buf, unsigned int size, bool get_value) in kexec_purgatory_get_set_symbol()
1239 unsigned char *buf; in crash_prepare_elf64_headers() local
/kernel/power/
Dmain.c104 char *buf) in pm_async_show()
110 const char *buf, size_t n) in pm_async_store()
128 char *buf) in mem_sleep_show()
153 static suspend_state_t decode_suspend_state(const char *buf, size_t n) in decode_suspend_state()
173 const char *buf, size_t n) in mem_sleep_store()
209 struct kobj_attribute *attr, char *buf) in sync_on_suspend_show()
216 const char *buf, size_t n) in sync_on_suspend_store()
246 char *buf) in pm_test_show()
267 const char *buf, size_t n) in pm_test_store()
337 struct kobj_attribute *attr, char *buf) in last_failed_dev_show()
[all …]
Dhibernate.c1081 char *buf) in disk_show()
1116 const char *buf, size_t n) in disk_store()
1168 char *buf) in resume_show()
1175 const char *buf, size_t n) in resume_store()
1207 struct kobj_attribute *attr, char *buf) in resume_offset_show()
1213 struct kobj_attribute *attr, const char *buf, in resume_offset_store()
1230 char *buf) in image_size_show()
1236 const char *buf, size_t n) in image_size_store()
1251 struct kobj_attribute *attr, char *buf) in reserved_size_show()
1258 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()
203 int pm_wake_lock(const char *buf) in pm_wake_lock()
251 int pm_wake_unlock(const char *buf) in pm_wake_unlock()
/kernel/module/
Ddecompress.c63 static size_t module_gzip_header_len(const u8 *buf, size_t size) in module_gzip_header_len()
86 const void *buf, size_t size) in module_gzip_decompress()
150 const void *buf, size_t size) in module_xz_decompress()
206 int module_decompress(struct load_info *info, const void *buf, size_t size) in module_decompress()
257 struct kobj_attribute *attr, char *buf) in compression_show()
Dtracking.c51 char buf[MODULE_FLAGS_BUF_SIZE]; in print_unloaded_tainted_modules() local
89 char buf[MODULE_FLAGS_BUF_SIZE]; in unloaded_tainted_modules_seq_show() local
/kernel/trace/
Dtrace_boot.c29 char buf[MAX_BUF_LEN]; in trace_boot_set_instance_options() local
86 char buf[MAX_BUF_LEN]; in trace_boot_enable_events() local
106 char buf[MAX_BUF_LEN]; in trace_boot_add_kprobe_event() local
143 char buf[MAX_BUF_LEN]; in trace_boot_add_synth_event() local
346 trace_boot_compose_hist_cmd(struct xbc_node *hnode, char *buf, size_t size) in trace_boot_compose_hist_cmd()
420 struct xbc_node *hnode, char *buf, size_t size) in trace_boot_init_histograms()
455 struct xbc_node *hnode, char *buf, size_t size) in trace_boot_init_histograms()
467 char buf[MAX_BUF_LEN]; in trace_boot_init_one_event() local
Dsynth_event_gen_test.c49 char *buf; in test_gen_synth_cmd() local
140 char *buf; in test_empty_synth_event() local
Dkprobe_event_gen_test.c88 char *buf; in test_gen_kprobe_cmd() local
159 char *buf; in test_gen_kretprobe_cmd() local
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.c769 static u64 buffer_ftrace_now(struct array_buffer *buf, int cpu) in buffer_ftrace_now()
1688 static ssize_t trace_seq_to_buffer(struct trace_seq *s, void *buf, size_t cnt) in trace_seq_to_buffer()
2172 static void tracing_reset_cpu(struct array_buffer *buf, int cpu) in tracing_reset_cpu()
2188 void tracing_reset_online_cpus(struct array_buffer *buf) in tracing_reset_online_cpus()
3761 char buf[16]; in test_can_verify_check() local
4180 get_total_entries_cpu(struct array_buffer *buf, unsigned long *total, in get_total_entries_cpu()
4202 get_total_entries(struct array_buffer *buf, in get_total_entries()
4255 static void print_event_info(struct array_buffer *buf, struct seq_file *m) in print_event_info()
4266 static void print_func_help_header(struct array_buffer *buf, struct seq_file *m, in print_func_help_header()
4277 static void print_func_help_header_irq(struct array_buffer *buf, struct seq_file *m, in print_func_help_header_irq()
[all …]
/kernel/printk/
Dprintk.c555 static ssize_t info_print_ext_header(char *buf, size_t size, in info_print_ext_header()
576 static ssize_t msg_add_ext_text(char *buf, size_t size, in msg_add_ext_text()
597 static ssize_t msg_add_dict_text(char *buf, size_t size, in msg_add_dict_text()
613 static ssize_t msg_print_ext_body(char *buf, size_t size, in msg_print_ext_body()
637 char buf[CONSOLE_EXT_LOG_MAX]; member
659 char *buf, *line; in devkmsg_write() local
719 static ssize_t devkmsg_read(struct file *file, char __user *buf, in devkmsg_read()
1267 static size_t print_syslog(unsigned int level, char *buf) in print_syslog()
1272 static size_t print_time(u64 ts, char *buf) in print_time()
1281 static size_t print_caller(u32 id, char *buf) in print_caller()
[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/cgroup/
Dcgroup.c1524 char *buf) in cgroup_file_name()
1904 char *buf = NULL; in cgroup_show_path() local
2359 int cgroup_path_ns_locked(struct cgroup *cgrp, char *buf, size_t buflen, in cgroup_path_ns_locked()
2367 int cgroup_path_ns(struct cgroup *cgrp, char *buf, size_t buflen, in cgroup_path_ns()
2397 int task_cgroup_path(struct task_struct *task, char *buf, size_t buflen) in task_cgroup_path()
2938 struct task_struct *cgroup_procs_write_start(char *buf, bool threadgroup, in cgroup_procs_write_start()
3415 char *buf, size_t nbytes, in cgroup_subtree_control_write()
3581 static ssize_t cgroup_type_write(struct kernfs_open_file *of, char *buf, in cgroup_type_write()
3617 char *buf, size_t nbytes, loff_t off) in cgroup_max_descendants_write()
3660 char *buf, size_t nbytes, loff_t off) in cgroup_max_depth_write()
[all …]
/kernel/bpf/
Ddispatcher.c89 int __weak arch_prepare_bpf_dispatcher(void *image, void *buf, s64 *funcs, int num_funcs) in arch_prepare_bpf_dispatcher()
94 static int bpf_dispatcher_prepare(struct bpf_dispatcher *d, void *image, void *buf) in bpf_dispatcher_prepare()
Dcgroup.c1683 char **buf, size_t *pcount, loff_t *ppos, in __cgroup_bpf_run_filter_sysctl()
1743 struct bpf_sockopt_buf *buf) in sockopt_alloc_buf()
1774 struct bpf_sockopt_buf *buf) in sockopt_free_buf()
1782 struct bpf_sockopt_buf *buf) in sockopt_buf_allocated()
1792 struct bpf_sockopt_buf buf = {}; in __cgroup_bpf_run_filter_setsockopt() local
1883 struct bpf_sockopt_buf buf = {}; in __cgroup_bpf_run_filter_getsockopt() local
2032 BPF_CALL_4(bpf_sysctl_get_name, struct bpf_sysctl_kern *, ctx, char *, buf, in BPF_CALL_4() argument
2090 char *, buf, size_t, buf_len) in BPF_CALL_3() argument
2104 BPF_CALL_3(bpf_sysctl_get_new_value, struct bpf_sysctl_kern *, ctx, char *, buf, in BPF_CALL_3() argument
2125 const char *, buf, size_t, buf_len) in BPF_CALL_3() argument
/kernel/livepatch/
Dcore.c334 const char *buf, size_t count) in enabled_store()
377 struct kobj_attribute *attr, char *buf) in enabled_show()
386 struct kobj_attribute *attr, char *buf) in transition_show()
396 const char *buf, size_t count) in force_store()
436 struct kobj_attribute *attr, char *buf) in patched_show()
/kernel/time/
Dclocksource.c1325 char *buf) in current_clocksource_show()
1336 ssize_t sysfs_get_uname(const char *buf, char *dst, size_t cnt) in sysfs_get_uname()
1365 const char *buf, size_t count) in current_clocksource_store()
1392 const char *buf, size_t count) in unbind_clocksource_store()
1426 char *buf) in available_clocksource_show()

123456