Home
last modified time | relevance | path

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

123

/kernel/
Dsysctl.c204 void *buffer, size_t *lenp, loff_t *ppos) in bpf_stats_handler()
239 void *buffer, size_t *lenp, loff_t *ppos) in bpf_unpriv_handler()
269 char *buffer, size_t *lenp, loff_t *ppos) in _proc_do_string()
382 void *buffer, size_t *lenp, loff_t *ppos) in proc_dostring()
540 char **buffer = (char **)buf; in proc_put_char() local
594 int write, void *buffer, in __do_proc_dointvec()
667 void *buffer, size_t *lenp, loff_t *ppos, in do_proc_dointvec()
678 void *buffer, in do_proc_douintvec_w()
733 static int do_proc_douintvec_r(unsigned int *tbl_data, void *buffer, in do_proc_douintvec_r()
765 int write, void *buffer, in __do_proc_douintvec()
[all …]
Dsysctl-test.c39 void __user *buffer = (void __user *)kunit_kzalloc(test, sizeof(int), in sysctl_test_api_dointvec_null_tbl_data() local
85 void __user *buffer = (void __user *)kunit_kzalloc(test, sizeof(int), in sysctl_test_api_dointvec_table_maxlen_unset() local
128 void __user *buffer = (void __user *)kunit_kzalloc(test, sizeof(int), in sysctl_test_api_dointvec_table_len_is_zero() local
162 void __user *buffer = (void __user *)kunit_kzalloc(test, sizeof(int), in sysctl_test_api_dointvec_table_read_but_position_set() local
199 char *buffer = kunit_kzalloc(test, len, GFP_USER); in sysctl_test_dointvec_read_happy_single_positive() local
230 char *buffer = kunit_kzalloc(test, len, GFP_USER); in sysctl_test_dointvec_read_happy_single_negative() local
260 char *buffer = kunit_kzalloc(test, len, GFP_USER); in sysctl_test_dointvec_write_happy_single_positive() local
290 char *buffer = kunit_kzalloc(test, len, GFP_USER); in sysctl_test_dointvec_write_happy_single_negative() local
321 char *buffer = kunit_kzalloc(test, max_len, GFP_USER); in sysctl_test_api_dointvec_write_single_less_int_min() local
359 char *buffer = kunit_kzalloc(test, max_len, GFP_USER); in sysctl_test_api_dointvec_write_single_greater_int_max() local
Dwatchdog.c654 void *buffer, size_t *lenp, loff_t *ppos) in proc_watchdog_common()
681 void *buffer, size_t *lenp, loff_t *ppos) in proc_watchdog()
691 void *buffer, size_t *lenp, loff_t *ppos) in proc_nmi_watchdog()
703 void *buffer, size_t *lenp, loff_t *ppos) in proc_soft_watchdog()
713 void *buffer, size_t *lenp, loff_t *ppos) in proc_watchdog_thresh()
736 void *buffer, size_t *lenp, loff_t *ppos) in proc_watchdog_cpumask()
Dkallsyms.c399 static int __sprint_symbol(char *buffer, unsigned long address, in __sprint_symbol()
437 int sprint_symbol(char *buffer, unsigned long address) in sprint_symbol()
454 int sprint_symbol_no_offset(char *buffer, unsigned long address) in sprint_symbol_no_offset()
474 int sprint_backtrace(char *buffer, unsigned long address) in sprint_backtrace()
Dparams.c269 int param_get_charp(char *buffer, const struct kernel_param *kp) in param_get_charp()
299 int param_get_bool(char *buffer, const struct kernel_param *kp) in param_get_bool()
359 int param_get_invbool(char *buffer, const struct kernel_param *kp) in param_get_invbool()
454 static int param_array_get(char *buffer, const struct kernel_param *kp) in param_array_get()
506 int param_get_string(char *buffer, const struct kernel_param *kp) in param_get_string()
Dstackleak.c23 void *buffer, size_t *lenp, loff_t *ppos) in stack_erasing_sysctl()
Dutsname_sysctl.c33 void *buffer, size_t *lenp, loff_t *ppos) in proc_do_uts_string()
Dlatencytop.c272 int sysctl_latencytop(struct ctl_table *table, int write, void *buffer, in sysctl_latencytop()
Dhung_task.c234 void *buffer, size_t *lenp, loff_t *ppos) in proc_dohung_task_timeout_secs()
Dumh.c487 void *buffer, size_t *lenp, loff_t *ppos) in proc_cap_handler()
/kernel/trace/
Dring_buffer.c279 #define for_each_buffer_cpu(buffer, cpu) \ argument
282 #define for_each_online_buffer_cpu(buffer, cpu) \ argument
498 struct trace_buffer *buffer; member
767 size_t ring_buffer_nr_pages(struct trace_buffer *buffer, int cpu) in ring_buffer_nr_pages()
779 size_t ring_buffer_nr_dirty_pages(struct trace_buffer *buffer, int cpu) in ring_buffer_nr_dirty_pages()
803 static __always_inline bool full_hit(struct trace_buffer *buffer, int cpu, int full) in full_hit()
848 void ring_buffer_wake_waiters(struct trace_buffer *buffer, int cpu) in ring_buffer_wake_waiters()
883 int ring_buffer_wait(struct trace_buffer *buffer, int cpu, int full) in ring_buffer_wait()
1000 __poll_t ring_buffer_poll_wait(struct trace_buffer *buffer, int cpu, in ring_buffer_poll_wait()
1071 static inline u64 rb_time_stamp(struct trace_buffer *buffer) in rb_time_stamp()
[all …]
Dtrace.c498 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()
1014 struct trace_buffer *buffer; in __trace_puts() local
1068 struct trace_buffer *buffer; in __trace_bputs() local
2164 struct trace_buffer *buffer = buf->buffer; in tracing_reset_cpu() local
2180 struct trace_buffer *buffer = buf->buffer; in tracing_reset_online_cpus() local
2321 struct trace_buffer *buffer; in tracing_start_tr() local
[all …]
Dtrace_mmiotrace.c300 struct trace_buffer *buffer = tr->array_buffer.buffer; in __trace_mmiotrace_rw() local
330 struct trace_buffer *buffer = tr->array_buffer.buffer; in __trace_mmiotrace_map() local
Dtrace_sched_wakeup.c383 struct trace_buffer *buffer = tr->array_buffer.buffer; in tracing_sched_switch_trace() local
413 struct trace_buffer *buffer = tr->array_buffer.buffer; in tracing_sched_wakeup_trace() local
Dtrace_syscalls.c300 struct trace_buffer *buffer; in ftrace_syscall_enter() local
350 struct trace_buffer *buffer; in ftrace_syscall_exit() local
Dring_buffer_benchmark.c32 static struct trace_buffer *buffer; variable
Dtrace.h196 struct trace_buffer *buffer; member
1264 char *buffer; member
1463 struct trace_buffer *buffer, in trace_buffer_unlock_commit()
1476 __trace_event_discard_commit(struct trace_buffer *buffer, in __trace_event_discard_commit()
1502 struct trace_buffer *buffer, in __event_trigger_test_discard()
1549 struct trace_buffer *buffer, in event_trigger_unlock_commit()
1580 struct trace_buffer *buffer, in event_trigger_unlock_commit_regs()
/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/gcov/
Dgcc_4_7.c391 void *buffer; member
407 static size_t store_gcov_u32(void *buffer, size_t off, u32 v) in store_gcov_u32()
431 static size_t store_gcov_u64(void *buffer, size_t off, u64 v) in store_gcov_u64()
452 static size_t convert_to_gcda(char *buffer, struct gcov_info *info) in convert_to_gcda()
Dclang.c465 void *buffer; member
481 static size_t store_gcov_u32(void *buffer, size_t off, u32 v) in store_gcov_u32()
505 static size_t store_gcov_u64(void *buffer, size_t off, u64 v) in store_gcov_u64()
526 static size_t convert_to_gcda(char *buffer, struct gcov_info *info) in convert_to_gcda()
/kernel/debug/kdb/
Dkdb_io.c35 static int kgdb_transition_check(char *buffer) in kgdb_transition_check()
196 static char *kdb_read(char *buffer, size_t bufsize) in kdb_read()
436 char *kdb_getstr(char *buffer, size_t bufsize, const char *prompt) in kdb_getstr()
/kernel/debug/
Dgdbstub.c91 static void get_packet(char *buffer) in get_packet()
145 static void put_packet(char *buffer) in put_packet()
1129 unsigned char checksum, ch, buffer[3]; in gdbstub_exit() local
/kernel/events/
Dcallchain.c237 void *buffer, size_t *lenp, loff_t *ppos) in perf_event_max_stack_handler()
/kernel/printk/
Dprintk_safe.c42 unsigned char buffer[SAFE_LOG_BUF_LEN]; member

123