Home
last modified time | relevance | path

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

12345

/linux/include/linux/
H A Dsysctl.h34 struct ctl_table;
77 typedef int proc_handler(const struct ctl_table *ctl, int dir, void *buf,
81 int proc_dostring(const struct ctl_table *ctl, int dir, void *buf, size_t *lenp,
83 int proc_dobool(const struct ctl_table *ctl, int dir, void *buf, size_t *lenp,
85 int proc_dointvec(const struct ctl_table *ctl, int dir, void *buf, size_t *lenp,
87 int proc_dointvec_minmax(const struct ctl_table *ctl, int dir, void *buf,
89 int proc_douintvec(const struct ctl_table *ctl, int dir, void *buf, size_t *lenp,
91 int proc_douintvec_minmax(const struct ctl_table *ctl, int dir, void *buf,
93 int proc_dou8vec_minmax(const struct ctl_table *ctl, int dir, void *buf,
95 int proc_doulongvec_minmax(const struct ctl_table *ctl, int dir, void *buf,
[all …]
H A Djiffies.h646 struct ctl_table;
647 int proc_dointvec_jiffies(const struct ctl_table *table, int dir, void *buffer,
649 int proc_dointvec_ms_jiffies_minmax(const struct ctl_table *table, int dir,
651 int proc_dointvec_userhz_jiffies(const struct ctl_table *table, int dir,
653 int proc_dointvec_ms_jiffies(const struct ctl_table *table, int dir, void *buffer,
655 int proc_doulongvec_ms_jiffies_minmax(const struct ctl_table *table, int dir,
/linux/kernel/
H A Dsysctl.c138 static void warn_sysctl_write(const struct ctl_table *table) in warn_sysctl_write()
156 const struct ctl_table *table) in proc_first_pos_non_zero_ignore()
189 int proc_dostring(const struct ctl_table *table, int dir, in proc_dostring()
420 const struct ctl_table *tbl, bool k_ptr_range_check, in proc_uint_conv()
453 const struct ctl_table *tbl) in do_proc_uint_conv()
460 int dir, const struct ctl_table *tbl) in do_proc_uint_conv_minmax()
541 const struct ctl_table *tbl, bool k_ptr_range_check, in proc_int_conv()
579 int dir, const struct ctl_table *tbl) in do_proc_int_conv()
588 int dir, const struct ctl_table *tbl) in do_proc_int_conv_minmax()
614 int dir, const struct ctl_table *table);
[all …]
H A Dutsname_sysctl.c18 static void *get_uts(const struct ctl_table *table) in get_uts()
33 static int proc_do_uts_string(const struct ctl_table *table, int write, in proc_do_uts_string()
36 struct ctl_table uts_table; in proc_do_uts_string()
78 static const struct ctl_table uts_kern_table[] = {
132 const struct ctl_table *table = &uts_kern_table[proc]; in uts_proc_notify()
H A Dkstack_erase.c25 static int stack_erasing_sysctl(const struct ctl_table *table, int write, in stack_erasing_sysctl()
31 struct ctl_table table_copy = *table; in stack_erasing_sysctl()
48 static const struct ctl_table stackleak_sysctls[] = {
/linux/net/sctp/
H A Dsysctl.c46 static int proc_sctp_do_hmac_alg(const struct ctl_table *ctl, int write,
48 static int proc_sctp_do_rto_min(const struct ctl_table *ctl, int write,
50 static int proc_sctp_do_rto_max(const struct ctl_table *ctl, int write, void *buffer,
52 static int proc_sctp_do_udp_port(const struct ctl_table *ctl, int write, void *buffer,
54 static int proc_sctp_do_alpha_beta(const struct ctl_table *ctl, int write,
56 static int proc_sctp_do_auth(const struct ctl_table *ctl, int write,
58 static int proc_sctp_do_probe_interval(const struct ctl_table *ctl, int write,
61 static struct ctl_table sctp_table[] = {
95 static const struct ctl_table sctp_net_table[] = {
387 static int proc_sctp_do_hmac_alg(const struct ctl_table *ctl, int write, in proc_sctp_do_hmac_alg()
[all …]
/linux/kernel/time/
H A Djiffies.c158 int dir, const struct ctl_table *tbl) in do_proc_int_conv_jiffies()
166 const struct ctl_table *tbl) in do_proc_int_conv_userhz_jiffies()
174 int dir, const struct ctl_table *tbl) in do_proc_int_conv_ms_jiffies()
182 const struct ctl_table *tbl) in do_proc_int_conv_ms_jiffies_minmax()
199 int dir, const struct ctl_table *tbl) in do_proc_ulong_conv_ms_jiffies()
207 int dir, const struct ctl_table *tbl) in do_proc_int_conv_jiffies()
214 const struct ctl_table *tbl) in do_proc_int_conv_userhz_jiffies()
220 int dir, const struct ctl_table *tbl) in do_proc_int_conv_ms_jiffies()
227 const struct ctl_table *tbl) in do_proc_int_conv_ms_jiffies_minmax()
233 int dir, const struct ctl_table *tbl) in do_proc_ulong_conv_ms_jiffies()
[all …]
/linux/net/unix/
H A Dsysctl_net_unix.c16 static const struct ctl_table unix_table[] = {
26 static const struct ctl_table *unix_table_dup(struct net *net) in unix_table_dup()
28 struct ctl_table *table; in unix_table_dup()
41 const struct ctl_table *table; in unix_sysctl_register()
67 const struct ctl_table *table; in unix_sysctl_unregister()
/linux/net/core/
H A Dsysctl_net_core.c103 static int rps_default_mask_sysctl(const struct ctl_table *table, int write, in rps_default_mask_sysctl()
138 static int rps_sock_flow_sysctl(const struct ctl_table *table, int write, in rps_sock_flow_sysctl()
145 struct ctl_table tmp = { in rps_sock_flow_sysctl()
218 static int flow_limit_cpu_sysctl(const struct ctl_table *table, int write, in flow_limit_cpu_sysctl()
275 static int flow_limit_table_len_sysctl(const struct ctl_table *table, int write, in flow_limit_table_len_sysctl()
297 static int set_default_qdisc(const struct ctl_table *table, int write, in set_default_qdisc()
301 struct ctl_table tbl = { in set_default_qdisc()
316 static int proc_do_dev_weight(const struct ctl_table *table, int write, in proc_do_dev_weight()
334 static int proc_do_rss_key(const struct ctl_table *table, int write, in proc_do_rss_key()
338 struct ctl_table fake_table; in proc_do_rss_key()
[all …]
/linux/net/netfilter/
H A Dnf_hooks_lwtunnel.c31 int nf_hooks_lwtunnel_sysctl_handler(const struct ctl_table *table, int write, in nf_hooks_lwtunnel_sysctl_handler()
35 struct ctl_table tmp = { in nf_hooks_lwtunnel_sysctl_handler()
57 static const struct ctl_table nf_lwtunnel_sysctl_table[] = {
69 const struct ctl_table *table; in nf_lwtunnel_net_init()
98 const struct ctl_table *table; in nf_lwtunnel_net_exit()
/linux/net/ipv6/
H A Dsysctl_net_ipv6.c33 static int proc_rt6_multipath_hash_policy(const struct ctl_table *table, int write, in proc_rt6_multipath_hash_policy()
49 proc_rt6_multipath_hash_fields(const struct ctl_table *table, int write, void *buffer, in proc_rt6_multipath_hash_fields()
64 static const struct ctl_table ipv6_table_template[] = {
218 static struct ctl_table ipv6_rotable[] = {
255 struct ctl_table *ipv6_table; in ipv6_sysctl_net_init()
256 struct ctl_table *ipv6_route_table; in ipv6_sysctl_net_init()
257 struct ctl_table *ipv6_icmp_table; in ipv6_sysctl_net_init()
314 const struct ctl_table *ipv6_table; in ipv6_sysctl_net_exit()
315 const struct ctl_table *ipv6_route_table; in ipv6_sysctl_net_exit()
316 const struct ctl_table *ipv6_icmp_table; in ipv6_sysctl_net_exit()
H A Dxfrm6_policy.c190 static const struct ctl_table xfrm6_policy_table[] = {
200 static const struct ctl_table *xfrm6_policy_table_dup(struct net *net) in xfrm6_policy_table_dup()
202 struct ctl_table *table; in xfrm6_policy_table_dup()
216 const struct ctl_table *table; in xfrm6_net_sysctl_init()
243 const struct ctl_table *table; in xfrm6_net_sysctl_exit()
/linux/drivers/parport/
H A Dprocfs.c36 static int do_active_device(const struct ctl_table *table, int write, in do_active_device()
73 static int do_autoprobe(const struct ctl_table *table, int write, in do_autoprobe()
116 static int do_hardware_base_addr(const struct ctl_table *table, int write, in do_hardware_base_addr()
143 static int do_hardware_irq(const struct ctl_table *table, int write, in do_hardware_irq()
170 static int do_hardware_dma(const struct ctl_table *table, int write, in do_hardware_dma()
197 static int do_hardware_modes(const struct ctl_table *table, int write, in do_hardware_modes()
256 struct ctl_table vars[10];
258 struct ctl_table vars[5];
260 struct ctl_table device_dir[1];
356 struct ctl_table vars[1];
[all …]
/linux/net/ipv4/
H A Dsysctl_net_ipv4.c70 static int ipv4_local_port_range(const struct ctl_table *table, int write, in ipv4_local_port_range()
76 struct ctl_table tmp = { in ipv4_local_port_range()
104 static int ipv4_privileged_ports(const struct ctl_table *table, int write, in ipv4_privileged_ports()
112 struct ctl_table tmp = { in ipv4_privileged_ports()
138 static void inet_get_ping_group_range_table(const struct ctl_table *table, in inet_get_ping_group_range_table()
154 static void set_ping_group_range(const struct ctl_table *table, in set_ping_group_range()
167 static int ipv4_ping_group_range(const struct ctl_table *table, int write, in ipv4_ping_group_range()
174 struct ctl_table tmp = { in ipv4_ping_group_range()
202 static int ipv4_fwd_update_priority(const struct ctl_table *table, int write, in ipv4_fwd_update_priority()
218 static int proc_tcp_congestion_control(const struct ctl_table *ctl, int write, in proc_tcp_congestion_control()
[all …]
H A Dxfrm4_policy.c144 static const struct ctl_table xfrm4_policy_table[] = {
154 static const struct ctl_table *xfrm4_policy_table_dup(struct net *net) in xfrm4_policy_table_dup()
156 struct ctl_table *table; in xfrm4_policy_table_dup()
170 const struct ctl_table *table; in xfrm4_net_sysctl_init()
197 const struct ctl_table *table; in xfrm4_net_sysctl_exit()
/linux/lib/
H A Dsys_info.c53 static int sys_info_write_handler(const struct ctl_table *table, in sys_info_write_handler()
72 static int sys_info_read_handler(const struct ctl_table *table, in sys_info_read_handler()
95 int sysctl_sys_info_handler(const struct ctl_table *ro_table, int write, in sysctl_sys_info_handler()
99 struct ctl_table table; in sysctl_sys_info_handler()
121 static const struct ctl_table sys_info_sysctls[] = {
H A Dtest_sysctl.c76 static const struct ctl_table test_table[] = {
182 static const struct ctl_table test_table_unregister[] = {
225 static const struct ctl_table test_table_empty[] = { };
244 static const struct ctl_table table_u8_over[] = {
256 static const struct ctl_table table_u8_under[] = {
268 static const struct ctl_table table_u8_valid[] = {
/linux/net/
H A Dsysctl_net.c43 const struct ctl_table *table) in net_ctl_permissions()
97 static struct ctl_table empty[1]; in net_sysctl_init()
124 const struct ctl_table *table, in ensure_safe_net_sysctl()
127 const struct ctl_table *ent; in ensure_safe_net_sysctl()
165 const struct ctl_table *table, in register_net_sysctl_sz()
/linux/net/smc/
H A Dsmc_sysctl.c70 static int proc_smc_hs_ctrl(const struct ctl_table *ctl, int write, in proc_smc_hs_ctrl()
75 const struct ctl_table tbl = { in proc_smc_hs_ctrl()
100 static const struct ctl_table smc_table[] = {
198 static const struct ctl_table *smc_table_dup(struct net *net) in smc_table_dup()
201 struct ctl_table *table; in smc_table_dup()
217 const struct ctl_table *table; in smc_sysctl_net_init()
268 const struct ctl_table *table; in smc_sysctl_net_exit()
/linux/net/phonet/
H A Dsysctl.c51 static int proc_local_port_range(const struct ctl_table *table, int write, in proc_local_port_range()
56 struct ctl_table tmp = { in proc_local_port_range()
76 static struct ctl_table phonet_table[] = {
/linux/net/xfrm/
H A Dxfrm_sysctl.c16 static const struct ctl_table xfrm_table[] = {
45 struct ctl_table *table; in xfrm_sysctl_init()
76 const struct ctl_table *table; in xfrm_sysctl_fini()
/linux/arch/s390/appldata/
H A Dappldata.h31 struct ctl_table *ctl_table; member
/linux/net/sunrpc/
H A Dsysctl.c43 static int proc_do_xprt(const struct ctl_table *table, int write, in proc_do_xprt()
65 proc_dodebug(const struct ctl_table *table, int write, void *buffer, size_t *lenp, in proc_dodebug()
128 static struct ctl_table debug_table[] = {
/linux/security/
H A Dmin_addr.c30 int mmap_min_addr_handler(const struct ctl_table *table, int write, in mmap_min_addr_handler()
45 static const struct ctl_table min_addr_sysctl_table[] = {
/linux/net/llc/
H A Dsysctl_net_llc.c14 static struct ctl_table llc2_timeout_table[] = {
50 static struct ctl_table empty[1] = {}; in llc_sysctl_init()

12345