/kernel/ |
D | relay.c | 36 struct rchan_buf *buf = vmf->vma->vm_private_data; in relay_buf_fault() local 86 static int relay_mmap_buf(struct rchan_buf *buf, struct vm_area_struct *vma) in relay_mmap_buf() 111 static void *relay_alloc_buf(struct rchan_buf *buf, size_t *size) in relay_alloc_buf() 152 struct rchan_buf *buf; in relay_create_buf() local 196 static void relay_destroy_buf(struct rchan_buf *buf) in relay_destroy_buf() 223 struct rchan_buf *buf = container_of(kref, struct rchan_buf, kref); in relay_remove_buf() local 233 static int relay_buf_empty(struct rchan_buf *buf) in relay_buf_empty() 244 int relay_buf_full(struct rchan_buf *buf) in relay_buf_full() 255 static int relay_subbuf_start(struct rchan_buf *buf, void *subbuf, in relay_subbuf_start() 273 struct rchan_buf *buf; in wakeup_readers() local [all …]
|
D | ksysfs.c | 32 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() 118 const char *buf, size_t count) in kexec_crash_size_store() 136 struct kobj_attribute *attr, char *buf) in vmcoreinfo_show() [all …]
|
D | kexec_elf.c | 119 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()
|
D | reboot.c | 700 static ssize_t mode_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in mode_show() 727 const char *buf, size_t count) in mode_store() 752 static ssize_t force_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in force_show() 757 const char *buf, size_t count) in force_store() 774 static ssize_t type_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in type_show() 804 const char *buf, size_t count) in type_store() 832 static ssize_t cpu_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in cpu_show() 837 const char *buf, size_t count) in cpu_store()
|
D | crash_core.c | 309 Elf_Word *append_elf_note(Elf_Word *buf, char *name, unsigned int type, in append_elf_note() 326 void final_note(Elf_Word *buf) in final_note() 333 u32 *buf = vmcoreinfo_note; in update_vmcoreinfo_note() local 366 char buf[0x50]; in vmcoreinfo_append_str() local
|
D | kexec_file.c | 48 int kexec_image_probe_default(struct kimage *image, void *buf, in kexec_image_probe_default() 66 int __weak arch_kexec_kernel_image_probe(struct kimage *image, void *buf, in arch_kexec_kernel_image_probe() 102 static int kexec_image_verify_sig_default(struct kimage *image, void *buf, in kexec_image_verify_sig_default() 113 int __weak arch_kexec_kernel_verify_sig(struct kimage *image, void *buf, in arch_kexec_kernel_verify_sig() 1127 void *buf, unsigned int size, bool get_value) in kexec_purgatory_get_set_symbol() 1251 unsigned char *buf; in crash_prepare_elf64_headers() local
|
D | cpu.c | 2343 struct device_attribute *attr, char *buf) in state_show() 2352 const char *buf, size_t count) in target_store() 2393 struct device_attribute *attr, char *buf) in target_show() 2402 const char *buf, size_t count) in fail_store() 2452 struct device_attribute *attr, char *buf) in fail_show() 2475 struct device_attribute *attr, char *buf) in states_show() 2510 const char *buf, size_t count) in __store_smt_control() 2552 const char *buf, size_t count) in __store_smt_control() 2567 struct device_attribute *attr, char *buf) in control_show() 2575 const char *buf, size_t count) in control_store() [all …]
|
D | params.c | 558 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()
|
/kernel/power/ |
D | main.c | 101 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() 203 struct kobj_attribute *attr, char *buf) in sync_on_suspend_show() 210 const char *buf, size_t n) in sync_on_suspend_store() 240 char *buf) in pm_test_show() 261 const char *buf, size_t n) in pm_test_store() 330 struct kobj_attribute *attr, char *buf) in last_failed_dev_show() [all …]
|
D | hibernate.c | 1063 char *buf) in disk_show() 1098 const char *buf, size_t n) in disk_store() 1149 char *buf) in resume_show() 1156 const char *buf, size_t n) in resume_store() 1186 struct kobj_attribute *attr, char *buf) in resume_offset_show() 1192 struct kobj_attribute *attr, const char *buf, in resume_offset_store() 1209 char *buf) in image_size_show() 1215 const char *buf, size_t n) in image_size_store() 1230 struct kobj_attribute *attr, char *buf) in reserved_size_show() 1237 const char *buf, size_t n) in reserved_size_store()
|
D | wakelock.c | 38 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/trace/ |
D | trace_boot.c | 29 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
|
D | synth_event_gen_test.c | 49 char *buf; in test_gen_synth_cmd() local 140 char *buf; in test_empty_synth_event() local
|
D | kprobe_event_gen_test.c | 88 char *buf; in test_gen_kprobe_cmd() local 159 char *buf; in test_gen_kretprobe_cmd() local
|
D | trace_probe_tmpl.h | 7 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()
|
D | trace.c | 759 static u64 buffer_ftrace_now(struct array_buffer *buf, int cpu) in buffer_ftrace_now() 1675 static ssize_t trace_seq_to_buffer(struct trace_seq *s, void *buf, size_t cnt) in trace_seq_to_buffer() 2159 static void tracing_reset_cpu(struct array_buffer *buf, int cpu) in tracing_reset_cpu() 2175 void tracing_reset_online_cpus(struct array_buffer *buf) in tracing_reset_online_cpus() 3741 char buf[16]; in test_can_verify_check() local 4160 get_total_entries_cpu(struct array_buffer *buf, unsigned long *total, in get_total_entries_cpu() 4182 get_total_entries(struct array_buffer *buf, in get_total_entries() 4235 static void print_event_info(struct array_buffer *buf, struct seq_file *m) in print_event_info() 4246 static void print_func_help_header(struct array_buffer *buf, struct seq_file *m, in print_func_help_header() 4257 static void print_func_help_header_irq(struct array_buffer *buf, struct seq_file *m, in print_func_help_header_irq() [all …]
|
D | trace_events_inject.c | 284 char *buf; in event_inject_write() local 317 event_inject_read(struct file *file, char __user *buf, size_t size, in event_inject_read()
|
/kernel/printk/ |
D | printk.c | 556 static ssize_t info_print_ext_header(char *buf, size_t size, in info_print_ext_header() 581 static ssize_t msg_add_ext_text(char *buf, size_t size, in msg_add_ext_text() 602 static ssize_t msg_add_dict_text(char *buf, size_t size, in msg_add_dict_text() 618 static ssize_t msg_print_ext_body(char *buf, size_t size, in msg_print_ext_body() 642 char buf[CONSOLE_EXT_LOG_MAX]; member 664 char *buf, *line; in devkmsg_write() local 724 static ssize_t devkmsg_read(struct file *file, char __user *buf, in devkmsg_read() 1272 static size_t print_syslog(unsigned int level, char *buf) in print_syslog() 1277 static size_t print_time(u64 ts, char *buf) in print_time() 1286 static size_t print_caller(u32 id, char *buf) in print_caller() [all …]
|
/kernel/irq/ |
D | irqdesc.c | 147 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/ |
D | cgroup.c | 1494 char *buf) in cgroup_file_name() 1862 char *buf = NULL; in cgroup_show_path() local 2302 int cgroup_path_ns_locked(struct cgroup *cgrp, char *buf, size_t buflen, in cgroup_path_ns_locked() 2310 int cgroup_path_ns(struct cgroup *cgrp, char *buf, size_t buflen, in cgroup_path_ns() 2340 int task_cgroup_path(struct task_struct *task, char *buf, size_t buflen) in task_cgroup_path() 2885 struct task_struct *cgroup_procs_write_start(char *buf, bool threadgroup, in cgroup_procs_write_start() 3358 char *buf, size_t nbytes, in cgroup_subtree_control_write() 3524 static ssize_t cgroup_type_write(struct kernfs_open_file *of, char *buf, in cgroup_type_write() 3560 char *buf, size_t nbytes, loff_t off) in cgroup_max_descendants_write() 3603 char *buf, size_t nbytes, loff_t off) in cgroup_max_depth_write() [all …]
|
/kernel/bpf/ |
D | cgroup.c | 1315 char **buf, size_t *pcount, loff_t *ppos, in __cgroup_bpf_run_filter_sysctl() 1388 struct bpf_sockopt_buf *buf) in sockopt_alloc_buf() 1419 struct bpf_sockopt_buf *buf) in sockopt_free_buf() 1427 struct bpf_sockopt_buf *buf) in sockopt_buf_allocated() 1437 struct bpf_sockopt_buf buf = {}; in __cgroup_bpf_run_filter_setsockopt() local 1538 struct bpf_sockopt_buf buf = {}; in __cgroup_bpf_run_filter_getsockopt() local 1713 BPF_CALL_4(bpf_sysctl_get_name, struct bpf_sysctl_kern *, ctx, char *, buf, in BPF_CALL_4() argument 1771 char *, buf, size_t, buf_len) in BPF_CALL_3() argument 1785 BPF_CALL_3(bpf_sysctl_get_new_value, struct bpf_sysctl_kern *, ctx, char *, buf, in BPF_CALL_3() argument 1806 const char *, buf, size_t, buf_len) in BPF_CALL_3() argument
|
D | helpers.c | 218 BPF_CALL_2(bpf_get_current_comm, char *, buf, u32, size) in BPF_CALL_2() argument 441 static int __bpf_strtoull(const char *buf, size_t buf_len, u64 flags, in __bpf_strtoull() 492 static int __bpf_strtoll(const char *buf, size_t buf_len, u64 flags, in __bpf_strtoll() 514 BPF_CALL_4(bpf_strtol, const char *, buf, size_t, buf_len, u64, flags, in BPF_CALL_4() argument 539 BPF_CALL_4(bpf_strtoul, const char *, buf, size_t, buf_len, u64, flags, in BPF_CALL_4() argument 687 static int bpf_trace_copy_string(char *buf, void *unsafe_ptr, char fmt_ptype, in bpf_trace_copy_string() 719 char buf[MAX_BPRINTF_BUF]; member
|
D | stackmap.c | 434 void *buf, u32 size, u64 flags) in __bpf_get_stack() 508 BPF_CALL_4(bpf_get_stack, struct pt_regs *, regs, void *, buf, u32, size, in BPF_CALL_4() argument 524 BPF_CALL_4(bpf_get_task_stack, struct task_struct *, task, void *, buf, in BPF_CALL_4() argument 553 void *, buf, u32, size, u64, flags) in BPF_CALL_4() argument
|
/kernel/time/ |
D | clocksource.c | 1319 char *buf) in current_clocksource_show() 1330 ssize_t sysfs_get_uname(const char *buf, char *dst, size_t cnt) in sysfs_get_uname() 1359 const char *buf, size_t count) in current_clocksource_store() 1386 const char *buf, size_t count) in unbind_clocksource_store() 1420 char *buf) in available_clocksource_show()
|
/kernel/kcsan/ |
D | report.c | 199 char buf[64]; in skip_report() local 262 static char buf[32]; /* safe: protected by report_lock */ in get_thread_desc() local 273 char buf[64]; in get_stack_skipnr() local
|