Home
last modified time | relevance | path

Searched defs:len (Results 1 – 25 of 108) sorted by relevance

12345

/kernel/
Dsysctl-test.c38 size_t len; in sysctl_test_api_dointvec_null_tbl_data() local
84 size_t len; in sysctl_test_api_dointvec_table_maxlen_unset() local
130 size_t len = 0; in sysctl_test_api_dointvec_table_len_is_zero() local
165 size_t len = 1234; in sysctl_test_api_dointvec_table_read_but_position_set() local
194 size_t len = 4; in sysctl_test_dointvec_read_happy_single_positive() local
225 size_t len = 5; in sysctl_test_dointvec_read_happy_single_negative() local
255 size_t len = sizeof(input) - 1; in sysctl_test_dointvec_write_happy_single_positive() local
285 size_t len = sizeof(input) - 1; in sysctl_test_dointvec_write_happy_single_negative() local
316 size_t max_len = 32, len = max_len; in sysctl_test_api_dointvec_write_single_less_int_min() local
354 size_t max_len = 32, len = max_len; in sysctl_test_api_dointvec_write_single_greater_int_max() local
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()
Dcompat.c111 unsigned len, struct cpumask *new_mask) in compat_get_user_cpu_mask()
125 unsigned int, len, in COMPAT_SYSCALL_DEFINE3() argument
144 COMPAT_SYSCALL_DEFINE3(sched_getaffinity, compat_pid_t, pid, unsigned int, len, in COMPAT_SYSCALL_DEFINE3() argument
Dusermode_driver.c12 static struct vfsmount *blob_to_mnt(const void *data, size_t len, const char *name) in blob_to_mnt()
60 int umd_load_blob(struct umd_info *info, const void *data, size_t len) in umd_load_blob()
Dconfigs.c42 size_t len, loff_t * offset) in ikconfig_read_current()
Dkheaders.c35 char *buf, loff_t off, size_t len) in ikheaders_read()
Dptrace.c45 void *buf, int len, unsigned int gup_flags) in ptrace_access_vm()
607 int ptrace_readdata(struct task_struct *tsk, unsigned long src, char __user *dst, int len) in ptrace_readdata()
633 int ptrace_writedata(struct task_struct *tsk, char __user *src, unsigned long dst, int len) in ptrace_writedata()
1371 compat_size_t len; in compat_ptrace_request() local
Daudit.c1225 u32 len; in audit_receive_msg() local
1562 int len; in audit_receive() local
1961 int len, avail; in audit_log_vformat() local
2027 size_t len) in audit_log_n_hex()
2092 bool audit_string_contains_control(const char *string, size_t len) in audit_string_contains_control()
2117 size_t len) in audit_log_n_untrustedstring()
2182 unsigned len; in audit_log_task_context() local
/kernel/trace/
Dtrace_seq.c205 unsigned int len = strlen(str); in trace_seq_puts() local
257 void trace_seq_putmem(struct trace_seq *s, const void *mem, unsigned int len) in trace_seq_putmem()
284 unsigned int len) in trace_seq_putmem_hex()
381 const void *buf, size_t len, bool ascii) in trace_seq_hex_dump()
421 char *trace_seq_acquire(struct trace_seq *s, unsigned int len) in trace_seq_acquire()
Dtrace_events_inject.c17 trace_inject_entry(struct trace_event_file *file, void *rec, int len) in trace_inject_entry()
42 int len; in parse_field() local
202 int len; in parse_entry() local
Dtrace_events_synth.c198 unsigned int len; in synth_field_string_size() local
436 unsigned int len = 0; in trace_string() local
476 unsigned int len; in trace_stack() local
508 unsigned int i, n_u64, val_idx, len, data_size = 0; in trace_event_raw_event_synth() local
607 char *buf, int len) in __set_synth_event_print_fmt()
648 int len; in set_synth_event_print_fmt() local
693 int len, ret = -ENOMEM; in parse_synth_field() local
1747 unsigned int i, n_u64, len, data_size = 0; in synth_event_trace() local
1852 unsigned int i, n_u64, field_pos, len, data_size = 0; in synth_event_trace_array() local
2170 int len, ret = 0; in create_synth_event() local
Dtrace_events_filter.c482 int len; in predicate_parse() local
852 int len; in filter_pchar() local
1024 static int regex_match_full(char *str, struct regex *r, int len) in regex_match_full()
1033 static int regex_match_front(char *str, struct regex *r, int len) in regex_match_front()
1041 static int regex_match_middle(char *str, struct regex *r, int len) in regex_match_middle()
1049 static int regex_match_end(char *str, struct regex *r, int len) in regex_match_end()
1083 enum regex_type filter_parse_regex(char *buff, int len, char **search, int *not) in filter_parse_regex()
1211 int len; in append_filter_err() local
1516 int len; in parse_pred() local
2461 ftrace_function_filter_re(char *buf, int len, int *count) in ftrace_function_filter_re()
[all …]
Dtrace_probe.c69 int len = *(u32 *)data >> 16; in PRINT_TYPE_FUNC_NAME() local
186 int i, len = 0, pos = 0; in __trace_probe_log_err() local
255 int len; in traceprobe_parse_event_name() local
925 int len; in NOKPROBE_SYMBOL() local
1041 size_t len = strlen(str); in __parse_imm_string() local
1450 int ret, len; in traceprobe_parse_probe_arg_body() local
1885 static int __set_print_fmt(struct trace_probe *tp, char *buf, int len, in __set_print_fmt()
1958 int len; in traceprobe_set_print_fmt() local
Dtrace_export.c156 #define __array(type, item, len) argument
159 #define __stack_array(type, item, len, field) argument
162 #define __array_desc(type, container, item, len) argument
Dtrace_events_user.c347 int len = sizeof(USER_EVENTS_SYSTEM) + 1; in user_event_group_system_name() local
1179 int len, size = -EINVAL; in user_event_parse_field() local
1342 char *buf, int len, bool *colon) in user_dyn_field_set_string()
1369 char *buf, int len, bool colon) in user_field_set_string()
1386 static int user_event_set_print_fmt(struct user_event *user, char *buf, int len) in user_event_set_print_fmt()
1423 int len; in user_event_create_print_fmt() local
1554 static int user_event_validate(struct user_event *user, void *data, int len) in user_event_validate()
1868 int dyn_len, len; in user_field_match() local
2015 int len; in insert_space_after_semis() local
/kernel/power/
Dwakelock.c42 int len = 0; in pm_show_wakelocks() local
150 static struct wakelock *wakelock_lookup_add(const char *name, size_t len, in wakelock_lookup_add()
211 size_t len; in pm_wake_lock() local
257 size_t len; in pm_wake_unlock() local
/kernel/entry/
Dsyscall_user_dispatch.c73 unsigned long offset, unsigned long len, in task_set_syscall_user_dispatch()
122 unsigned long len, char __user *selector) in set_syscall_user_dispatch()
/kernel/debug/kdb/
Dkdb_io.c244 int len = strlen(buffer); in kdb_read() local
566 int len; in kdb_msg_write() local
622 int fnd, len; in vkdb_printf() local
/kernel/bpf/
Ddisasm.c18 char *buff, size_t len) in __func_get_name()
45 u64 full_imm, char *buff, size_t len) in __func_imm_name()
Dsysfs_btf.c18 char *buf, loff_t off, size_t len) in btf_vmlinux_read()
/kernel/printk/
Dprintk.c148 size_t len; in __control_devkmsg() local
715 ssize_t len; in msg_add_dict_text() local
731 ssize_t len; in msg_print_ext_body() local
774 size_t len = iov_iter_count(from); in devkmsg_write() local
1410 size_t len = 0; in info_print_prefix() local
1455 size_t len = 0; in record_print_text() local
1575 size_t len = 0; in find_first_fitting_seq() local
1613 int len = 0; in syslog_print() local
1717 int len = 0; in syslog_print_all() local
1771 int do_syslog(int type, char __user *buf, int len, int source) in do_syslog()
[all …]
Dbraille.c14 size_t len; in _braille_console_setup() local
/kernel/gcov/
Dfs.c184 size_t len; in gcov_iter_write() local
383 size_t len, loff_t *pos) in gcov_seq_write()
636 size_t len, loff_t *pos) in reset_write()
657 static ssize_t reset_read(struct file *file, char __user *addr, size_t len, in reset_read()
/kernel/events/
Dring_buffer.c296 const void *buf, unsigned int len) in perf_output_copy()
302 unsigned int len) in perf_output_skip()
585 unsigned long tocopy, remainder, len = 0; in perf_output_copy_aux() local
/kernel/rcu/
Drcu_segcblist.c100 long len = 0; in rcu_segcblist_n_segment_cbs() local
124 long len; in rcu_segcblist_move_seglen() local

12345