Home
last modified time | relevance | path

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

12345678

/Linux-v4.19/include/linux/
Dsysctl.h34 struct ctl_table;
40 typedef int proc_handler (struct ctl_table *ctl, int write,
43 extern int proc_dostring(struct ctl_table *, int,
45 extern int proc_dointvec(struct ctl_table *, int,
47 extern int proc_douintvec(struct ctl_table *, int,
49 extern int proc_dointvec_minmax(struct ctl_table *, int,
51 extern int proc_douintvec_minmax(struct ctl_table *table, int write,
54 extern int proc_dointvec_jiffies(struct ctl_table *, int,
56 extern int proc_dointvec_userhz_jiffies(struct ctl_table *, int,
58 extern int proc_dointvec_ms_jiffies(struct ctl_table *, int,
[all …]
Dnmi.h202 struct ctl_table;
203 extern int proc_watchdog(struct ctl_table *, int ,
205 extern int proc_nmi_watchdog(struct ctl_table *, int ,
207 extern int proc_soft_watchdog(struct ctl_table *, int ,
209 extern int proc_watchdog_thresh(struct ctl_table *, int ,
211 extern int proc_watchdog_cpumask(struct ctl_table *, int,
Dwriteback.h335 extern int dirty_background_ratio_handler(struct ctl_table *table, int write,
338 extern int dirty_background_bytes_handler(struct ctl_table *table, int write,
341 extern int dirty_ratio_handler(struct ctl_table *table, int write,
344 extern int dirty_bytes_handler(struct ctl_table *table, int write,
347 int dirtytime_interval_handler(struct ctl_table *table, int write,
350 struct ctl_table;
351 int dirty_writeback_centisecs_handler(struct ctl_table *, int,
/Linux-v4.19/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[] = {
206 appldata_timer_handler(struct ctl_table *ctl, int write, in appldata_timer_handler()
213 struct ctl_table ctl_entry = { in appldata_timer_handler()
241 appldata_interval_handler(struct ctl_table *ctl, int write, in appldata_interval_handler()
247 struct ctl_table ctl_entry = { in appldata_interval_handler()
272 appldata_generic_handler(struct ctl_table *ctl, int write, in appldata_generic_handler()
281 struct ctl_table ctl_entry = { in appldata_generic_handler()
[all …]
/Linux-v4.19/fs/proc/
Dproc_sysctl.c26 struct ctl_table sysctl_mount_point[] = {
32 return head->ctl_table[0].child == sysctl_mount_point; in is_empty_dir()
37 dir->header.ctl_table[0].child = sysctl_mount_point; in set_empty_dir()
43 dir->header.ctl_table[0].child = NULL; in clear_empty_dir()
55 static struct ctl_table root_table[] = {
66 .ctl_table = root_table }},
77 struct ctl_table **pentry);
85 pr_cont("%s/", dir->header.ctl_table[0].procname); in sysctl_print_dir()
104 static struct ctl_table *find_entry(struct ctl_table_header **phead, in find_entry()
108 struct ctl_table *entry; in find_entry()
[all …]
/Linux-v4.19/net/sctp/
Dsysctl.c61 static int proc_sctp_do_hmac_alg(struct ctl_table *ctl, int write,
64 static int proc_sctp_do_rto_min(struct ctl_table *ctl, int write,
67 static int proc_sctp_do_rto_max(struct ctl_table *ctl, int write,
70 static int proc_sctp_do_alpha_beta(struct ctl_table *ctl, int write,
73 static int proc_sctp_do_auth(struct ctl_table *ctl, int write,
77 static struct ctl_table sctp_table[] = {
103 static struct ctl_table sctp_net_table[] = {
336 static int proc_sctp_do_hmac_alg(struct ctl_table *ctl, int write, in proc_sctp_do_hmac_alg()
341 struct ctl_table tbl; in proc_sctp_do_hmac_alg()
347 memset(&tbl, 0, sizeof(struct ctl_table)); in proc_sctp_do_hmac_alg()
[all …]
/Linux-v4.19/ipc/
Dipc_sysctl.c21 static void *get_ipc(struct ctl_table *table) in get_ipc()
30 static int proc_ipc_dointvec(struct ctl_table *table, int write, in proc_ipc_dointvec()
33 struct ctl_table ipc_table; in proc_ipc_dointvec()
41 static int proc_ipc_dointvec_minmax(struct ctl_table *table, int write, in proc_ipc_dointvec_minmax()
44 struct ctl_table ipc_table; in proc_ipc_dointvec_minmax()
52 static int proc_ipc_dointvec_minmax_orphans(struct ctl_table *table, int write, in proc_ipc_dointvec_minmax_orphans()
65 static int proc_ipc_doulongvec_minmax(struct ctl_table *table, int write, in proc_ipc_doulongvec_minmax()
68 struct ctl_table ipc_table; in proc_ipc_doulongvec_minmax()
76 static int proc_ipc_auto_msgmni(struct ctl_table *table, int write, in proc_ipc_auto_msgmni()
79 struct ctl_table ipc_table; in proc_ipc_auto_msgmni()
[all …]
Dmq_sysctl.c17 static void *get_mq(struct ctl_table *table) in get_mq()
25 static int proc_mq_dointvec(struct ctl_table *table, int write, in proc_mq_dointvec()
28 struct ctl_table mq_table; in proc_mq_dointvec()
35 static int proc_mq_dointvec_minmax(struct ctl_table *table, int write, in proc_mq_dointvec_minmax()
38 struct ctl_table mq_table; in proc_mq_dointvec_minmax()
56 static struct ctl_table mq_sysctls[] = {
103 static struct ctl_table mq_sysctl_dir[] = {
112 static struct ctl_table mq_sysctl_root[] = {
/Linux-v4.19/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,
70 extern int sched_rr_handler(struct ctl_table *table, int write,
74 extern int sched_rt_handler(struct ctl_table *table, int write,
78 extern int sysctl_numa_balancing(struct ctl_table *table, int write,
82 extern int sysctl_schedstats(struct ctl_table *table, int write,
/Linux-v4.19/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-v4.19/kernel/
Dutsname_sysctl.c21 static void *get_uts(struct ctl_table *table) in get_uts()
36 static int proc_do_uts_string(struct ctl_table *table, int write, in proc_do_uts_string()
39 struct ctl_table uts_table; in proc_do_uts_string()
79 static struct ctl_table uts_kern_table[] = {
120 static struct ctl_table uts_root_table[] = {
136 struct ctl_table *table = &uts_kern_table[proc]; in uts_proc_notify()
Dsysctl.c207 static int proc_do_cad_pid(struct ctl_table *table, int write,
209 static int proc_taint(struct ctl_table *table, int write,
214 static int proc_dointvec_minmax_sysadmin(struct ctl_table *table, int write,
218 static int proc_dointvec_minmax_coredump(struct ctl_table *table, int write,
221 static int proc_dostring_coredump(struct ctl_table *table, int write,
224 static int proc_dopipe_max_size(struct ctl_table *table, int write,
231 static int sysrq_sysctl_handler(struct ctl_table *table, int write, in sysrq_sysctl_handler()
249 static struct ctl_table kern_table[];
250 static struct ctl_table vm_table[];
251 static struct ctl_table fs_table[];
[all …]
/Linux-v4.19/net/core/
Dsysctl_net_core.c38 static int rps_sock_flow_sysctl(struct ctl_table *table, int write, in rps_sock_flow_sysctl()
43 struct ctl_table tmp = { in rps_sock_flow_sysctl()
108 static int flow_limit_cpu_sysctl(struct ctl_table *table, int write, in flow_limit_cpu_sysctl()
187 static int flow_limit_table_len_sysctl(struct ctl_table *table, int write, in flow_limit_table_len_sysctl()
210 static int set_default_qdisc(struct ctl_table *table, int write, in set_default_qdisc()
214 struct ctl_table tbl = { in set_default_qdisc()
229 static int proc_do_dev_weight(struct ctl_table *table, int write, in proc_do_dev_weight()
244 static int proc_do_rss_key(struct ctl_table *table, int write, in proc_do_rss_key()
247 struct ctl_table fake_table; in proc_do_rss_key()
257 static int proc_dointvec_minmax_bpf_enable(struct ctl_table *table, int write, in proc_dointvec_minmax_bpf_enable()
[all …]
/Linux-v4.19/net/ipv6/
Dsysctl_net_ipv6.c29 static int proc_rt6_multipath_hash_policy(struct ctl_table *table, int write, in proc_rt6_multipath_hash_policy()
45 static struct ctl_table ipv6_table_template[] = {
165 static struct ctl_table ipv6_rotable[] = {
202 struct ctl_table *ipv6_table; in ipv6_sysctl_net_init()
203 struct ctl_table *ipv6_route_table; in ipv6_sysctl_net_init()
204 struct ctl_table *ipv6_icmp_table; in ipv6_sysctl_net_init()
269 struct ctl_table *ipv6_table; in ipv6_sysctl_net_exit()
270 struct ctl_table *ipv6_route_table; in ipv6_sysctl_net_exit()
271 struct ctl_table *ipv6_icmp_table; in ipv6_sysctl_net_exit()
/Linux-v4.19/net/ipv4/
Dsysctl_net_ipv4.c72 static int ipv4_local_port_range(struct ctl_table *table, int write, in ipv4_local_port_range()
80 struct ctl_table tmp = { in ipv4_local_port_range()
108 static int ipv4_privileged_ports(struct ctl_table *table, int write, in ipv4_privileged_ports()
116 struct ctl_table tmp = { in ipv4_privileged_ports()
142 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()
157 static void set_ping_group_range(struct ctl_table *table, kgid_t low, kgid_t high) in set_ping_group_range()
169 static int ipv4_ping_group_range(struct ctl_table *table, int write, in ipv4_ping_group_range()
177 struct ctl_table tmp = { in ipv4_ping_group_range()
205 static int ipv4_fwd_update_priority(struct ctl_table *table, int write, in ipv4_fwd_update_priority()
222 static int proc_tcp_congestion_control(struct ctl_table *ctl, int write, in proc_tcp_congestion_control()
[all …]
/Linux-v4.19/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-v4.19/arch/mips/lasat/
Dsysctl.c41 int proc_dolasatstring(struct ctl_table *table, int write, in proc_dolasatstring()
59 int proc_dolasatrtc(struct ctl_table *table, int write, in proc_dolasatrtc()
92 int proc_lasat_ip(struct ctl_table *table, int write, in proc_lasat_ip()
152 int proc_lasat_prid(struct ctl_table *table, int write, in proc_lasat_prid()
171 static struct ctl_table lasat_table[] = {
257 static struct ctl_table lasat_root_table[] = {
/Linux-v4.19/net/sunrpc/
Dsysctl.c43 static struct ctl_table sunrpc_table[];
61 static int proc_do_xprt(struct ctl_table *table, int write, in proc_do_xprt()
76 proc_dodebug(struct ctl_table *table, int write, in proc_dodebug()
139 static struct ctl_table debug_table[] = {
177 static struct ctl_table sunrpc_table[] = {
/Linux-v4.19/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-v4.19/arch/arm/kernel/
Disa.c23 static struct ctl_table ctl_isa_vars[4] = {
47 static struct ctl_table ctl_isa[2] = {
55 static struct ctl_table ctl_bus[2] = {
/Linux-v4.19/net/
Dsysctl_net.c42 struct ctl_table *table) in net_ctl_permissions()
56 struct ctl_table *table, in net_ctl_set_ownership()
97 static struct ctl_table empty[1]; in net_sysctl_init()
118 const char *path, struct ctl_table *table) in register_net_sysctl()
/Linux-v4.19/net/unix/
Dsysctl_net_unix.c18 static struct ctl_table unix_table[] = {
31 struct ctl_table *table; in unix_sysctl_register()
56 struct ctl_table *table; in unix_sysctl_unregister()
/Linux-v4.19/net/netfilter/
Dnf_conntrack_proto_dccp.c735 static struct ctl_table dccp_sysctl_table[] = {
792 if (pn->ctl_table) in dccp_kmemdup_sysctl_table()
795 pn->ctl_table = kmemdup(dccp_sysctl_table, in dccp_kmemdup_sysctl_table()
798 if (!pn->ctl_table) in dccp_kmemdup_sysctl_table()
801 pn->ctl_table[0].data = &dn->dccp_timeout[CT_DCCP_REQUEST]; in dccp_kmemdup_sysctl_table()
802 pn->ctl_table[1].data = &dn->dccp_timeout[CT_DCCP_RESPOND]; in dccp_kmemdup_sysctl_table()
803 pn->ctl_table[2].data = &dn->dccp_timeout[CT_DCCP_PARTOPEN]; in dccp_kmemdup_sysctl_table()
804 pn->ctl_table[3].data = &dn->dccp_timeout[CT_DCCP_OPEN]; in dccp_kmemdup_sysctl_table()
805 pn->ctl_table[4].data = &dn->dccp_timeout[CT_DCCP_CLOSEREQ]; in dccp_kmemdup_sysctl_table()
806 pn->ctl_table[5].data = &dn->dccp_timeout[CT_DCCP_CLOSING]; in dccp_kmemdup_sysctl_table()
[all …]
/Linux-v4.19/net/phonet/
Dsysctl.c64 static int proc_local_port_range(struct ctl_table *table, int write, in proc_local_port_range()
70 struct ctl_table tmp = { in proc_local_port_range()
90 static struct ctl_table phonet_table[] = {

12345678