Home
last modified time | relevance | path

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

1234567

/linux-3.4.99/fs/proc/
Dproc_sysctl.c30 static struct ctl_table root_table[] = {
41 .ctl_table = root_table }},
52 struct ctl_table **pentry, struct nsproxy *namespaces);
60 printk(KERN_CONT "%s/", dir->header.ctl_table[0].procname); in sysctl_print_dir()
79 static struct ctl_table *find_entry(struct ctl_table_header **phead, in find_entry()
83 struct ctl_table *entry; in find_entry()
94 entry = &head->ctl_table[ctl_node - head->node]; in find_entry()
110 static int insert_entry(struct ctl_table_header *head, struct ctl_table *entry) in insert_entry()
112 struct rb_node *node = &head->node[entry - head->ctl_table].node; in insert_entry()
120 struct ctl_table *parent_entry; in insert_entry()
[all …]
/linux-3.4.99/net/ipv6/
Dsysctl_net_ipv6.c19 static struct ctl_table empty[1];
21 static ctl_table ipv6_static_skeleton[] = {
31 static ctl_table ipv6_table_template[] = {
54 static ctl_table ipv6_rotable[] = {
74 struct ctl_table *ipv6_table; in ipv6_sysctl_net_init()
75 struct ctl_table *ipv6_route_table; in ipv6_sysctl_net_init()
76 struct ctl_table *ipv6_icmp_table; in ipv6_sysctl_net_init()
117 struct ctl_table *ipv6_table; in ipv6_sysctl_net_exit()
118 struct ctl_table *ipv6_route_table; in ipv6_sysctl_net_exit()
119 struct ctl_table *ipv6_icmp_table; in ipv6_sysctl_net_exit()
/linux-3.4.99/ipc/
Dipc_sysctl.c21 static void *get_ipc(ctl_table *table) in get_ipc()
30 static int proc_ipc_dointvec(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(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(ctl_table *table, int write, in proc_ipc_dointvec_minmax_orphans()
65 static int proc_ipc_callback_dointvec(ctl_table *table, int write, in proc_ipc_callback_dointvec()
68 struct ctl_table ipc_table; in proc_ipc_callback_dointvec()
88 static int proc_ipc_doulongvec_minmax(ctl_table *table, int write, in proc_ipc_doulongvec_minmax()
91 struct ctl_table ipc_table; in proc_ipc_doulongvec_minmax()
[all …]
Dmq_sysctl.c26 static void *get_mq(ctl_table *table) in get_mq()
34 static int proc_mq_dointvec(ctl_table *table, int write, in proc_mq_dointvec()
37 struct ctl_table mq_table; in proc_mq_dointvec()
44 static int proc_mq_dointvec_minmax(ctl_table *table, int write, in proc_mq_dointvec_minmax()
47 struct ctl_table mq_table; in proc_mq_dointvec_minmax()
65 static ctl_table mq_sysctls[] = {
94 static ctl_table mq_sysctl_dir[] = {
103 static ctl_table mq_sysctl_root[] = {
/linux-3.4.99/include/linux/
Dsysctl.h938 struct ctl_table;
944 typedef struct ctl_table ctl_table; typedef
946 typedef int proc_handler (struct ctl_table *ctl, int write,
949 extern int proc_dostring(struct ctl_table *, int,
951 extern int proc_dointvec(struct ctl_table *, int,
953 extern int proc_dointvec_minmax(struct ctl_table *, int,
955 extern int proc_dointvec_jiffies(struct ctl_table *, int,
957 extern int proc_dointvec_userhz_jiffies(struct ctl_table *, int,
959 extern int proc_dointvec_ms_jiffies(struct ctl_table *, int,
961 extern int proc_doulongvec_minmax(struct ctl_table *, int,
[all …]
Dwriteback.h139 extern int dirty_background_ratio_handler(struct ctl_table *table, int write,
142 extern int dirty_background_bytes_handler(struct ctl_table *table, int write,
145 extern int dirty_ratio_handler(struct ctl_table *table, int write,
148 extern int dirty_bytes_handler(struct ctl_table *table, int write,
152 struct ctl_table;
153 int dirty_writeback_centisecs_handler(struct ctl_table *, int,
/linux-3.4.99/arch/s390/appldata/
Dappldata_base.c53 static int appldata_timer_handler(ctl_table *ctl, int write,
55 static int appldata_interval_handler(ctl_table *ctl, int write,
60 static struct ctl_table appldata_table[] = {
74 static struct ctl_table appldata_dir_table[] = {
247 appldata_timer_handler(ctl_table *ctl, int write, in appldata_timer_handler()
289 appldata_interval_handler(ctl_table *ctl, int write, in appldata_interval_handler()
335 appldata_generic_handler(ctl_table *ctl, int write, in appldata_generic_handler()
347 if (&tmp_ops->ctl_table[2] == ctl) { in appldata_generic_handler()
435 ops->ctl_table = kzalloc(4 * sizeof(struct ctl_table), GFP_KERNEL); in appldata_register_ops()
436 if (!ops->ctl_table) in appldata_register_ops()
[all …]
/linux-3.4.99/drivers/parport/
Dprocfs.c34 static int do_active_device(ctl_table *table, int write, in do_active_device()
71 static int do_autoprobe(ctl_table *table, int write, in do_autoprobe()
113 static int do_hardware_base_addr (ctl_table *table, int write, in do_hardware_base_addr()
141 static int do_hardware_irq (ctl_table *table, int write, in do_hardware_irq()
169 static int do_hardware_dma (ctl_table *table, int write, in do_hardware_dma()
197 static int do_hardware_modes (ctl_table *table, int write, in do_hardware_modes()
258 ctl_table vars[12];
259 ctl_table device_dir[2];
260 ctl_table port_dir[2];
261 ctl_table parport_dir[2];
[all …]
/linux-3.4.99/kernel/
Dutsname_sysctl.c18 static void *get_uts(ctl_table *table, int write) in get_uts()
33 static void put_uts(ctl_table *table, int write, void *which) in put_uts()
46 static int proc_do_uts_string(ctl_table *table, int write, in proc_do_uts_string()
49 struct ctl_table uts_table; in proc_do_uts_string()
68 static struct ctl_table uts_kern_table[] = {
109 static struct ctl_table uts_root_table[] = {
125 struct ctl_table *table = &uts_kern_table[proc]; in uts_proc_notify()
Dsysctl.c171 static int proc_do_cad_pid(struct ctl_table *table, int write,
173 static int proc_taint(struct ctl_table *table, int write,
178 static int proc_dointvec_minmax_sysadmin(struct ctl_table *table, int write,
186 static int sysrq_sysctl_handler(ctl_table *table, int write, in sysrq_sysctl_handler()
204 static struct ctl_table kern_table[];
205 static struct ctl_table vm_table[];
206 static struct ctl_table fs_table[];
207 static struct ctl_table debug_table[];
208 static struct ctl_table dev_table[];
209 extern struct ctl_table random_table[];
[all …]
/linux-3.4.99/net/ipv4/
Dsysctl_net_ipv4.c52 static int ipv4_local_port_range(ctl_table *table, int write, in ipv4_local_port_range()
58 ctl_table tmp = { in ipv4_local_port_range()
80 static void inet_get_ping_group_range_table(struct ctl_table *table, gid_t *low, gid_t *high) in inet_get_ping_group_range_table()
93 static void set_ping_group_range(struct ctl_table *table, gid_t range[2]) in set_ping_group_range()
103 static int ipv4_ping_group_range(ctl_table *table, int write, in ipv4_ping_group_range()
109 ctl_table tmp = { in ipv4_ping_group_range()
126 static int proc_tcp_congestion_control(ctl_table *ctl, int write, in proc_tcp_congestion_control()
130 ctl_table tbl = { in proc_tcp_congestion_control()
144 static int proc_tcp_available_congestion_control(ctl_table *ctl, in proc_tcp_available_congestion_control()
149 ctl_table tbl = { .maxlen = TCP_CA_BUF_MAX, }; in proc_tcp_available_congestion_control()
[all …]
/linux-3.4.99/net/llc/
Dsysctl_net_llc.c16 static struct ctl_table llc2_timeout_table[] = {
48 static struct ctl_table llc_station_table[] = {
59 static struct ctl_table llc2_dir_timeout_table[] = {
68 static struct ctl_table llc_table[] = {
/linux-3.4.99/net/core/
Dsysctl_net_core.c26 static int rps_sock_flow_sysctl(ctl_table *table, int write, in rps_sock_flow_sysctl()
31 ctl_table tmp = { in rps_sock_flow_sysctl()
90 static struct ctl_table net_core_table[] = {
197 static struct ctl_table netns_core_table[] = {
218 struct ctl_table *tbl; in sysctl_core_net_init()
247 struct ctl_table *tbl; in sysctl_core_net_exit()
262 static struct ctl_table empty[1]; in sysctl_core_init()
/linux-3.4.99/arch/mips/lasat/
Dsysctl.c42 int proc_dolasatstring(ctl_table *table, int write, in proc_dolasatstring()
57 int proc_dolasatint(ctl_table *table, int write, in proc_dolasatint()
75 int proc_dolasatrtc(ctl_table *table, int write, in proc_dolasatrtc()
100 int proc_lasat_ip(ctl_table *table, int write, in proc_lasat_ip()
160 int proc_lasat_prid(ctl_table *table, int write, in proc_lasat_prid()
179 static ctl_table lasat_table[] = {
265 static ctl_table lasat_root_table[] = {
/linux-3.4.99/net/ax25/
Dsysctl_net_ax25.c34 static ctl_table *ax25_table;
43 static const ctl_table ax25_param_table[] = {
168 …for (ax25_table_size = sizeof(ctl_table), ax25_dev = ax25_dev_list; ax25_dev != NULL; ax25_dev = a… in ax25_register_sysctl()
169 ax25_table_size += sizeof(ctl_table); in ax25_register_sysctl()
177 struct ctl_table *child = kmemdup(ax25_param_table, in ax25_register_sysctl()
204 ctl_table *p; in ax25_unregister_sysctl()
/linux-3.4.99/drivers/scsi/
Dscsi_sysctl.c15 static ctl_table scsi_table[] = {
24 static ctl_table scsi_dir_table[] = {
31 static ctl_table scsi_root_table[] = {
/linux-3.4.99/net/sunrpc/
Dsysctl.c43 static ctl_table sunrpc_table[];
61 static int proc_do_xprt(ctl_table *table, int write, in proc_do_xprt()
76 proc_dodebug(ctl_table *table, int write, in proc_dodebug()
138 static ctl_table debug_table[] = {
176 static ctl_table sunrpc_table[] = {
/linux-3.4.99/arch/frv/kernel/
Dpm.c153 static int sysctl_pm_do_suspend(ctl_table *ctl, int write, in sysctl_pm_do_suspend()
201 static int cmode_procctl(ctl_table *ctl, int write, in cmode_procctl()
273 static int p0_procctl(ctl_table *ctl, int write, in p0_procctl()
286 static int cm_procctl(ctl_table *ctl, int write, in cm_procctl()
299 static struct ctl_table pm_table[] =
332 static struct ctl_table pm_dir_table[] =
Dsysctl.c49 static int procctl_frv_cachemode(ctl_table *table, int write, in procctl_frv_cachemode()
124 static int procctl_frv_pin_cxnr(ctl_table *table, int write, in procctl_frv_pin_cxnr()
177 static struct ctl_table frv_table[] =
202 static struct ctl_table frv_dir_table[] =
/linux-3.4.99/net/netfilter/
Dnf_conntrack_proto.c40 struct ctl_table *table, unsigned int *users) in nf_ct_register_sysctl()
54 struct ctl_table *table, unsigned int *users) in nf_ct_unregister_sysctl()
169 if (l3proto->ctl_table != NULL) { in nf_ct_l3proto_register_sysctl()
172 l3proto->ctl_table, NULL); in nf_ct_l3proto_register_sysctl()
183 l3proto->ctl_table, NULL); in nf_ct_l3proto_unregister_sysctl()
251 if (l4proto->ctl_table != NULL) { in nf_ct_l4proto_register_sysctl()
254 l4proto->ctl_table, in nf_ct_l4proto_register_sysctl()
267 l4proto->ctl_table, in nf_ct_l4proto_register_sysctl()
282 l4proto->ctl_table, in nf_ct_l4proto_unregister_sysctl()
/linux-3.4.99/net/
Dsysctl_net.c47 struct ctl_table *table) in net_ctl_permissions()
63 struct nsproxy *namespaces, struct ctl_table *table) in net_ctl_ro_header_perms()
106 const struct ctl_path *path, struct ctl_table *table) in register_net_sysctl_table()
113 struct ctl_path *path, struct ctl_table *table) in register_net_sysctl_rotable()
/linux-3.4.99/arch/arm/kernel/
Disa.c23 static ctl_table ctl_isa_vars[4] = {
47 static ctl_table ctl_isa[2] = {
55 static ctl_table ctl_bus[2] = {
/linux-3.4.99/net/unix/
Dsysctl_net_unix.c18 static ctl_table unix_table[] = {
37 struct ctl_table *table; in unix_sysctl_register()
58 struct ctl_table *table; in unix_sysctl_unregister()
/linux-3.4.99/fs/nfs/
Dsysctl.c24 static ctl_table nfs_cb_sysctls[] = {
60 static ctl_table nfs_cb_sysctl_dir[] = {
69 static ctl_table nfs_cb_sysctl_root[] = {
/linux-3.4.99/net/phonet/
Dsysctl.c59 static int proc_local_port_range(ctl_table *table, int write, in proc_local_port_range()
65 ctl_table tmp = { in proc_local_port_range()
85 static struct ctl_table phonet_table[] = {

1234567