Home
last modified time | relevance | path

Searched defs:buf (Results 1 – 25 of 139) sorted by relevance

123456

/kernel/
A Drelay.c148 struct rchan_buf *buf; in relay_create_buf() local
274 struct rchan_buf *buf; in wakeup_readers() local
327 struct rchan_buf *buf; in relay_reset() local
354 struct rchan_buf *buf, in relay_create_buf_file()
383 struct rchan_buf *buf; in relay_open_buf() local
441 struct rchan_buf *buf; in relay_prepare_cpu() local
484 struct rchan_buf *buf; in relay_open() local
541 struct rchan_buf *buf; member
628 struct rchan_buf *buf; in relay_subbufs_consumed() local
652 struct rchan_buf *buf; in relay_close() local
[all …]
A 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()
124 struct kobj_attribute *attr, char *buf) in kexec_loaded_show()
150 const char *buf, size_t count) in kexec_crash_size_store()
208 const char *buf, size_t count) in rcu_expedited_store()
[all …]
A 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()
A Dvmcore_info.c34 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
A Dreboot.c1077 struct kobj_attribute *attr, char *buf) in hw_protection_show()
1083 struct kobj_attribute *attr, const char *buf, in hw_protection_store()
1194 static ssize_t mode_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in mode_show()
1221 const char *buf, size_t count) in mode_store()
1246 static ssize_t force_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in force_show()
1251 const char *buf, size_t count) in force_store()
1268 static ssize_t type_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in type_show()
1298 const char *buf, size_t count) in type_store()
1326 static ssize_t cpu_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in cpu_show()
1331 const char *buf, size_t count) in cpu_store()
A Dprofile.c154 read_profile(struct file *file, char __user *buf, size_t count, loff_t *ppos) in read_profile()
192 static ssize_t write_profile(struct file *file, const char __user *buf, in write_profile()
A Dparams.c561 struct module_kobject *mk, char *buf) in param_attr_show()
578 const char *buf, size_t len) in param_attr_store()
855 struct module_kobject *mk, char *buf) in __modver_version_show()
887 char *buf) in module_attr_show()
906 const char *buf, size_t len) in module_attr_store()
/kernel/power/
A Dmain.c125 char *buf) in pm_async_show()
149 char *buf) in mem_sleep_show()
267 char *buf) in pm_test_show()
615 char *buf) in pm_wakeup_irq_show()
682 char *buf) in state_show()
795 char *buf) in wakeup_count_show()
837 char *buf) in autosleep_show()
880 char *buf) in wake_lock_show()
897 char *buf) in wake_unlock_show()
919 char *buf) in pm_trace_show()
[all …]
A Dhibernate.c1180 char *buf) in disk_show()
1219 const char *buf, size_t n) in disk_store()
1271 char *buf) in resume_show()
1278 const char *buf, size_t n) in resume_store()
1331 struct kobj_attribute *attr, char *buf) in resume_offset_show()
1337 struct kobj_attribute *attr, const char *buf, in resume_offset_store()
1354 char *buf) in image_size_show()
1360 const char *buf, size_t n) in image_size_store()
1375 struct kobj_attribute *attr, char *buf) in reserved_size_show()
1382 const char *buf, size_t n) in reserved_size_store()
A Dwakelock.c38 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/
A 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()
A Dtracking.c50 char buf[MODULE_FLAGS_BUF_SIZE]; in print_unloaded_tainted_modules() local
88 char buf[MODULE_FLAGS_BUF_SIZE]; in unloaded_tainted_modules_seq_show() local
/kernel/trace/
A 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
A Dsynth_event_gen_test.c49 char *buf; in test_gen_synth_cmd() local
140 char *buf; in test_empty_synth_event() local
A Dkprobe_event_gen_test.c88 char *buf; in test_gen_kprobe_cmd() local
159 char *buf; in test_gen_kretprobe_cmd() local
A 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()
A Dtrace.c5351 char buf[64]; in tracing_trace_options_write() local
6395 char buf[64]; in tracing_nsecs_read() local
6917 char buf[64]; in tracing_entries_read() local
6991 char buf[64]; in tracing_total_entries_read() local
7408 char buf[64]; in tracing_clock_write() local
8714 char *buf; in tracing_read_dyn_info() local
9011 char *buf; in trace_options_read() local
9118 char *buf; in trace_options_core_read() local
9325 char buf[64]; in rb_simple_read() local
9382 char buf[64]; in buffer_percent_read() local
[all …]
/kernel/bpf/
A Dstackmap.c407 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
A 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()
A Dstream.c35 char buf[]; member
298 static int bpf_stream_read(struct bpf_stream *stream, void __user *buf, int len) in bpf_stream_read()
342 int bpf_prog_stream_read(struct bpf_prog *prog, enum bpf_stream_id stream_id, void __user *buf, int… in bpf_prog_stream_read()
436 struct bpf_bprintf_buffers *buf; in bpf_stream_stage_printk() local
/kernel/irq/
A Dirqdesc.c249 static ssize_t per_cpu_count_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in per_cpu_count_show()
268 static ssize_t chip_name_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in chip_name_show()
279 static ssize_t hwirq_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in hwirq_show()
290 static ssize_t type_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in type_show()
300 static ssize_t wakeup_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in wakeup_show()
309 static ssize_t name_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in name_show()
320 static ssize_t actions_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in actions_show()
/kernel/livepatch/
A 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()
417 const char *buf, size_t count) in force_store()
446 struct kobj_attribute *attr, char *buf) in replace_show()
455 struct kobj_attribute *attr, char *buf) in stack_order_show()
491 struct kobj_attribute *attr, char *buf) in patched_show()
/kernel/printk/
A Dprintk.c684 static ssize_t msg_add_ext_text(char *buf, size_t size, in msg_add_ext_text()
705 static ssize_t msg_add_dict_text(char *buf, size_t size, in msg_add_dict_text()
763 char *buf, *line; in devkmsg_write() local
1377 static size_t print_time(u64 ts, char *buf) in print_time()
1386 static size_t print_caller(u32 id, char *buf) in print_caller()
1395 #define print_caller(id, buf) 0 argument
1399 bool time, char *buf) in info_print_prefix()
1599 static int syslog_print(char __user *buf, int size) in syslog_print()
2504 char buf[512]; in early_printk() local
2599 char buf[sizeof(console_cmdline[0].devname)]; in console_setup() local
[all …]
/kernel/cgroup/
A Dcgroup.c1538 char *buf) in cgroup_file_name()
1916 char *buf = NULL; in cgroup_show_path() local
3442 char *buf, size_t nbytes, in cgroup_subtree_control_write()
3908 char *buf, size_t nbytes, in cgroup_io_pressure_write()
3915 char *buf, size_t nbytes, in cgroup_memory_pressure_write()
3922 char *buf, size_t nbytes, in cgroup_cpu_pressure_write()
3938 char *buf, size_t nbytes, in cgroup_irq_pressure_write()
3956 char *buf, size_t nbytes, in cgroup_pressure_write()
6395 char *buf; in proc_cgroup_show() local
7186 char *buf) in delegate_show()
[all …]
/kernel/time/
A Dclocksource.c1336 char *buf) in current_clocksource_show()
1347 ssize_t sysfs_get_uname(const char *buf, char *dst, size_t cnt) in sysfs_get_uname()
1376 const char *buf, size_t count) in current_clocksource_store()
1403 const char *buf, size_t count) in unbind_clocksource_store()
1437 char *buf) in available_clocksource_show()

Completed in 105 milliseconds

123456