Home
last modified time | relevance | path

Searched defs:buf (Results 1 – 25 of 80) 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 = 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()
129 struct kobj_attribute *attr, char *buf) in vmcoreinfo_show()
[all …]
Dkexec_core.c730 unsigned char __user *buf = NULL; in kimage_load_normal_segment() local
801 unsigned char __user *buf = NULL; in kimage_load_crash_segment() local
997 static u32 *append_elf_note(u32 *buf, char *name, unsigned type, void *data, in append_elf_note()
1015 static void final_note(u32 *buf) in final_note()
1028 u32 *buf; in crash_save_cpu() local
1359 u32 *buf = vmcoreinfo_note; in update_vmcoreinfo_note() local
1377 char buf[0x50]; in vmcoreinfo_append_str() local
Dkexec_file.c38 int __weak arch_kexec_kernel_image_probe(struct kimage *image, void *buf, in arch_kexec_kernel_image_probe()
55 int __weak arch_kexec_kernel_verify_sig(struct kimage *image, void *buf, in arch_kexec_kernel_verify_sig()
442 struct kexec_buf buf, *kbuf; in kexec_add_buffer() local
969 void *buf, unsigned int size, bool get_value) in kexec_purgatory_get_set_symbol()
Duser_namespace.c640 static ssize_t map_write(struct file *file, const char __user *buf, in map_write()
803 ssize_t proc_uid_map_write(struct file *file, const char __user *buf, in proc_uid_map_write()
820 ssize_t proc_gid_map_write(struct file *file, const char __user *buf, in proc_gid_map_write()
837 ssize_t proc_projid_map_write(struct file *file, const char __user *buf, in proc_projid_map_write()
904 ssize_t proc_setgroups_write(struct file *file, const char __user *buf, in proc_setgroups_write()
Dpadata.c839 struct attribute *attr, char *buf) in show_cpumask()
858 const char *buf, size_t count) in store_cpumask()
905 struct attribute *attr, char *buf) in padata_sysfs_show()
920 const char *buf, size_t count) in padata_sysfs_store()
Dparams.c593 struct module_kobject *mk, char *buf) in param_attr_show()
614 const char *buf, size_t len) in param_attr_store()
893 struct module_kobject *mk, char *buf) in __modver_version_show()
927 char *buf) in module_attr_show()
946 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()
Dstacktrace.c26 int snprint_stack_trace(char *buf, size_t size, in snprint_stack_trace()
Dpanic.c132 static char buf[1024]; in panic() local
351 static char buf[ARRAY_SIZE(tnts) + sizeof("Tainted: ")]; in print_tainted() local
Dworkqueue.c4977 char *buf) in per_cpu_show()
4986 struct device_attribute *attr, char *buf) in max_active_show()
4994 struct device_attribute *attr, const char *buf, in max_active_store()
5016 struct device_attribute *attr, char *buf) in wq_pool_ids_show()
5036 char *buf) in wq_nice_show()
5064 const char *buf, size_t count) in wq_nice_store()
5089 struct device_attribute *attr, char *buf) in wq_cpumask_show()
5103 const char *buf, size_t count) in wq_cpumask_store()
5126 char *buf) in wq_numa_show()
5140 const char *buf, size_t count) in wq_numa_store()
[all …]
/kernel/power/
Dmain.c59 char *buf) in pm_async_show()
65 const char *buf, size_t n) in pm_async_store()
94 char *buf) in pm_test_show()
115 const char *buf, size_t n) in pm_test_store()
255 struct kobj_attribute *attr, char *buf) in pm_print_times_show()
262 const char *buf, size_t n) in pm_print_times_store()
285 char *buf) in pm_wakeup_irq_show()
309 char *buf) in state_show()
328 static suspend_state_t decode_state(const char *buf, size_t n) in decode_state()
356 const char *buf, size_t n) in state_store()
[all …]
Dhibernate.c942 char *buf) in disk_show()
977 const char *buf, size_t n) in disk_store()
1028 char *buf) in resume_show()
1035 const char *buf, size_t n) in resume_store()
1064 char *buf) in image_size_show()
1070 const char *buf, size_t n) in image_size_store()
1085 struct kobj_attribute *attr, char *buf) in reserved_size_show()
1092 const char *buf, size_t n) in reserved_size_store()
Dwakelock.c37 ssize_t pm_show_wakelocks(char *buf, bool show_active) in pm_show_wakelocks()
198 int pm_wake_lock(const char *buf) in pm_wake_lock()
246 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.c645 static ssize_t msg_print_ext_header(char *buf, size_t size, in msg_print_ext_header()
669 static ssize_t msg_print_ext_body(char *buf, size_t size, in msg_print_ext_body()
724 char buf[CONSOLE_EXT_LOG_MAX]; member
729 char *buf, *line; in devkmsg_write() local
790 static ssize_t devkmsg_read(struct file *file, char __user *buf, in devkmsg_read()
1178 static size_t print_time(u64 ts, char *buf) in print_time()
1194 static size_t print_prefix(const struct printk_log *msg, bool syslog, char *buf) in print_prefix()
1218 bool syslog, char *buf, size_t size) in msg_print_text()
1276 static int syslog_print(char __user *buf, int size) in syslog_print()
1340 static int syslog_print_all(char __user *buf, int size, bool clear) in syslog_print_all()
[all …]
/kernel/trace/
Dtrace.c574 static cycle_t buffer_ftrace_now(struct trace_buffer *buf, int cpu) in buffer_ftrace_now()
1242 static ssize_t trace_seq_to_buffer(struct trace_seq *s, void *buf, size_t cnt) in trace_seq_to_buffer()
1312 struct ring_buffer *buf; in update_max_tr() local
1549 void tracing_reset(struct trace_buffer *buf, int cpu) in tracing_reset()
1565 void tracing_reset_online_cpus(struct trace_buffer *buf) in tracing_reset_online_cpus()
2893 get_total_entries(struct trace_buffer *buf, in get_total_entries()
2932 static void print_event_info(struct trace_buffer *buf, struct seq_file *m) in print_event_info()
2943 static void print_func_help_header(struct trace_buffer *buf, struct seq_file *m) in print_func_help_header()
2950 static void print_func_help_header_tgid(struct trace_buffer *buf, struct seq_file *m) in print_func_help_header_tgid()
2957 static void print_func_help_header_irq(struct trace_buffer *buf, struct seq_file *m) in print_func_help_header_irq()
[all …]
Dblktrace.c150 char *buf; in __trace_note_message() local
351 char buf[16]; in blk_dropped_read() local
396 static int blk_subbuf_start_callback(struct rchan_buf *buf, void *subbuf, in blk_subbuf_start_callback()
419 struct rchan_buf *buf, in blk_create_buf_file_callback()
1587 char *buf, *s, *token; in blk_trace_str2mask() local
1618 static ssize_t blk_trace_mask2str(char *buf, int mask) in blk_trace_mask2str()
1644 char *buf) in sysfs_blk_trace_attr_show()
1687 const char *buf, size_t count) in sysfs_blk_trace_attr_store()
1767 void blk_dump_cmd(char *buf, struct request *rq) in blk_dump_cmd()
/kernel/time/
Dclocksource.c858 struct device_attribute *attr, char *buf) in sysfs_show_current_clocksources()
869 ssize_t sysfs_get_uname(const char *buf, char *dst, size_t cnt) in sysfs_get_uname()
898 const char *buf, size_t count) in sysfs_override_clocksource()
924 const char *buf, size_t count) in sysfs_unbind_clocksource()
958 char *buf) in sysfs_show_available_clocksources()
/kernel/irq/
Dirqdesc.c136 struct kobj_attribute *attr, char *buf) in per_cpu_count_show()
156 struct kobj_attribute *attr, char *buf) in chip_name_show()
173 struct kobj_attribute *attr, char *buf) in hwirq_show()
188 struct kobj_attribute *attr, char *buf) in type_show()
204 struct kobj_attribute *attr, char *buf) in name_show()
219 struct kobj_attribute *attr, char *buf) in actions_show()
/kernel/debug/kdb/
Dkdb_debugger.c183 void kdb_gdb_state_pass(char *buf) in kdb_gdb_state_pass()
/kernel/sched/
Dcpufreq_schedutil.c433 static ssize_t up_rate_limit_us_show(struct gov_attr_set *attr_set, char *buf) in up_rate_limit_us_show()
440 static ssize_t down_rate_limit_us_show(struct gov_attr_set *attr_set, char *buf) in down_rate_limit_us_show()
448 const char *buf, size_t count) in up_rate_limit_us_store()
468 const char *buf, size_t count) in down_rate_limit_us_store()
Ddebug.c143 char buf[64]; in sched_feat_write() local
352 char buf[32]; in sd_alloc_ctl_domain_table() local
372 char buf[32]; in sd_alloc_ctl_cpu_table() local
397 char buf[32]; in register_sched_domain_sysctl() local
/kernel/debug/
Dgdbstub.c238 char *kgdb_mem2hex(char *mem, char *buf, int count) in kgdb_mem2hex()
267 int kgdb_hex2mem(char *buf, char *mem, int count) in kgdb_hex2mem()
325 static int kgdb_ebin2mem(char *buf, char *mem, int count) in kgdb_ebin2mem()

1234