Home
last modified time | relevance | path

Searched refs:maxlen (Results 1 – 14 of 14) sorted by relevance

/kernel/
Dsysctl.c324 .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 …]
Dutsname_sysctl.c79 .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),
Dkallsyms.c58 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()
Dstackleak.c30 table->maxlen = sizeof(int); in stack_erasing_sysctl()
Dumh.c716 .maxlen = _KERNEL_CAPABILITY_U32S * sizeof(unsigned long),
723 .maxlen = _KERNEL_CAPABILITY_U32S * sizeof(unsigned long),
Ducount.c58 .maxlen = sizeof(int), \
Dseccomp.c1692 table.maxlen = sizeof(names); in read_actions_logged()
1710 table.maxlen = sizeof(names); in write_actions_logged()
1786 .maxlen = sizeof(seccomp_actions_avail),
Dparams.c495 if (strlen(val)+1 > kps->maxlen) { in param_set_copystring()
497 kp->name, kps->maxlen-1); in param_set_copystring()
Dpid_namespace.c297 .maxlen = sizeof(int),
/kernel/trace/
Dtrace_probe_tmpl.h192 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()
Dtrace_kprobe.c1066 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()
Dtrace_probe.h72 u32 maxlen = get_loc_len(loc); in update_data_loc() local
75 return make_data_loc(maxlen - consumed, offset + consumed); in update_data_loc()
Dtrace_uprobe.c159 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/
Ddebug.c238 const char *procname, void *data, int maxlen, in set_table_entry() argument
243 entry->maxlen = maxlen; in set_table_entry()