Home
last modified time | relevance | path

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

1234567

/linux/include/linux/
H A Dsysctl.h34 struct ctl_table;
117 int dir, const struct ctl_table *tbl) \
152 int dir, const struct ctl_table *tbl) \
179 typedef int proc_handler(const struct ctl_table *ctl, int write, void *buffer,
182 int proc_dostring(const struct ctl_table *, int, void *, size_t *, loff_t *);
183 int proc_dobool(const struct ctl_table *table, int write, void *buffer,
185 int proc_dointvec(const struct ctl_table *, int, void *, size_t *, loff_t *);
186 int proc_dointvec_minmax(const struct ctl_table *table, int dir, void *buffer,
188 int proc_dointvec_conv(const struct ctl_table *table, int dir, void *buffer,
191 int dir, const struct ctl_table *table));
[all …]
H A Djiffies.h614 struct ctl_table;
615 int proc_dointvec_jiffies(const struct ctl_table *table, int dir, void *buffer,
617 int proc_dointvec_ms_jiffies_minmax(const struct ctl_table *table, int dir,
619 int proc_dointvec_userhz_jiffies(const struct ctl_table *table, int dir,
621 int proc_dointvec_ms_jiffies(const struct ctl_table *table, int dir, void *buffer,
623 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()
383 static int do_proc_dointvec(const struct ctl_table *table, int dir, in do_proc_dointvec()
386 int dir, const struct ctl_table *table)) in do_proc_dointvec()
455 static int do_proc_douintvec_w(const struct ctl_table *table, void *buffer, in do_proc_douintvec_w()
459 const struct ctl_table *table)) in do_proc_douintvec_w()
508 static int do_proc_douintvec_r(const struct ctl_table *table, void *buffer, in do_proc_douintvec_r()
512 const struct ctl_table *table)) in do_proc_douintvec_r()
538 static int do_proc_douintvec(const struct ctl_table *table, int dir, in do_proc_douintvec()
[all …]
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[] = {
H A Ducount.c43 const struct ctl_table *table) in set_permissions()
75 static const struct ctl_table user_table[] = {
98 struct ctl_table *tbl; in setup_userns_sysctls()
123 const struct ctl_table *tbl; in retire_userns_sysctls()
347 static struct ctl_table empty[1]; in user_namespace_sysctl_init()
/linux/fs/proc/
H A Dproc_sysctl.c24 entry = header->ctl_table; \
37 static const struct ctl_table sysctl_mount_point[] = {
71 static const struct ctl_table root_table[] = {
81 .ctl_table = root_table }},
92 const struct ctl_table **pentry);
100 pr_cont("%s/", dir->header.ctl_table[0].procname); in sysctl_print_dir()
113 static const struct ctl_table *find_entry(struct ctl_table_header **phead, in find_entry()
117 const struct ctl_table *entry; in find_entry()
130 entry = &head->ctl_table[ctl_node - head->node]; in find_entry()
146 static int insert_entry(struct ctl_table_header *head, const struct ctl_table *entry) in insert_entry()
[all …]
/linux/mm/
H A Dhugetlb_sysctl.c12 static int proc_hugetlb_doulongvec_minmax(const struct ctl_table *table, int write, in proc_hugetlb_doulongvec_minmax()
16 struct ctl_table dup_table; in proc_hugetlb_doulongvec_minmax()
29 const struct ctl_table *table, int write, in hugetlb_sysctl_handler_common()
51 static int hugetlb_sysctl_handler(const struct ctl_table *table, int write, in hugetlb_sysctl_handler()
60 static int hugetlb_mempolicy_sysctl_handler(const struct ctl_table *table, int write, in hugetlb_mempolicy_sysctl_handler()
68 static int hugetlb_overcommit_handler(const struct ctl_table *table, int write, in hugetlb_overcommit_handler()
97 static const struct ctl_table hugetlb_table[] = {
/linux/net/core/
H A Dsysctl_net_core.c102 static int rps_default_mask_sysctl(const struct ctl_table *table, int write, in rps_default_mask_sysctl()
137 static int rps_sock_flow_sysctl(const struct ctl_table *table, int write, in rps_sock_flow_sysctl()
142 struct ctl_table tmp = { in rps_sock_flow_sysctl()
209 static int flow_limit_cpu_sysctl(const struct ctl_table *table, int write, in flow_limit_cpu_sysctl()
266 static int flow_limit_table_len_sysctl(const struct ctl_table *table, int write, in flow_limit_table_len_sysctl()
288 static int set_default_qdisc(const struct ctl_table *table, int write, in set_default_qdisc()
292 struct ctl_table tbl = { in set_default_qdisc()
307 static int proc_do_dev_weight(const struct ctl_table *table, int write, in proc_do_dev_weight()
325 static int proc_do_rss_key(const struct ctl_table *table, int write, in proc_do_rss_key()
328 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 struct ctl_table nf_lwtunnel_sysctl_table[] = {
70 struct ctl_table *table; in nf_lwtunnel_net_init()
98 const struct ctl_table *table; in nf_lwtunnel_net_exit()
H A Dnf_log.c424 static struct ctl_table nf_log_sysctl_table[NFPROTO_NUMPROTO];
427 static struct ctl_table nf_log_sysctl_ftable[] = {
437 static int nf_log_proc_dostring(const struct ctl_table *table, int write, in nf_log_proc_dostring()
447 struct ctl_table tmp = *table; in nf_log_proc_dostring()
471 struct ctl_table tmp = *table; in nf_log_proc_dostring()
490 struct ctl_table *table; in netfilter_log_sysctl_init()
542 const struct ctl_table *table; in netfilter_log_sysctl_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 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()
/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/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[] = {
/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 struct ctl_table *table, size_t table_size) in ensure_safe_net_sysctl()
126 struct ctl_table *ent; in ensure_safe_net_sysctl()
165 struct ctl_table *table, in register_net_sysctl_sz()
/linux/kernel/time/
H A Djiffies.c139 int proc_dointvec_jiffies(const struct ctl_table *table, int dir, in SYSCTL_USER_TO_KERN_INT_CONV()
162 int proc_dointvec_userhz_jiffies(const struct ctl_table *table, int dir, in proc_dointvec_userhz_jiffies()
187 int proc_dointvec_ms_jiffies(const struct ctl_table *table, int dir, void *buffer, in proc_dointvec_ms_jiffies()
195 int proc_dointvec_ms_jiffies_minmax(const struct ctl_table *table, int dir, in proc_dointvec_ms_jiffies_minmax()
219 int proc_doulongvec_ms_jiffies_minmax(const struct ctl_table *table, int dir, in proc_doulongvec_ms_jiffies_minmax()
/linux/net/unix/
H A Dsysctl_net_unix.c16 static struct ctl_table unix_table[] = {
28 struct ctl_table *table; in unix_sysctl_register()
56 const struct ctl_table *table; in unix_sysctl_unregister()
/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 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/fs/xfs/
H A Dxfs_sysctl.c14 const struct ctl_table *ctl, in xfs_stats_clear_proc_handler()
34 const struct ctl_table *ctl, in xfs_panic_mask_proc_handler()
55 const struct ctl_table *ctl, in xfs_deprecated_dointvec_minmax()
69 static const struct ctl_table xfs_table[] = {
/linux/net/rds/
H A Dtcp.c64 static int rds_tcp_sndbuf_handler(const struct ctl_table *ctl, int write,
66 static int rds_tcp_rcvbuf_handler(const struct ctl_table *ctl, int write,
72 static struct ctl_table rds_tcp_sysctl_table[] = {
483 struct ctl_table *ctl_table; member
544 struct ctl_table *tbl; in rds_tcp_init_net()
561 rtn->ctl_table = tbl; in rds_tcp_init_net()
640 kfree(rtn->ctl_table); in rds_tcp_exit_net()
684 const struct ctl_table *ctl, int write, in rds_tcp_skbuf_handler()
705 static int rds_tcp_sndbuf_handler(const struct ctl_table *ctl, int write, in rds_tcp_sndbuf_handler()
714 static int rds_tcp_rcvbuf_handler(const struct ctl_table *ctl, int write, in rds_tcp_rcvbuf_handler()
/linux/arch/s390/appldata/
H A Dappldata.h31 struct ctl_table *ctl_table; member
/linux/security/
H A Dmin_addr.c32 int mmap_min_addr_handler(const struct ctl_table *table, int write, in mmap_min_addr_handler()
47 static const struct ctl_table min_addr_sysctl_table[] = {
/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/net/ax25/
H A Dsysctl_net_ax25.c29 static const struct ctl_table ax25_param_table[] = {
150 struct ctl_table *table; in ax25_register_dev_sysctl()
173 const struct ctl_table *table; in ax25_unregister_dev_sysctl()
/linux/net/smc/
H A Dsmc_sysctl.c70 static int proc_smc_hs_ctrl(const struct ctl_table *ctl, int write,
75 const struct ctl_table tbl = {
100 static struct ctl_table smc_table[] = {
201 struct ctl_table *table;
256 const struct ctl_table *table;

1234567