Home
last modified time | relevance | path

Searched refs:ctl_table (Results 1 – 25 of 173) sorted by relevance

1234567

/Linux-v5.4/include/linux/
Dsysctl.h34 struct ctl_table;
47 typedef int proc_handler (struct ctl_table *ctl, int write,
50 extern int proc_dostring(struct ctl_table *, int,
52 extern int proc_dointvec(struct ctl_table *, int,
54 extern int proc_douintvec(struct ctl_table *, int,
56 extern int proc_dointvec_minmax(struct ctl_table *, int,
58 extern int proc_douintvec_minmax(struct ctl_table *table, int write,
61 extern int proc_dointvec_jiffies(struct ctl_table *, int,
63 extern int proc_dointvec_userhz_jiffies(struct ctl_table *, int,
65 extern int proc_dointvec_ms_jiffies(struct ctl_table *, int,
[all …]
Dnmi.h204 struct ctl_table;
205 extern int proc_watchdog(struct ctl_table *, int ,
207 extern int proc_nmi_watchdog(struct ctl_table *, int ,
209 extern int proc_soft_watchdog(struct ctl_table *, int ,
211 extern int proc_watchdog_thresh(struct ctl_table *, int ,
213 extern int proc_watchdog_cpumask(struct ctl_table *, int,
Dwriteback.h365 extern int dirty_background_ratio_handler(struct ctl_table *table, int write,
368 extern int dirty_background_bytes_handler(struct ctl_table *table, int write,
371 extern int dirty_ratio_handler(struct ctl_table *table, int write,
374 extern int dirty_bytes_handler(struct ctl_table *table, int write,
377 int dirtytime_interval_handler(struct ctl_table *table, int write,
380 struct ctl_table;
381 int dirty_writeback_centisecs_handler(struct ctl_table *, int,
/Linux-v5.4/arch/s390/appldata/
Dappldata_base.c53 static int appldata_timer_handler(struct ctl_table *ctl, int write,
55 static int appldata_interval_handler(struct ctl_table *ctl, int write,
60 static struct ctl_table appldata_table[] = {
74 static struct ctl_table appldata_dir_table[] = {
219 appldata_timer_handler(struct ctl_table *ctl, int write, in appldata_timer_handler()
224 struct ctl_table ctl_entry = { in appldata_timer_handler()
252 appldata_interval_handler(struct ctl_table *ctl, int write, in appldata_interval_handler()
257 struct ctl_table ctl_entry = { in appldata_interval_handler()
282 appldata_generic_handler(struct ctl_table *ctl, int write, in appldata_generic_handler()
289 struct ctl_table ctl_entry = { in appldata_generic_handler()
[all …]
/Linux-v5.4/fs/proc/
Dproc_sysctl.c31 struct ctl_table sysctl_mount_point[] = {
37 return head->ctl_table[0].child == sysctl_mount_point; in is_empty_dir()
42 dir->header.ctl_table[0].child = sysctl_mount_point; in set_empty_dir()
48 dir->header.ctl_table[0].child = NULL; in clear_empty_dir()
60 static struct ctl_table root_table[] = {
71 .ctl_table = root_table }},
82 struct ctl_table **pentry);
90 pr_cont("%s/", dir->header.ctl_table[0].procname); in sysctl_print_dir()
109 static struct ctl_table *find_entry(struct ctl_table_header **phead, in find_entry()
113 struct ctl_table *entry; in find_entry()
[all …]
/Linux-v5.4/include/linux/sched/
Dsysctl.h7 struct ctl_table;
15 extern int proc_dohung_task_timeout_secs(struct ctl_table *table, int write,
45 int sched_proc_update_handler(struct ctl_table *table, int write,
75 extern int sched_rr_handler(struct ctl_table *table, int write,
79 extern int sched_rt_handler(struct ctl_table *table, int write,
84 extern int sysctl_sched_uclamp_handler(struct ctl_table *table, int write,
89 extern int sysctl_numa_balancing(struct ctl_table *table, int write,
93 extern int sysctl_schedstats(struct ctl_table *table, int write,
99 extern int sched_energy_aware_handler(struct ctl_table *table, int write,
/Linux-v5.4/net/sctp/
Dsysctl.c43 static int proc_sctp_do_hmac_alg(struct ctl_table *ctl, int write,
46 static int proc_sctp_do_rto_min(struct ctl_table *ctl, int write,
49 static int proc_sctp_do_rto_max(struct ctl_table *ctl, int write,
52 static int proc_sctp_do_alpha_beta(struct ctl_table *ctl, int write,
55 static int proc_sctp_do_auth(struct ctl_table *ctl, int write,
59 static struct ctl_table sctp_table[] = {
85 static struct ctl_table sctp_net_table[] = {
325 static int proc_sctp_do_hmac_alg(struct ctl_table *ctl, int write, in proc_sctp_do_hmac_alg()
330 struct ctl_table tbl; in proc_sctp_do_hmac_alg()
336 memset(&tbl, 0, sizeof(struct ctl_table)); in proc_sctp_do_hmac_alg()
[all …]
/Linux-v5.4/ipc/
Dipc_sysctl.c17 static void *get_ipc(struct ctl_table *table) in get_ipc()
26 static int proc_ipc_dointvec(struct ctl_table *table, int write, in proc_ipc_dointvec()
29 struct ctl_table ipc_table; in proc_ipc_dointvec()
37 static int proc_ipc_dointvec_minmax(struct ctl_table *table, int write, in proc_ipc_dointvec_minmax()
40 struct ctl_table ipc_table; in proc_ipc_dointvec_minmax()
48 static int proc_ipc_dointvec_minmax_orphans(struct ctl_table *table, int write, in proc_ipc_dointvec_minmax_orphans()
61 static int proc_ipc_doulongvec_minmax(struct ctl_table *table, int write, in proc_ipc_doulongvec_minmax()
64 struct ctl_table ipc_table; in proc_ipc_doulongvec_minmax()
72 static int proc_ipc_auto_msgmni(struct ctl_table *table, int write, in proc_ipc_auto_msgmni()
75 struct ctl_table ipc_table; in proc_ipc_auto_msgmni()
[all …]
Dmq_sysctl.c13 static void *get_mq(struct ctl_table *table) in get_mq()
21 static int proc_mq_dointvec(struct ctl_table *table, int write, in proc_mq_dointvec()
24 struct ctl_table mq_table; in proc_mq_dointvec()
31 static int proc_mq_dointvec_minmax(struct ctl_table *table, int write, in proc_mq_dointvec_minmax()
34 struct ctl_table mq_table; in proc_mq_dointvec_minmax()
52 static struct ctl_table mq_sysctls[] = {
99 static struct ctl_table mq_sysctl_dir[] = {
108 static struct ctl_table mq_sysctl_root[] = {
/Linux-v5.4/drivers/parport/
Dprocfs.c36 static int do_active_device(struct ctl_table *table, int write, in do_active_device()
73 static int do_autoprobe(struct ctl_table *table, int write, in do_autoprobe()
115 static int do_hardware_base_addr(struct ctl_table *table, int write, in do_hardware_base_addr()
143 static int do_hardware_irq(struct ctl_table *table, int write, in do_hardware_irq()
171 static int do_hardware_dma(struct ctl_table *table, int write, in do_hardware_dma()
199 static int do_hardware_modes(struct ctl_table *table, int write, in do_hardware_modes()
260 struct ctl_table vars[12];
261 struct ctl_table device_dir[2];
262 struct ctl_table port_dir[2];
263 struct ctl_table parport_dir[2];
[all …]
/Linux-v5.4/kernel/
Dutsname_sysctl.c17 static void *get_uts(struct ctl_table *table) in get_uts()
32 static int proc_do_uts_string(struct ctl_table *table, int write, in proc_do_uts_string()
35 struct ctl_table uts_table; in proc_do_uts_string()
75 static struct ctl_table uts_kern_table[] = {
116 static struct ctl_table uts_root_table[] = {
132 struct ctl_table *table = &uts_kern_table[proc]; in uts_proc_notify()
Dsysctl.c211 static int proc_do_cad_pid(struct ctl_table *table, int write,
213 static int proc_taint(struct ctl_table *table, int write,
218 static int proc_dointvec_minmax_sysadmin(struct ctl_table *table, int write,
222 static int proc_dointvec_minmax_coredump(struct ctl_table *table, int write,
225 static int proc_dostring_coredump(struct ctl_table *table, int write,
228 static int proc_dopipe_max_size(struct ctl_table *table, int write,
235 static int sysrq_sysctl_handler(struct ctl_table *table, int write, in sysrq_sysctl_handler()
253 static struct ctl_table kern_table[];
254 static struct ctl_table vm_table[];
255 static struct ctl_table fs_table[];
[all …]
/Linux-v5.4/net/core/
Dsysctl_net_core.c47 static int rps_sock_flow_sysctl(struct ctl_table *table, int write, in rps_sock_flow_sysctl()
52 struct ctl_table tmp = { in rps_sock_flow_sysctl()
117 static int flow_limit_cpu_sysctl(struct ctl_table *table, int write, in flow_limit_cpu_sysctl()
196 static int flow_limit_table_len_sysctl(struct ctl_table *table, int write, in flow_limit_table_len_sysctl()
219 static int set_default_qdisc(struct ctl_table *table, int write, in set_default_qdisc()
223 struct ctl_table tbl = { in set_default_qdisc()
238 static int proc_do_dev_weight(struct ctl_table *table, int write, in proc_do_dev_weight()
253 static int proc_do_rss_key(struct ctl_table *table, int write, in proc_do_rss_key()
256 struct ctl_table fake_table; in proc_do_rss_key()
266 static int proc_dointvec_minmax_bpf_enable(struct ctl_table *table, int write, in proc_dointvec_minmax_bpf_enable()
[all …]
/Linux-v5.4/net/ipv6/
Dsysctl_net_ipv6.c28 static int proc_rt6_multipath_hash_policy(struct ctl_table *table, int write, in proc_rt6_multipath_hash_policy()
44 static struct ctl_table ipv6_table_template[] = {
166 static struct ctl_table ipv6_rotable[] = {
203 struct ctl_table *ipv6_table; in ipv6_sysctl_net_init()
204 struct ctl_table *ipv6_route_table; in ipv6_sysctl_net_init()
205 struct ctl_table *ipv6_icmp_table; in ipv6_sysctl_net_init()
270 struct ctl_table *ipv6_table; in ipv6_sysctl_net_exit()
271 struct ctl_table *ipv6_route_table; in ipv6_sysctl_net_exit()
272 struct ctl_table *ipv6_icmp_table; in ipv6_sysctl_net_exit()
/Linux-v5.4/arch/mips/lasat/
Dsysctl.c29 int proc_dolasatstring(struct ctl_table *table, int write, in proc_dolasatstring()
47 int proc_dolasatrtc(struct ctl_table *table, int write, in proc_dolasatrtc()
80 int proc_lasat_ip(struct ctl_table *table, int write, in proc_lasat_ip()
140 int proc_lasat_prid(struct ctl_table *table, int write, in proc_lasat_prid()
159 static struct ctl_table lasat_table[] = {
245 static struct ctl_table lasat_root_table[] = {
/Linux-v5.4/drivers/scsi/
Dscsi_sysctl.c15 static struct ctl_table scsi_table[] = {
24 static struct ctl_table scsi_dir_table[] = {
31 static struct ctl_table scsi_root_table[] = {
/Linux-v5.4/net/sunrpc/
Dsysctl.c44 static struct ctl_table sunrpc_table[];
62 static int proc_do_xprt(struct ctl_table *table, int write, in proc_do_xprt()
77 proc_dodebug(struct ctl_table *table, int write, in proc_dodebug()
140 static struct ctl_table debug_table[] = {
178 static struct ctl_table sunrpc_table[] = {
/Linux-v5.4/net/ipv4/
Dsysctl_net_ipv4.c73 static int ipv4_local_port_range(struct ctl_table *table, int write, in ipv4_local_port_range()
81 struct ctl_table tmp = { in ipv4_local_port_range()
109 static int ipv4_privileged_ports(struct ctl_table *table, int write, in ipv4_privileged_ports()
117 struct ctl_table tmp = { in ipv4_privileged_ports()
143 static void inet_get_ping_group_range_table(struct ctl_table *table, kgid_t *low, kgid_t *high) in inet_get_ping_group_range_table()
158 static void set_ping_group_range(struct ctl_table *table, kgid_t low, kgid_t high) in set_ping_group_range()
170 static int ipv4_ping_group_range(struct ctl_table *table, int write, in ipv4_ping_group_range()
178 struct ctl_table tmp = { in ipv4_ping_group_range()
206 static int ipv4_fwd_update_priority(struct ctl_table *table, int write, in ipv4_fwd_update_priority()
223 static int proc_tcp_congestion_control(struct ctl_table *ctl, int write, in proc_tcp_congestion_control()
[all …]
/Linux-v5.4/fs/nfs/
Dsysctl.c17 static struct ctl_table nfs_cb_sysctls[] = {
35 static struct ctl_table nfs_cb_sysctl_dir[] = {
44 static struct ctl_table nfs_cb_sysctl_root[] = {
Dnfs4sysctl.c20 static struct ctl_table nfs4_cb_sysctls[] = {
40 static struct ctl_table nfs4_cb_sysctl_dir[] = {
49 static struct ctl_table nfs4_cb_sysctl_root[] = {
/Linux-v5.4/arch/arm/kernel/
Disa.c19 static struct ctl_table ctl_isa_vars[4] = {
43 static struct ctl_table ctl_isa[2] = {
51 static struct ctl_table ctl_bus[2] = {
/Linux-v5.4/net/
Dsysctl_net.c43 struct ctl_table *table) in net_ctl_permissions()
57 struct ctl_table *table, in net_ctl_set_ownership()
98 static struct ctl_table empty[1]; in net_sysctl_init()
119 const char *path, struct ctl_table *table) in register_net_sysctl()
/Linux-v5.4/net/unix/
Dsysctl_net_unix.c14 static struct ctl_table unix_table[] = {
27 struct ctl_table *table; in unix_sysctl_register()
52 struct ctl_table *table; in unix_sysctl_unregister()
/Linux-v5.4/net/phonet/
Dsysctl.c51 static int proc_local_port_range(struct ctl_table *table, int write, in proc_local_port_range()
57 struct ctl_table tmp = { in proc_local_port_range()
77 static struct ctl_table phonet_table[] = {
/Linux-v5.4/kernel/sched/
Ddebug.c190 static struct ctl_table sd_ctl_dir[] = {
198 static struct ctl_table sd_ctl_root[] = {
207 static struct ctl_table *sd_alloc_ctl_entry(int n) in sd_alloc_ctl_entry()
209 struct ctl_table *entry = in sd_alloc_ctl_entry()
210 kcalloc(n, sizeof(struct ctl_table), GFP_KERNEL); in sd_alloc_ctl_entry()
215 static void sd_free_ctl_entry(struct ctl_table **tablep) in sd_free_ctl_entry()
217 struct ctl_table *entry; in sd_free_ctl_entry()
237 set_table_entry(struct ctl_table *entry, in set_table_entry()
248 static struct ctl_table *
251 struct ctl_table *table = sd_alloc_ctl_entry(9); in sd_alloc_ctl_domain_table()
[all …]

1234567