Home
last modified time | relevance | path

Searched refs:table (Results 1 – 9 of 9) sorted by relevance

/kernel/
Dsysctl_check.c1241 static int sysctl_depth(struct ctl_table *table) in sysctl_depth() argument
1247 for (tmp = table; tmp->parent; tmp = tmp->parent) in sysctl_depth()
1253 static struct ctl_table *sysctl_parent(struct ctl_table *table, int n) in sysctl_parent() argument
1257 for (i = 0; table && i < n; i++) in sysctl_parent()
1258 table = table->parent; in sysctl_parent()
1260 return table; in sysctl_parent()
1263 static const struct trans_ctl_table *sysctl_binary_lookup(struct ctl_table *table) in sysctl_binary_lookup() argument
1269 cur_depth = sysctl_depth(table); in sysctl_binary_lookup()
1273 test = sysctl_parent(table, cur_depth); in sysctl_binary_lookup()
1305 static void sysctl_print_path(struct ctl_table *table) in sysctl_print_path() argument
[all …]
Dsysctl.c157 static int proc_do_cad_pid(struct ctl_table *table, int write, struct file *filp,
159 static int proc_taint(struct ctl_table *table, int write, struct file *filp,
1616 struct ctl_table *table, in do_sysctl_strategy() argument
1626 if (sysctl_perm(root, table, op)) in do_sysctl_strategy()
1629 if (table->strategy) { in do_sysctl_strategy()
1630 rc = table->strategy(table, oldval, oldlenp, newval, newlen); in do_sysctl_strategy()
1639 if (table->data && table->maxlen) { in do_sysctl_strategy()
1640 rc = sysctl_data(table, oldval, oldlenp, newval, newlen); in do_sysctl_strategy()
1651 struct ctl_table *table) in parse_table() argument
1659 for ( ; table->ctl_name || table->procname; table++) { in parse_table()
[all …]
Dutsname_sysctl.c17 static void *get_uts(ctl_table *table, int write) in get_uts() argument
19 char *which = table->data; in get_uts()
32 static void put_uts(ctl_table *table, int write, void *which) in put_uts() argument
45 static int proc_do_uts_string(ctl_table *table, int write, struct file *filp, in proc_do_uts_string() argument
50 memcpy(&uts_table, table, sizeof(uts_table)); in proc_do_uts_string()
51 uts_table.data = get_uts(table, write); in proc_do_uts_string()
53 put_uts(table, write, uts_table.data); in proc_do_uts_string()
63 static int sysctl_uts_string(ctl_table *table, in sysctl_uts_string() argument
70 memcpy(&uts_table, table, sizeof(uts_table)); in sysctl_uts_string()
71 uts_table.data = get_uts(table, write); in sysctl_uts_string()
[all …]
Dsoftlockup.c92 int proc_dosoftlockup_thresh(struct ctl_table *table, int write, in proc_dosoftlockup_thresh() argument
97 return proc_dointvec_minmax(table, write, filp, buffer, lenp, ppos); in proc_dosoftlockup_thresh()
Dsched.c6558 struct ctl_table *table = sd_alloc_ctl_entry(13); in sd_alloc_ctl_domain_table() local
6560 if (table == NULL) in sd_alloc_ctl_domain_table()
6563 set_table_entry(&table[0], "min_interval", &sd->min_interval, in sd_alloc_ctl_domain_table()
6565 set_table_entry(&table[1], "max_interval", &sd->max_interval, in sd_alloc_ctl_domain_table()
6567 set_table_entry(&table[2], "busy_idx", &sd->busy_idx, in sd_alloc_ctl_domain_table()
6569 set_table_entry(&table[3], "idle_idx", &sd->idle_idx, in sd_alloc_ctl_domain_table()
6571 set_table_entry(&table[4], "newidle_idx", &sd->newidle_idx, in sd_alloc_ctl_domain_table()
6573 set_table_entry(&table[5], "wake_idx", &sd->wake_idx, in sd_alloc_ctl_domain_table()
6575 set_table_entry(&table[6], "forkexec_idx", &sd->forkexec_idx, in sd_alloc_ctl_domain_table()
6577 set_table_entry(&table[7], "busy_factor", &sd->busy_factor, in sd_alloc_ctl_domain_table()
[all …]
Dsched_fair.c372 int sched_nr_latency_handler(struct ctl_table *table, int write, in sched_nr_latency_handler() argument
376 int ret = proc_dointvec_minmax(table, write, filp, buffer, lenp, ppos); in sched_nr_latency_handler()
/kernel/trace/
Dtrace_stack.c303 stack_trace_sysctl(struct ctl_table *table, int write, in stack_trace_sysctl() argument
311 ret = proc_dointvec(table, write, file, buffer, lenp, ppos); in stack_trace_sysctl()
Dftrace.c1929 ftrace_enable_sysctl(struct ctl_table *table, int write, in ftrace_enable_sysctl() argument
1940 ret = proc_dointvec(table, write, file, buffer, lenp, ppos); in ftrace_enable_sysctl()
DKconfig278 with a No-Op instruction) as they are called. A table is