Home
last modified time | relevance | path

Searched defs:buf (Results 1 – 25 of 133) 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.c40 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()
117 struct kobj_attribute *attr, char *buf) in kexec_loaded_show()
124 struct kobj_attribute *attr, char *buf) in kexec_crash_loaded_show()
131 struct kobj_attribute *attr, char *buf) in kexec_crash_size_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.c1092 static ssize_t mode_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in mode_show()
1119 const char *buf, size_t count) in mode_store()
1144 static ssize_t force_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in force_show()
1149 const char *buf, size_t count) in force_store()
1166 static ssize_t type_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in type_show()
1196 const char *buf, size_t count) in type_store()
1224 static ssize_t cpu_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in cpu_show()
1229 const char *buf, size_t count) in cpu_store()
Dcrash_core.c330 unsigned char *buf; in crash_prepare_elf64_headers() local
505 Elf_Word *append_elf_note(Elf_Word *buf, char *name, unsigned int type, in append_elf_note()
522 void final_note(Elf_Word *buf) in final_note()
529 u32 *buf = vmcoreinfo_note; in update_vmcoreinfo_note() local
562 char buf[0x50]; in vmcoreinfo_append_str() local
Dcpu.c2766 struct device_attribute *attr, char *buf) in state_show()
2775 const char *buf, size_t count) in target_store()
2816 struct device_attribute *attr, char *buf) in target_show()
2825 const char *buf, size_t count) in fail_store()
2875 struct device_attribute *attr, char *buf) in fail_show()
2898 struct device_attribute *attr, char *buf) in states_show()
2940 const char *buf, size_t count) in __store_smt_control()
2992 const char *buf, size_t count) in __store_smt_control()
3007 struct device_attribute *attr, char *buf) in control_show()
3026 const char *buf, size_t count) in control_store()
[all …]
Dparams.c559 struct module_kobject *mk, char *buf) in param_attr_show()
576 const char *buf, size_t len) in param_attr_store()
857 struct module_kobject *mk, char *buf) in __modver_version_show()
889 char *buf) in module_attr_show()
908 const char *buf, size_t len) in module_attr_store()
/kernel/power/
Dmain.c145 char *buf) in pm_async_show()
151 const char *buf, size_t n) in pm_async_store()
169 char *buf) in mem_sleep_show()
194 static suspend_state_t decode_suspend_state(const char *buf, size_t n) in decode_suspend_state()
214 const char *buf, size_t n) in mem_sleep_store()
250 struct kobj_attribute *attr, char *buf) in sync_on_suspend_show()
257 const char *buf, size_t n) in sync_on_suspend_store()
287 char *buf) in pm_test_show()
308 const char *buf, size_t n) in pm_test_store()
381 struct kobj_attribute *attr, char *buf) in last_failed_dev_show()
[all …]
Dhibernate.c1066 char *buf) in disk_show()
1101 const char *buf, size_t n) in disk_store()
1153 char *buf) in resume_show()
1160 const char *buf, size_t n) in resume_store()
1213 struct kobj_attribute *attr, char *buf) in resume_offset_show()
1219 struct kobj_attribute *attr, const char *buf, in resume_offset_store()
1236 char *buf) in image_size_show()
1242 const char *buf, size_t n) in image_size_store()
1257 struct kobj_attribute *attr, char *buf) in reserved_size_show()
1264 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()
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()
Dtracking.c52 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/
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.c809 static u64 buffer_ftrace_now(struct array_buffer *buf, int cpu) in buffer_ftrace_now()
1730 static ssize_t trace_seq_to_buffer(struct trace_seq *s, void *buf, size_t cnt) in trace_seq_to_buffer()
2233 static void tracing_reset_cpu(struct array_buffer *buf, int cpu) in tracing_reset_cpu()
2249 void tracing_reset_online_cpus(struct array_buffer *buf) in tracing_reset_online_cpus()
3828 char buf[16]; in test_can_verify_check() local
4241 get_total_entries_cpu(struct array_buffer *buf, unsigned long *total, in get_total_entries_cpu()
4263 get_total_entries(struct array_buffer *buf, in get_total_entries()
4316 static void print_event_info(struct array_buffer *buf, struct seq_file *m) in print_event_info()
4327 static void print_func_help_header(struct array_buffer *buf, struct seq_file *m, in print_func_help_header()
4338 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.c627 static ssize_t info_print_ext_header(char *buf, size_t size, in info_print_ext_header()
652 static ssize_t msg_add_ext_text(char *buf, size_t size, in msg_add_ext_text()
673 static ssize_t msg_add_dict_text(char *buf, size_t size, in msg_add_dict_text()
689 static ssize_t msg_print_ext_body(char *buf, size_t size, in msg_print_ext_body()
734 char *buf, *line; in devkmsg_write() local
794 static ssize_t devkmsg_read(struct file *file, char __user *buf, in devkmsg_read()
1325 static size_t print_syslog(unsigned int level, char *buf) in print_syslog()
1330 static size_t print_time(u64 ts, char *buf) in print_time()
1339 static size_t print_caller(u32 id, char *buf) in print_caller()
1351 #define print_caller(id, buf) 0 argument
[all …]
/kernel/irq/
Dirqdesc.c182 struct kobj_attribute *attr, char *buf) in per_cpu_count_show()
202 struct kobj_attribute *attr, char *buf) in chip_name_show()
219 struct kobj_attribute *attr, char *buf) in hwirq_show()
234 struct kobj_attribute *attr, char *buf) in type_show()
250 struct kobj_attribute *attr, char *buf) in wakeup_show()
266 struct kobj_attribute *attr, char *buf) in name_show()
281 struct kobj_attribute *attr, char *buf) in actions_show()
/kernel/cgroup/
Dcgroup.c1501 char *buf) in cgroup_file_name()
1881 char *buf = NULL; in cgroup_show_path() local
2336 int cgroup_path_ns_locked(struct cgroup *cgrp, char *buf, size_t buflen, in cgroup_path_ns_locked()
2344 int cgroup_path_ns(struct cgroup *cgrp, char *buf, size_t buflen, in cgroup_path_ns()
2874 struct task_struct *cgroup_procs_write_start(char *buf, bool threadgroup, in cgroup_procs_write_start()
3351 char *buf, size_t nbytes, in cgroup_subtree_control_write()
3517 static ssize_t cgroup_type_write(struct kernfs_open_file *of, char *buf, in cgroup_type_write()
3553 char *buf, size_t nbytes, loff_t off) in cgroup_max_descendants_write()
3596 char *buf, size_t nbytes, loff_t off) in cgroup_max_depth_write()
3754 static ssize_t pressure_write(struct kernfs_open_file *of, char *buf, in pressure_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.c1697 char **buf, size_t *pcount, loff_t *ppos, in __cgroup_bpf_run_filter_sysctl()
1757 struct bpf_sockopt_buf *buf) in sockopt_alloc_buf()
1788 struct bpf_sockopt_buf *buf) in sockopt_free_buf()
1796 struct bpf_sockopt_buf *buf) in sockopt_buf_allocated()
1806 struct bpf_sockopt_buf buf = {}; in __cgroup_bpf_run_filter_setsockopt() local
1897 struct bpf_sockopt_buf buf = {}; in __cgroup_bpf_run_filter_getsockopt() local
2046 BPF_CALL_4(bpf_sysctl_get_name, struct bpf_sysctl_kern *, ctx, char *, buf, in BPF_CALL_4() argument
2104 char *, buf, size_t, buf_len) in BPF_CALL_3() argument
2118 BPF_CALL_3(bpf_sysctl_get_new_value, struct bpf_sysctl_kern *, ctx, char *, buf, in BPF_CALL_3() argument
2139 const char *, buf, size_t, buf_len) in BPF_CALL_3() argument
Dstackmap.c390 void *buf, u32 size, u64 flags) in __bpf_get_stack()
464 BPF_CALL_4(bpf_get_stack, struct pt_regs *, regs, void *, buf, u32, size, in BPF_CALL_4() argument
480 BPF_CALL_4(bpf_get_task_stack, struct task_struct *, task, void *, buf, in BPF_CALL_4() argument
509 void *, buf, u32, size, u64, flags) in BPF_CALL_4() argument
/kernel/livepatch/
Dcore.c356 const char *buf, size_t count) in enabled_store()
399 struct kobj_attribute *attr, char *buf) in enabled_show()
408 struct kobj_attribute *attr, char *buf) in transition_show()
418 const char *buf, size_t count) in force_store()
458 struct kobj_attribute *attr, char *buf) in patched_show()
/kernel/time/
Dclocksource.c1332 char *buf) in current_clocksource_show()
1343 ssize_t sysfs_get_uname(const char *buf, char *dst, size_t cnt) in sysfs_get_uname()
1372 const char *buf, size_t count) in current_clocksource_store()
1399 const char *buf, size_t count) in unbind_clocksource_store()
1433 char *buf) in available_clocksource_show()

123456