Home
last modified time | relevance | path

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

12

/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
106 static int relay_mmap_buf(struct rchan_buf *buf, struct vm_area_struct *vma) in relay_mmap_buf()
133 static void *relay_alloc_buf(struct rchan_buf *buf, size_t *size) in relay_alloc_buf()
174 struct rchan_buf *buf = kzalloc(sizeof(struct rchan_buf), GFP_KERNEL); in relay_create_buf() local
212 static void relay_destroy_buf(struct rchan_buf *buf) in relay_destroy_buf()
239 struct rchan_buf *buf = container_of(kref, struct rchan_buf, kref); in relay_remove_buf() local
250 static int relay_buf_empty(struct rchan_buf *buf) in relay_buf_empty()
261 int relay_buf_full(struct rchan_buf *buf) in relay_buf_full()
280 static int subbuf_start_default_callback (struct rchan_buf *buf, in subbuf_start_default_callback()
[all …]
Dksysfs.c30 struct kobj_attribute *attr, char *buf) in uevent_seqnum_show()
38 struct kobj_attribute *attr, char *buf) in uevent_helper_show()
44 const char *buf, size_t count) in uevent_helper_store()
59 struct kobj_attribute *attr, char *buf) in profiling_show()
65 const char *buf, size_t count) in profiling_store()
90 struct kobj_attribute *attr, char *buf) in kexec_loaded_show()
97 struct kobj_attribute *attr, char *buf) in kexec_crash_loaded_show()
104 struct kobj_attribute *attr, char *buf) in vmcoreinfo_show()
122 char *buf, loff_t off, size_t count) in notes_read()
Duser.c139 char *buf) in cpu_shares_show()
148 const char *buf, size_t size) in cpu_shares_store()
168 char *buf) in cpu_rt_runtime_show()
177 const char *buf, size_t size) in cpu_rt_runtime_store()
195 char *buf) in cpu_rt_period_show()
204 const char *buf, size_t size) in cpu_rt_period_store()
Dres_counter.c115 char buf[64], *s; in res_counter_read() local
132 int res_counter_memparse_write_strategy(const char *buf, in res_counter_memparse_write_strategy()
146 const char *buf, write_strategy_fn write_strategy) in res_counter_write()
Dkexec.c786 unsigned char __user *buf; in kimage_load_normal_segment() local
850 unsigned char __user *buf; in kimage_load_crash_segment() local
1085 static u32 *append_elf_note(u32 *buf, char *name, unsigned type, void *data, in append_elf_note()
1103 static void final_note(u32 *buf) in final_note()
1116 u32 *buf; in crash_save_cpu() local
1320 u32 *buf; in crash_save_vmcoreinfo() local
1338 char buf[0x50]; in vmcoreinfo_append_str() local
Dpanic.c62 static char buf[1024]; in panic() local
183 static char buf[ARRAY_SIZE(tnts) + sizeof("Tainted: ") + 1]; in print_tainted() local
Dparams.c398 struct module *mod, char *buf) in param_attr_show()
417 const char *buf, size_t len) in param_attr_store()
656 char *buf) in module_attr_show()
675 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()
Drtmutex-tester.c301 const char *buf, size_t count) in sysfs_test_command()
364 char *buf) in sysfs_test_status()
Dptrace.c271 char buf[128]; in ptrace_readdata() local
296 char buf[128]; in ptrace_writedata() local
Dprintk.c300 int do_syslog(int type, char __user *buf, int len) in do_syslog()
435 SYSCALL_DEFINE3(syslog, int, type, char __user *, buf, int, len) in SYSCALL_DEFINE3() argument
840 char buf[sizeof(console_cmdline[0].name) + 4]; /* 4 for index */ in console_setup() local
Dcpuset.c923 const char *buf) in update_cpumask()
1140 const char *buf) in update_nodemask()
1501 const char *buf) in cpuset_write_resmask()
1568 char __user *buf, in cpuset_common_file_read()
2509 char *buf; in proc_cpuset_show() local
Dlatencytop.c213 lstats_write(struct file *file, const char __user *buf, size_t count, in lstats_write()
Dprofile.c501 read_profile(struct file *file, char __user *buf, size_t count, loff_t *ppos) in read_profile()
534 static ssize_t write_profile(struct file *file, const char __user *buf, in write_profile()
Dkgdb.c366 int kgdb_mem2hex(char *mem, char *buf, int count) in kgdb_mem2hex()
396 static int kgdb_ebin2mem(char *buf, char *mem, int count) in kgdb_ebin2mem()
421 int kgdb_hex2mem(char *buf, char *mem, int count) in kgdb_hex2mem()
/kernel/power/
Duserwakelock.c42 const char *buf, int allocate, long *timeoutptr) in lookup_wake_lock_name()
129 struct kobject *kobj, struct kobj_attribute *attr, char *buf) in wake_lock_show()
151 const char *buf, size_t n) in wake_lock_store()
177 struct kobject *kobj, struct kobj_attribute *attr, char *buf) in wake_unlock_show()
199 const char *buf, size_t n) in wake_unlock_store()
Dmain.c70 char *buf) in pm_test_show()
91 const char *buf, size_t n) in pm_test_store()
490 char *buf) in state_show()
512 const char *buf, size_t n) in state_store()
561 char *buf) in pm_trace_show()
568 const char *buf, size_t n) in pm_trace_store()
Ddisk.c744 char *buf) in disk_show()
775 const char *buf, size_t n) in disk_store()
821 char *buf) in resume_show()
828 const char *buf, size_t n) in resume_store()
855 char *buf) in image_size_show()
861 const char *buf, size_t n) in image_size_store()
Dfbearlysuspend.c67 struct kobj_attribute *attr, char *buf) in wait_for_fb_sleep_show()
82 struct kobj_attribute *attr, char *buf) in wait_for_fb_wake_show()
Duser.c141 static ssize_t snapshot_read(struct file *filp, char __user *buf, in snapshot_read()
168 static ssize_t snapshot_write(struct file *filp, const char __user *buf, in snapshot_write()
Dswap.c194 static int write_page(void *buf, sector_t offset, struct bio **bio_chain) in write_page()
270 static int swap_write_page(struct swap_map_handle *handle, void *buf, in swap_write_page()
466 static int swap_read_page(struct swap_map_handle *handle, void *buf, in swap_read_page()
/kernel/time/
Dclocksource.c384 struct sysdev_attribute *attr, char *buf) in sysfs_show_current_clocksources()
406 const char *buf, size_t count) in sysfs_override_clocksource()
460 char *buf) in sysfs_show_available_clocksources()
/kernel/trace/
Dtrace.c507 struct ring_buffer *buf = tr->buffer; local
2744 char *buf; local
2835 char buf[64]; local
2920 char buf[64]; local
2932 char buf[64]; local
2975 char buf[max_tracer_type_len+2]; local
2988 static int tracing_set_tracer(char *buf)
3028 char buf[max_tracer_type_len+1]; local
3061 char buf[64]; local
3076 char buf[64]; local
[all …]
Dtrace_stack.c143 char buf[64]; in stack_max_size_read() local
158 char buf[64]; in stack_max_size_write() local
Dtrace_sysprof.c281 char buf[MAX_LONG_DIGITS]; in sysprof_sample_read() local
293 char buf[MAX_LONG_DIGITS]; in sysprof_sample_write() local

12