| /kernel/ |
| D | relay.c | 36 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 …]
|
| D | ksysfs.c | 40 struct kobj_attribute *attr, char *buf) in uevent_seqnum_show() 48 struct kobj_attribute *attr, char *buf) in cpu_byteorder_show() 56 struct kobj_attribute *attr, char *buf) in address_bits_show() 65 struct kobj_attribute *attr, char *buf) in uevent_helper_show() 71 const char *buf, size_t count) in uevent_helper_store() 86 struct kobj_attribute *attr, char *buf) in profiling_show() 92 const char *buf, size_t count) in profiling_store() 124 struct kobj_attribute *attr, char *buf) in kexec_loaded_show() 132 struct kobj_attribute *attr, char *buf) in kexec_crash_loaded_show() 139 struct kobj_attribute *attr, char *buf) in kexec_crash_size_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 | vmcore_info.c | 34 Elf_Word *append_elf_note(Elf_Word *buf, char *name, unsigned int type, in append_elf_note() 51 void final_note(Elf_Word *buf) in final_note() 58 u32 *buf = vmcoreinfo_note; in update_vmcoreinfo_note() local 91 char buf[0x50]; in vmcoreinfo_append_str() local
|
| D | reboot.c | 1115 static ssize_t mode_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in mode_show() 1142 const char *buf, size_t count) in mode_store() 1167 static ssize_t force_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in force_show() 1172 const char *buf, size_t count) in force_store() 1189 static ssize_t type_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in type_show() 1219 const char *buf, size_t count) in type_store() 1247 static ssize_t cpu_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in cpu_show() 1252 const char *buf, size_t count) in cpu_store()
|
| D | profile.c | 207 read_profile(struct file *file, char __user *buf, size_t count, loff_t *ppos) in read_profile() 245 static ssize_t write_profile(struct file *file, const char __user *buf, in write_profile()
|
| D | params.c | 561 struct module_kobject *mk, char *buf) in param_attr_show() 578 const char *buf, size_t len) in param_attr_store() 861 struct module_kobject *mk, char *buf) in __modver_version_show() 893 char *buf) in module_attr_show() 912 const char *buf, size_t len) in module_attr_store()
|
| /kernel/power/ |
| D | main.c | 129 char *buf) in pm_async_show() 135 const char *buf, size_t n) in pm_async_store() 153 char *buf) in mem_sleep_show() 178 static suspend_state_t decode_suspend_state(const char *buf, size_t n) in decode_suspend_state() 198 const char *buf, size_t n) in mem_sleep_store() 234 struct kobj_attribute *attr, char *buf) in sync_on_suspend_show() 241 const char *buf, size_t n) in sync_on_suspend_store() 271 char *buf) in pm_test_show() 292 const char *buf, size_t n) in pm_test_store() 367 struct kobj_attribute *attr, char *buf) in last_failed_dev_show() [all …]
|
| D | hibernate.c | 1134 char *buf) in disk_show() 1173 const char *buf, size_t n) in disk_store() 1225 char *buf) in resume_show() 1232 const char *buf, size_t n) in resume_store() 1285 struct kobj_attribute *attr, char *buf) in resume_offset_show() 1291 struct kobj_attribute *attr, const char *buf, in resume_offset_store() 1308 char *buf) in image_size_show() 1314 const char *buf, size_t n) in image_size_store() 1329 struct kobj_attribute *attr, char *buf) in reserved_size_show() 1336 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() 206 int pm_wake_lock(const char *buf) in pm_wake_lock() 254 int pm_wake_unlock(const char *buf) in pm_wake_unlock()
|
| /kernel/module/ |
| D | decompress.c | 63 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() 208 const void *buf, size_t size) in module_zstd_decompress() 294 int module_decompress(struct load_info *info, const void *buf, size_t size) in module_decompress() 349 struct kobj_attribute *attr, char *buf) in compression_show()
|
| D | tracking.c | 52 char buf[MODULE_FLAGS_BUF_SIZE]; in print_unloaded_tainted_modules() local 90 char buf[MODULE_FLAGS_BUF_SIZE]; in unloaded_tainted_modules_seq_show() local
|
| /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 | 850 static u64 buffer_ftrace_now(struct array_buffer *buf, int cpu) in buffer_ftrace_now() 1826 static ssize_t trace_seq_to_buffer(struct trace_seq *s, void *buf, size_t cnt) in trace_seq_to_buffer() 2342 static void tracing_reset_cpu(struct array_buffer *buf, int cpu) in tracing_reset_cpu() 2358 void tracing_reset_online_cpus(struct array_buffer *buf) in tracing_reset_online_cpus() 2377 static void tracing_reset_all_cpus(struct array_buffer *buf) in tracing_reset_all_cpus() 3985 get_total_entries_cpu(struct array_buffer *buf, unsigned long *total, in get_total_entries_cpu() 4007 get_total_entries(struct array_buffer *buf, in get_total_entries() 4060 static void print_event_info(struct array_buffer *buf, struct seq_file *m) in print_event_info() 4071 static void print_func_help_header(struct array_buffer *buf, struct seq_file *m, in print_func_help_header() 4082 static void print_func_help_header_irq(struct array_buffer *buf, struct seq_file *m, in print_func_help_header_irq() [all …]
|
| /kernel/bpf/ |
| D | stackmap.c | 407 void *buf, u32 size, u64 flags, bool may_fault) in __bpf_get_stack() 496 BPF_CALL_4(bpf_get_stack, struct pt_regs *, regs, void *, buf, u32, size, in BPF_CALL_4() argument 512 BPF_CALL_4(bpf_get_stack_sleepable, struct pt_regs *, regs, void *, buf, u32, size, in BPF_CALL_4() argument 528 static long __bpf_get_task_stack(struct task_struct *task, void *buf, u32 size, in __bpf_get_task_stack() 545 BPF_CALL_4(bpf_get_task_stack, struct task_struct *, task, void *, buf, in BPF_CALL_4() argument 562 BPF_CALL_4(bpf_get_task_stack_sleepable, struct task_struct *, task, void *, buf, in BPF_CALL_4() argument 580 void *, buf, u32, size, u64, flags) in BPF_CALL_4() argument
|
| D | dispatcher.c | 89 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()
|
| D | cgroup.c | 1729 char **buf, size_t *pcount, loff_t *ppos, in __cgroup_bpf_run_filter_sysctl() 1789 struct bpf_sockopt_buf *buf) in sockopt_alloc_buf() 1820 struct bpf_sockopt_buf *buf) in sockopt_free_buf() 1828 struct bpf_sockopt_buf *buf) in sockopt_buf_allocated() 1838 struct bpf_sockopt_buf buf = {}; in __cgroup_bpf_run_filter_setsockopt() local 1930 struct bpf_sockopt_buf buf = {}; in __cgroup_bpf_run_filter_getsockopt() local 2081 BPF_CALL_4(bpf_sysctl_get_name, struct bpf_sysctl_kern *, ctx, char *, buf, in BPF_CALL_4() argument 2139 char *, buf, size_t, buf_len) in BPF_CALL_3() argument 2153 BPF_CALL_3(bpf_sysctl_get_new_value, struct bpf_sysctl_kern *, ctx, char *, buf, in BPF_CALL_3() argument 2174 const char *, buf, size_t, buf_len) in BPF_CALL_3() argument
|
| /kernel/irq/ |
| D | irqdesc.c | 227 struct kobj_attribute *attr, char *buf) in per_cpu_count_show() 247 struct kobj_attribute *attr, char *buf) in chip_name_show() 264 struct kobj_attribute *attr, char *buf) in hwirq_show() 279 struct kobj_attribute *attr, char *buf) in type_show() 295 struct kobj_attribute *attr, char *buf) in wakeup_show() 311 struct kobj_attribute *attr, char *buf) in name_show() 326 struct kobj_attribute *attr, char *buf) in actions_show()
|
| /kernel/printk/ |
| D | printk.c | 665 static ssize_t info_print_ext_header(char *buf, size_t size, in info_print_ext_header() 690 static ssize_t msg_add_ext_text(char *buf, size_t size, in msg_add_ext_text() 711 static ssize_t msg_add_dict_text(char *buf, size_t size, in msg_add_dict_text() 727 static ssize_t msg_print_ext_body(char *buf, size_t size, in msg_print_ext_body() 769 char *buf, *line; in devkmsg_write() local 829 static ssize_t devkmsg_read(struct file *file, char __user *buf, in devkmsg_read() 1378 static size_t print_syslog(unsigned int level, char *buf) in print_syslog() 1383 static size_t print_time(u64 ts, char *buf) in print_time() 1392 static size_t print_caller(u32 id, char *buf) in print_caller() 1404 #define print_caller(id, buf) 0 argument [all …]
|
| /kernel/cgroup/ |
| D | cgroup.c | 1541 char *buf) in cgroup_file_name() 1926 char *buf = NULL; in cgroup_show_path() local 2441 int cgroup_path_ns_locked(struct cgroup *cgrp, char *buf, size_t buflen, in cgroup_path_ns_locked() 2449 int cgroup_path_ns(struct cgroup *cgrp, char *buf, size_t buflen, in cgroup_path_ns() 2979 struct task_struct *cgroup_procs_write_start(char *buf, bool threadgroup, in cgroup_procs_write_start() 3456 char *buf, size_t nbytes, in cgroup_subtree_control_write() 3622 static ssize_t cgroup_type_write(struct kernfs_open_file *of, char *buf, in cgroup_type_write() 3658 char *buf, size_t nbytes, loff_t off) in cgroup_max_descendants_write() 3701 char *buf, size_t nbytes, loff_t off) in cgroup_max_depth_write() 3908 static ssize_t pressure_write(struct kernfs_open_file *of, char *buf, in pressure_write() [all …]
|
| /kernel/livepatch/ |
| D | core.c | 357 const char *buf, size_t count) in enabled_store() 400 struct kobj_attribute *attr, char *buf) in enabled_show() 409 struct kobj_attribute *attr, char *buf) in transition_show() 418 const char *buf, size_t count) in force_store() 447 struct kobj_attribute *attr, char *buf) in replace_show() 469 struct kobj_attribute *attr, char *buf) in patched_show()
|
| /kernel/time/ |
| D | clocksource.c | 1363 char *buf) in current_clocksource_show() 1374 ssize_t sysfs_get_uname(const char *buf, char *dst, size_t cnt) in sysfs_get_uname() 1403 const char *buf, size_t count) in current_clocksource_store() 1430 const char *buf, size_t count) in unbind_clocksource_store() 1464 char *buf) in available_clocksource_show()
|