Home
last modified time | relevance | path

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

1234

/kernel/
Dsysctl-test.c41 size_t len; in sysctl_test_api_dointvec_null_tbl_data() local
87 size_t len; in sysctl_test_api_dointvec_table_maxlen_unset() local
133 size_t len = 0; in sysctl_test_api_dointvec_table_len_is_zero() local
168 size_t len = 1234; in sysctl_test_api_dointvec_table_read_but_position_set() local
197 size_t len = 4; in sysctl_test_dointvec_read_happy_single_positive() local
228 size_t len = 5; in sysctl_test_dointvec_read_happy_single_negative() local
258 size_t len = sizeof(input) - 1; in sysctl_test_dointvec_write_happy_single_positive() local
288 size_t len = sizeof(input) - 1; in sysctl_test_dointvec_write_happy_single_negative() local
319 size_t max_len = 32, len = max_len; in sysctl_test_api_dointvec_write_single_less_int_min() local
357 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
277 void __user *compat_alloc_user_space(unsigned long len) in compat_alloc_user_space()
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.c43 void *buf, int len, unsigned int gup_flags) in ptrace_access_vm()
631 int ptrace_readdata(struct task_struct *tsk, unsigned long src, char __user *dst, int len) in ptrace_readdata()
657 int ptrace_writedata(struct task_struct *tsk, char __user *src, unsigned long dst, int len) in ptrace_writedata()
1389 compat_size_t len; in compat_ptrace_request() local
Daudit.c1228 u32 len; in audit_receive_msg() local
1565 int len; in audit_receive() local
1963 int len, avail; in audit_log_vformat() local
2029 size_t len) in audit_log_n_hex()
2094 bool audit_string_contains_control(const char *string, size_t len) in audit_string_contains_control()
2119 size_t len) in audit_log_n_untrustedstring()
2184 unsigned len; in audit_log_task_context() local
Dauditsc.c990 u32 len; in audit_log_pid_context() local
1290 u32 len; in show_special() local
1378 static inline int audit_proctitle_rtrim(char *proctitle, int len) in audit_proctitle_rtrim()
1445 u32 len; in audit_log_name() local
1486 int len = strlen(msg); in audit_log_proctitle() local
2447 int __audit_sockaddr(int len, void *a) in __audit_sockaddr()
/kernel/printk/
Dprintk_safe.c39 atomic_t len; /* length of written data */ member
75 size_t len; in printk_safe_log_store() local
113 static inline void printk_safe_flush_line(const char *text, int len) in printk_safe_flush_line()
125 static int printk_safe_flush_buffer(const char *start, size_t len) in printk_safe_flush_buffer()
188 size_t len; in __printk_safe_flush() local
384 int len; in vprintk_func() local
Dprintk.c124 size_t len; in __control_devkmsg() local
644 ssize_t len; in msg_add_dict_text() local
660 ssize_t len; in msg_print_ext_body() local
707 size_t len = iov_iter_count(from); in devkmsg_write() local
768 size_t len; in devkmsg_read() local
1327 size_t len = 0; in info_print_prefix() local
1372 size_t len = 0; in record_print_text() local
1485 int len = 0; in syslog_print() local
1554 int len = 0; in syslog_print_all() local
1617 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/trace/
Dtrace_seq.c207 unsigned int len = strlen(str); in trace_seq_puts() local
259 void trace_seq_putmem(struct trace_seq *s, const void *mem, unsigned int len) in trace_seq_putmem()
286 unsigned int len) in trace_seq_putmem_hex()
379 const void *buf, size_t len, bool ascii) in trace_seq_hex_dump()
Dtrace_probe.c64 int len = *(u32 *)data >> 16; in PRINT_TYPE_FUNC_NAME() local
166 int i, len = 0, pos = 0; in __trace_probe_log_err() local
233 int len; in traceprobe_parse_event_name() local
277 int len; in parse_probe_vars() local
342 size_t len = strlen(str); in __parse_imm_string() local
548 int ret, len; in traceprobe_parse_probe_arg_body() local
842 static int __set_print_fmt(struct trace_probe *tp, char *buf, int len, in __set_print_fmt()
907 int len; in traceprobe_set_print_fmt() local
Dtrace_events_filter.c423 int len; in predicate_parse() local
720 int len; in filter_pchar() local
833 static int regex_match_full(char *str, struct regex *r, int len) in regex_match_full()
842 static int regex_match_front(char *str, struct regex *r, int len) in regex_match_front()
850 static int regex_match_middle(char *str, struct regex *r, int len) in regex_match_middle()
858 static int regex_match_end(char *str, struct regex *r, int len) in regex_match_end()
892 enum regex_type filter_parse_regex(char *buff, int len, char **search, int *not) in filter_parse_regex()
1007 int len; in append_filter_err() local
1235 int len; in parse_pred() local
2002 ftrace_function_filter_re(char *buf, int len, int *count) in ftrace_function_filter_re()
[all …]
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
199 int len; in parse_entry() local
Dtrace_events_synth.c168 unsigned int len; in synth_field_string_size() local
401 unsigned int len = 0; in trace_string() local
434 unsigned int i, n_u64, val_idx, len, data_size = 0; in trace_event_raw_event_synth() local
521 char *buf, int len) in __set_synth_event_print_fmt()
559 int len; in set_synth_event_print_fmt() local
587 int len, ret = -ENOMEM; in parse_synth_field() local
1520 unsigned int i, n_u64, len, data_size = 0; in synth_event_trace() local
1625 unsigned int i, n_u64, field_pos, len, data_size = 0; in synth_event_trace_array() local
1942 int len; in create_synth_event() local
/kernel/power/
Dwakelock.c42 int len = 0; in pm_show_wakelocks() local
147 static struct wakelock *wakelock_lookup_add(const char *name, size_t len, in wakelock_lookup_add()
208 size_t len; in pm_wake_lock() local
254 size_t len; in pm_wake_unlock() local
/kernel/bpf/
Ddisasm.c18 char *buff, size_t len) in __func_get_name()
38 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/debug/kdb/
Dkdb_io.c205 int len = strlen(buffer); in kdb_read() local
549 int len; in kdb_msg_write() local
590 int fnd, len; in vkdb_printf() local
/kernel/events/
Dring_buffer.c288 const void *buf, unsigned int len) in perf_output_copy()
294 unsigned int len) in perf_output_skip()
575 unsigned long tocopy, remainder, len = 0; in perf_output_copy_aux() local
/kernel/gcov/
Dfs.c273 size_t len, loff_t *pos) in gcov_seq_write()
526 size_t len, loff_t *pos) in reset_write()
547 static ssize_t reset_read(struct file *file, char __user *addr, size_t len, in reset_read()
/kernel/kcsan/
Dreport.c195 int len = scnprintf(buf, sizeof(buf), "%ps", (void *)top_frame); in skip_report() local
270 int len, skip; in get_stack_skipnr() local
/kernel/locking/
Dqspinlock_stat.h40 int cpu, id, len; in lockevent_read() local

1234