Home
last modified time | relevance | path

Searched defs:buffer (Results 1 – 25 of 63) sorted by relevance

123

/kernel/
Dsysctl.c148 char *buffer, size_t *lenp, loff_t *ppos) in _proc_do_string()
261 void *buffer, size_t *lenp, loff_t *ppos) in proc_dostring()
419 char **buffer = (char **)buf; in proc_put_char() local
488 int write, void *buffer, in __do_proc_dointvec()
561 void *buffer, size_t *lenp, loff_t *ppos, in do_proc_dointvec()
572 void *buffer, in do_proc_douintvec_w()
627 static int do_proc_douintvec_r(unsigned int *tbl_data, void *buffer, in do_proc_douintvec_r()
659 int write, void *buffer, in __do_proc_douintvec()
695 void *buffer, size_t *lenp, loff_t *ppos, in do_proc_douintvec()
718 int proc_dobool(struct ctl_table *table, int write, void *buffer, in proc_dobool()
[all …]
Dsysctl-test.c36 void __user *buffer = (void __user *)kunit_kzalloc(test, sizeof(int), in sysctl_test_api_dointvec_null_tbl_data() local
82 void __user *buffer = (void __user *)kunit_kzalloc(test, sizeof(int), in sysctl_test_api_dointvec_table_maxlen_unset() local
125 void __user *buffer = (void __user *)kunit_kzalloc(test, sizeof(int), in sysctl_test_api_dointvec_table_len_is_zero() local
159 void __user *buffer = (void __user *)kunit_kzalloc(test, sizeof(int), in sysctl_test_api_dointvec_table_read_but_position_set() local
196 char *buffer = kunit_kzalloc(test, len, GFP_USER); in sysctl_test_dointvec_read_happy_single_positive() local
227 char *buffer = kunit_kzalloc(test, len, GFP_USER); in sysctl_test_dointvec_read_happy_single_negative() local
257 char *buffer = kunit_kzalloc(test, len, GFP_USER); in sysctl_test_dointvec_write_happy_single_positive() local
287 char *buffer = kunit_kzalloc(test, len, GFP_USER); in sysctl_test_dointvec_write_happy_single_negative() local
318 char *buffer = kunit_kzalloc(test, max_len, GFP_USER); in sysctl_test_api_dointvec_write_single_less_int_min() local
356 char *buffer = kunit_kzalloc(test, max_len, GFP_USER); in sysctl_test_api_dointvec_write_single_greater_int_max() local
Dwatchdog.c669 void *buffer, size_t *lenp, loff_t *ppos) in proc_watchdog_common()
696 void *buffer, size_t *lenp, loff_t *ppos) in proc_watchdog()
706 void *buffer, size_t *lenp, loff_t *ppos) in proc_nmi_watchdog()
718 void *buffer, size_t *lenp, loff_t *ppos) in proc_soft_watchdog()
728 void *buffer, size_t *lenp, loff_t *ppos) in proc_watchdog_thresh()
751 void *buffer, size_t *lenp, loff_t *ppos) in proc_watchdog_cpumask()
Dkallsyms.c513 static int __sprint_symbol(char *buffer, unsigned long address, in __sprint_symbol()
564 int sprint_symbol(char *buffer, unsigned long address) in sprint_symbol()
581 int sprint_symbol_build_id(char *buffer, unsigned long address) in sprint_symbol_build_id()
598 int sprint_symbol_no_offset(char *buffer, unsigned long address) in sprint_symbol_no_offset()
618 int sprint_backtrace(char *buffer, unsigned long address) in sprint_backtrace()
638 int sprint_backtrace_build_id(char *buffer, unsigned long address) in sprint_backtrace_build_id()
Dparams.c287 int param_get_charp(char *buffer, const struct kernel_param *kp) in param_get_charp()
317 int param_get_bool(char *buffer, const struct kernel_param *kp) in param_get_bool()
377 int param_get_invbool(char *buffer, const struct kernel_param *kp) in param_get_invbool()
472 static int param_array_get(char *buffer, const struct kernel_param *kp) in param_array_get()
524 int param_get_string(char *buffer, const struct kernel_param *kp) in param_get_string()
Dutsname_sysctl.c34 void *buffer, size_t *lenp, loff_t *ppos) in proc_do_uts_string()
Dstackleak.c25 void __user *buffer, size_t *lenp, loff_t *ppos) in stack_erasing_sysctl()
Dlatencytop.c68 static int sysctl_latencytop(struct ctl_table *table, int write, void *buffer, in sysctl_latencytop()
Dhung_task.c247 void *buffer, in proc_dohung_task_timeout_secs()
/kernel/trace/
Dring_buffer.c272 #define for_each_buffer_cpu(buffer, cpu) \ argument
275 #define for_each_online_buffer_cpu(buffer, cpu) \ argument
462 struct trace_buffer *buffer; member
684 static inline bool has_ext_writer(struct trace_buffer *buffer) in has_ext_writer()
773 u64 ring_buffer_event_time_stamp(struct trace_buffer *buffer, in ring_buffer_event_time_stamp()
814 size_t ring_buffer_nr_pages(struct trace_buffer *buffer, int cpu) in ring_buffer_nr_pages()
826 size_t ring_buffer_nr_dirty_pages(struct trace_buffer *buffer, int cpu) in ring_buffer_nr_dirty_pages()
850 static __always_inline bool full_hit(struct trace_buffer *buffer, int cpu, int full) in full_hit()
895 void ring_buffer_wake_waiters(struct trace_buffer *buffer, int cpu) in ring_buffer_wake_waiters()
941 int ring_buffer_wait(struct trace_buffer *buffer, int cpu, int full) in ring_buffer_wait()
[all …]
Dtrace_events_trigger.c57 struct trace_buffer *buffer, void *rec, in event_triggers_call()
1252 struct trace_buffer *buffer, void *rec, in traceon_trigger()
1273 struct trace_buffer *buffer, void *rec, in traceon_count_trigger()
1300 struct trace_buffer *buffer, void *rec, in traceoff_trigger()
1321 struct trace_buffer *buffer, void *rec, in traceoff_count_trigger()
1428 struct trace_buffer *buffer, void *rec, in snapshot_trigger()
1441 struct trace_buffer *buffer, void *rec, in snapshot_count_trigger()
1536 struct trace_buffer *buffer, void *rec, in stacktrace_trigger()
1549 struct trace_buffer *buffer, void *rec, in stacktrace_count_trigger()
1620 struct trace_buffer *buffer, void *rec, in event_enable_trigger()
[all …]
Dtrace_events_hist.c209 struct trace_buffer *buffer, in hist_field_const()
218 struct trace_buffer *buffer, in hist_field_counter()
227 struct trace_buffer *buffer, in hist_field_string()
238 struct trace_buffer *buffer, in hist_field_dynstring()
251 struct trace_buffer *buffer, in hist_field_reldynstring()
265 struct trace_buffer *buffer, in hist_field_pstring()
276 struct trace_buffer *buffer, in hist_field_log2()
289 struct trace_buffer *buffer, in hist_field_bucket()
310 struct trace_buffer *buffer, in hist_field_plus()
325 struct trace_buffer *buffer, in hist_field_minus()
[all …]
Dtrace.c519 struct trace_buffer *buffer, in call_filter_check_discard()
922 static inline void __ftrace_trace_stack(struct trace_buffer *buffer, in __ftrace_trace_stack()
928 struct trace_buffer *buffer, in ftrace_trace_stack()
946 __trace_buffer_lock_reserve(struct trace_buffer *buffer, in __trace_buffer_lock_reserve()
991 __buffer_unlock_commit(struct trace_buffer *buffer, struct ring_buffer_event *event) in __buffer_unlock_commit()
1011 struct trace_buffer *buffer; in __trace_array_puts() local
1074 struct trace_buffer *buffer; in __trace_bputs() local
2174 struct trace_buffer *buffer = buf->buffer; in tracing_reset_cpu() local
2190 struct trace_buffer *buffer = buf->buffer; in tracing_reset_online_cpus() local
2331 struct trace_buffer *buffer; in tracing_start_tr() local
[all …]
Dtrace_mmiotrace.c298 struct trace_buffer *buffer = tr->array_buffer.buffer; in __trace_mmiotrace_rw() local
329 struct trace_buffer *buffer = tr->array_buffer.buffer; in __trace_mmiotrace_map() local
Dtrace_osnoise.c470 __trace_osnoise_sample(struct osnoise_sample *sample, struct trace_buffer *buffer) in __trace_osnoise_sample()
500 struct trace_buffer *buffer; in trace_osnoise_sample() local
549 __trace_timerlat_sample(struct timerlat_sample *sample, struct trace_buffer *buffer) in __trace_timerlat_sample()
574 struct trace_buffer *buffer; in trace_timerlat_sample() local
625 __timerlat_dump_stack(struct trace_buffer *buffer, struct trace_stack *fstack, unsigned int size) in __timerlat_dump_stack()
651 struct trace_buffer *buffer; in timerlat_dump_stack() local
Dtrace_recursion_record.c204 const char __user *buffer, in recursed_function_write()
Dtrace_sched_wakeup.c380 struct trace_buffer *buffer = tr->array_buffer.buffer; in tracing_sched_switch_trace() local
410 struct trace_buffer *buffer = tr->array_buffer.buffer; in tracing_sched_wakeup_trace() local
/kernel/gcov/
Dbase.c63 size_t store_gcov_u32(void *buffer, size_t off, u32 v) in store_gcov_u32()
87 size_t store_gcov_u64(void *buffer, size_t off, u64 v) in store_gcov_u64()
/kernel/irq/
Dproc.c138 const char __user *buffer, size_t count, loff_t *pos) in write_irq_affinity()
180 const char __user *buffer, size_t count, loff_t *pos) in irq_affinity_proc_write()
186 const char __user *buffer, size_t count, loff_t *pos) in irq_affinity_list_proc_write()
236 const char __user *buffer, size_t count, loff_t *ppos) in default_affinity_write()
Dtimings.c317 static int irq_timings_next_event_index(int *buffer, size_t len, int period_max) in irq_timings_next_event_index()
715 int buffer[IRQ_TIMINGS_SIZE]; in irq_timings_test_next_index() local
/kernel/debug/kdb/
Dkdb_io.c34 static int kgdb_transition_check(char *buffer) in kgdb_transition_check()
195 static char *kdb_read(char *buffer, size_t bufsize) in kdb_read()
435 char *kdb_getstr(char *buffer, size_t bufsize, const char *prompt) in kdb_getstr()
/kernel/printk/
Dsysctl.c15 void *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_minmax_sysadmin()
/kernel/debug/
Dgdbstub.c88 static void get_packet(char *buffer) in get_packet()
142 static void put_packet(char *buffer) in put_packet()
1126 unsigned char checksum, ch, buffer[3]; in gdbstub_exit() local
/kernel/module/
Dmain.c814 struct module_kobject *mk, char *buffer) in show_refcnt()
896 struct module_kobject *mk, char *buffer) in show_initstate()
921 const char *buffer, size_t count) in store_uevent()
933 struct module_kobject *mk, char *buffer) in show_coresize()
943 struct module_kobject *mk, char *buffer) in show_datasize()
953 struct module_kobject *mk, char *buffer) in show_initsize()
962 struct module_kobject *mk, char *buffer) in show_taint()
/kernel/events/
Dcallchain.c233 void *buffer, size_t *lenp, loff_t *ppos) in perf_event_max_stack_handler()

123