Home
last modified time | relevance | path

Searched defs:buf (Results 1 – 25 of 85) 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
206 static void relay_destroy_buf(struct rchan_buf *buf) in relay_destroy_buf()
233 struct rchan_buf *buf = container_of(kref, struct rchan_buf, kref); in relay_remove_buf() local
243 static int relay_buf_empty(struct rchan_buf *buf) in relay_buf_empty()
254 int relay_buf_full(struct rchan_buf *buf) in relay_buf_full()
273 static int subbuf_start_default_callback (struct rchan_buf *buf, in subbuf_start_default_callback()
[all …]
Dksysfs.c34 struct kobj_attribute *attr, char *buf) in uevent_seqnum_show()
43 struct kobj_attribute *attr, char *buf) in uevent_helper_show()
49 const char *buf, size_t count) in uevent_helper_store()
64 struct kobj_attribute *attr, char *buf) in profiling_show()
70 const char *buf, size_t count) in profiling_store()
95 struct kobj_attribute *attr, char *buf) in kexec_loaded_show()
102 struct kobj_attribute *attr, char *buf) in kexec_crash_loaded_show()
109 struct kobj_attribute *attr, char *buf) in kexec_crash_size_show()
115 const char *buf, size_t count) in kexec_crash_size_store()
133 struct kobj_attribute *attr, char *buf) in vmcoreinfo_show()
[all …]
Dcrash_core.c296 Elf_Word *append_elf_note(Elf_Word *buf, char *name, unsigned int type, in append_elf_note()
313 void final_note(Elf_Word *buf) in final_note()
320 u32 *buf = vmcoreinfo_note; in update_vmcoreinfo_note() local
353 char buf[0x50]; in vmcoreinfo_append_str() local
Duser_namespace.c641 static ssize_t map_write(struct file *file, const char __user *buf, in map_write()
800 ssize_t proc_uid_map_write(struct file *file, const char __user *buf, in proc_uid_map_write()
817 ssize_t proc_gid_map_write(struct file *file, const char __user *buf, in proc_gid_map_write()
834 ssize_t proc_projid_map_write(struct file *file, const char __user *buf, in proc_projid_map_write()
901 ssize_t proc_setgroups_write(struct file *file, const char __user *buf, in proc_setgroups_write()
Dcpu.c1890 struct device_attribute *attr, char *buf) in show_cpuhp_state()
1900 const char *buf, size_t count) in write_cpuhp_target()
1939 struct device_attribute *attr, char *buf) in show_cpuhp_target()
1950 const char *buf, size_t count) in write_cpuhp_fail()
1986 struct device_attribute *attr, char *buf) in show_cpuhp_fail()
2009 struct device_attribute *attr, char *buf) in show_cpuhp_states()
2050 show_smt_control(struct device *dev, struct device_attribute *attr, char *buf) in show_smt_control()
2130 const char *buf, size_t count) in store_smt_control()
2171 show_smt_active(struct device *dev, struct device_attribute *attr, char *buf) in show_smt_active()
Dpadata.c821 struct attribute *attr, char *buf) in show_cpumask()
840 const char *buf, size_t count) in store_cpumask()
887 struct attribute *attr, char *buf) in padata_sysfs_show()
902 const char *buf, size_t count) in padata_sysfs_store()
Dparams.c542 struct module_kobject *mk, char *buf) in param_attr_show()
559 const char *buf, size_t len) in param_attr_store()
838 struct module_kobject *mk, char *buf) in __modver_version_show()
872 char *buf) in module_attr_show()
891 const char *buf, size_t len) in module_attr_store()
Dconfigs.c58 ikconfig_read_current(struct file *file, char __user *buf, in ikconfig_read_current()
Dkexec_file.c32 int __weak arch_kexec_kernel_image_probe(struct kimage *image, void *buf, in arch_kexec_kernel_image_probe()
49 int __weak arch_kexec_kernel_verify_sig(struct kimage *image, void *buf, in arch_kexec_kernel_verify_sig()
989 void *buf, unsigned int size, bool get_value) in kexec_purgatory_get_set_symbol()
/kernel/power/
Dmain.c59 char *buf) in pm_async_show()
65 const char *buf, size_t n) in pm_async_store()
83 char *buf) in mem_sleep_show()
105 static suspend_state_t decode_suspend_state(const char *buf, size_t n) in decode_suspend_state()
125 const char *buf, size_t n) in mem_sleep_store()
166 char *buf) in pm_test_show()
187 const char *buf, size_t n) in pm_test_store()
327 struct kobj_attribute *attr, char *buf) in pm_print_times_show()
334 const char *buf, size_t n) in pm_print_times_store()
357 char *buf) in pm_wakeup_irq_show()
[all …]
Dhibernate.c952 char *buf) in disk_show()
987 const char *buf, size_t n) in disk_store()
1038 char *buf) in resume_show()
1045 const char *buf, size_t n) in resume_store()
1074 char *buf) in image_size_show()
1080 const char *buf, size_t n) in image_size_store()
1095 struct kobj_attribute *attr, char *buf) in reserved_size_show()
1102 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()
199 int pm_wake_lock(const char *buf) in pm_wake_lock()
247 int pm_wake_unlock(const char *buf) in pm_wake_unlock()
Dwakeup_reason.c45 char *buf) in last_resume_reason_show()
68 struct kobj_attribute *attr, char *buf) in last_suspend_time_show()
Duser.c137 static ssize_t snapshot_read(struct file *filp, char __user *buf, in snapshot_read()
170 static ssize_t snapshot_write(struct file *filp, const char __user *buf, in snapshot_write()
/kernel/printk/
Dprintk.c688 static ssize_t msg_print_ext_header(char *buf, size_t size, in msg_print_ext_header()
700 static ssize_t msg_print_ext_body(char *buf, size_t size, in msg_print_ext_body()
754 char buf[CONSOLE_EXT_LOG_MAX]; member
759 char *buf, *line; in devkmsg_write() local
820 static ssize_t devkmsg_read(struct file *file, char __user *buf, in devkmsg_read()
1218 static size_t print_time(u64 ts, char *buf) in print_time()
1234 static size_t print_prefix(const struct printk_log *msg, bool syslog, char *buf) in print_prefix()
1257 static size_t msg_print_text(const struct printk_log *msg, bool syslog, char *buf, size_t size) in msg_print_text()
1297 static int syslog_print(char __user *buf, int size) in syslog_print()
1358 static int syslog_print_all(char __user *buf, int size, bool clear) in syslog_print_all()
[all …]
/kernel/time/
Dclocksource.c875 struct device_attribute *attr, char *buf) in sysfs_show_current_clocksources()
886 ssize_t sysfs_get_uname(const char *buf, char *dst, size_t cnt) in sysfs_get_uname()
915 const char *buf, size_t count) in sysfs_override_clocksource()
941 const char *buf, size_t count) in sysfs_unbind_clocksource()
975 char *buf) in sysfs_show_available_clocksources()
/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 name_show()
230 struct kobj_attribute *attr, char *buf) in actions_show()
/kernel/cgroup/
Dcgroup.c1364 char *buf) in cgroup_file_name()
1672 char *buf = NULL; in cgroup_show_path() local
2068 int cgroup_path_ns_locked(struct cgroup *cgrp, char *buf, size_t buflen, in cgroup_path_ns_locked()
2076 int cgroup_path_ns(struct cgroup *cgrp, char *buf, size_t buflen, in cgroup_path_ns()
2106 int task_cgroup_path(struct task_struct *task, char *buf, size_t buflen) in task_cgroup_path()
2602 struct task_struct *cgroup_procs_write_start(char *buf, bool threadgroup) in cgroup_procs_write_start()
3049 char *buf, size_t nbytes, in cgroup_subtree_control_write()
3215 static ssize_t cgroup_type_write(struct kernfs_open_file *of, char *buf, in cgroup_type_write()
3251 char *buf, size_t nbytes, loff_t off) in cgroup_max_descendants_write()
3294 char *buf, size_t nbytes, loff_t off) in cgroup_max_depth_write()
[all …]
/kernel/trace/
Dtrace.c571 static u64 buffer_ftrace_now(struct trace_buffer *buf, int cpu) in buffer_ftrace_now()
1287 static ssize_t trace_seq_to_buffer(struct trace_seq *s, void *buf, size_t cnt) in trace_seq_to_buffer()
1357 struct ring_buffer *buf; in update_max_tr() local
1673 void tracing_reset(struct trace_buffer *buf, int cpu) in tracing_reset()
1689 void tracing_reset_online_cpus(struct trace_buffer *buf) in tracing_reset_online_cpus()
3321 get_total_entries(struct trace_buffer *buf, in get_total_entries()
3360 static void print_event_info(struct trace_buffer *buf, struct seq_file *m) in print_event_info()
3371 static void print_func_help_header(struct trace_buffer *buf, struct seq_file *m, in print_func_help_header()
3382 static void print_func_help_header_irq(struct trace_buffer *buf, struct seq_file *m, in print_func_help_header_irq()
3411 struct trace_buffer *buf = iter->trace_buffer; in print_trace_header() local
[all …]
Dblktrace.c164 char *buf; in __trace_note_message() local
374 char buf[16]; in blk_dropped_read() local
419 static int blk_subbuf_start_callback(struct rchan_buf *buf, void *subbuf, in blk_subbuf_start_callback()
442 struct rchan_buf *buf, in blk_create_buf_file_callback()
1676 char *buf, *s, *token; in blk_trace_str2mask() local
1707 static ssize_t blk_trace_mask2str(char *buf, int mask) in blk_trace_mask2str()
1733 char *buf) in sysfs_blk_trace_attr_show()
1776 const char *buf, size_t count) in sysfs_blk_trace_attr_store()
Dtrace_probe.c624 int traceprobe_command(const char *buf, int (*createfn)(int, char **)) in traceprobe_command()
649 char *kbuf, *buf, *tmp; in traceprobe_probes_write() local
710 static int __set_print_fmt(struct trace_probe *tp, char *buf, int len, in __set_print_fmt()
/kernel/sched/
Dcpufreq_schedutil.c455 static ssize_t up_rate_limit_us_show(struct gov_attr_set *attr_set, char *buf) in up_rate_limit_us_show()
462 static ssize_t down_rate_limit_us_show(struct gov_attr_set *attr_set, char *buf) in down_rate_limit_us_show()
470 const char *buf, size_t count) in up_rate_limit_us_store()
490 const char *buf, size_t count) in down_rate_limit_us_store()
/kernel/livepatch/
Dcore.c449 const char *buf, size_t count) in enabled_store()
500 struct kobj_attribute *attr, char *buf) in enabled_show()
509 struct kobj_attribute *attr, char *buf) in transition_show()
/kernel/debug/kdb/
Dkdb_debugger.c176 void kdb_gdb_state_pass(char *buf) in kdb_gdb_state_pass()
/kernel/debug/
Dgdbstub.c239 char *kgdb_mem2hex(char *mem, char *buf, int count) in kgdb_mem2hex()
268 int kgdb_hex2mem(char *buf, char *mem, int count) in kgdb_hex2mem()
326 static int kgdb_ebin2mem(char *buf, char *mem, int count) in kgdb_ebin2mem()

1234