Searched refs:maxlen (Results 1 – 14 of 14) sorted by relevance
/kernel/ |
D | sysctl.c | 324 .maxlen = sizeof(unsigned int), 332 .maxlen = sizeof(unsigned int), 341 .maxlen = sizeof(unsigned int), 350 .maxlen = sizeof(unsigned int), 360 .maxlen = sizeof(enum sched_tunable_scaling), 369 .maxlen = sizeof(unsigned int), 376 .maxlen = sizeof(unsigned int), 384 .maxlen = sizeof(unsigned int), 396 .maxlen = sizeof(unsigned int), 403 .maxlen = sizeof(unsigned int), [all …]
|
D | utsname_sysctl.c | 79 .maxlen = sizeof(init_uts_ns.name.sysname), 86 .maxlen = sizeof(init_uts_ns.name.release), 93 .maxlen = sizeof(init_uts_ns.name.version), 100 .maxlen = sizeof(init_uts_ns.name.nodename), 108 .maxlen = sizeof(init_uts_ns.name.domainname),
|
D | kallsyms.c | 58 char *result, size_t maxlen) in kallsyms_expand_symbol() argument 85 if (maxlen <= 1) in kallsyms_expand_symbol() 89 maxlen--; in kallsyms_expand_symbol() 97 if (maxlen) in kallsyms_expand_symbol()
|
D | stackleak.c | 30 table->maxlen = sizeof(int); in stack_erasing_sysctl()
|
D | umh.c | 716 .maxlen = _KERNEL_CAPABILITY_U32S * sizeof(unsigned long), 723 .maxlen = _KERNEL_CAPABILITY_U32S * sizeof(unsigned long),
|
D | ucount.c | 58 .maxlen = sizeof(int), \
|
D | seccomp.c | 1692 table.maxlen = sizeof(names); in read_actions_logged() 1710 table.maxlen = sizeof(names); in write_actions_logged() 1786 .maxlen = sizeof(seccomp_actions_avail),
|
D | params.c | 495 if (strlen(val)+1 > kps->maxlen) { in param_set_copystring() 497 kp->name, kps->maxlen-1); in param_set_copystring()
|
D | pid_namespace.c | 297 .maxlen = sizeof(int),
|
/kernel/trace/ |
D | trace_probe_tmpl.h | 192 int header_size, int maxlen) in store_trace_args() argument 205 *dl = make_data_loc(maxlen, dyndata - base); in store_trace_args() 211 maxlen -= ret; in store_trace_args()
|
D | trace_kprobe.c | 1066 int maxlen = get_loc_len(*(u32 *)dest); in fetch_store_string() local 1070 if (unlikely(!maxlen)) in fetch_store_string() 1079 ret = strncpy_from_unsafe(__dest, (void *)addr, maxlen); in fetch_store_string() 1094 int maxlen = get_loc_len(*(u32 *)dest); in fetch_store_string_user() local 1098 if (unlikely(!maxlen)) in fetch_store_string_user() 1103 ret = strncpy_from_unsafe_user(__dest, uaddr, maxlen); in fetch_store_string_user()
|
D | trace_probe.h | 72 u32 maxlen = get_loc_len(loc); in update_data_loc() local 75 return make_data_loc(maxlen - consumed, offset + consumed); in update_data_loc()
|
D | trace_uprobe.c | 159 int maxlen = get_loc_len(loc); in fetch_store_string() local 163 if (unlikely(!maxlen)) in fetch_store_string() 167 ret = strlcpy(dst, current->comm, maxlen); in fetch_store_string() 169 ret = strncpy_from_user(dst, src, maxlen); in fetch_store_string() 171 if (ret == maxlen) in fetch_store_string()
|
/kernel/sched/ |
D | debug.c | 238 const char *procname, void *data, int maxlen, in set_table_entry() argument 243 entry->maxlen = maxlen; in set_table_entry()
|