Home
last modified time | relevance | path

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

12345678

/linux/include/linux/
H A Dsysctl.h34 struct ctl_table;
64 typedef int proc_handler(const struct ctl_table *ctl, int write, void *buffer,
67 int proc_dostring(const struct ctl_table *, int, void *, size_t *, loff_t *);
68 int proc_dobool(const struct ctl_table *table, int write, void *buffer,
70 int proc_dointvec(const struct ctl_table *, int, void *, size_t *, loff_t *);
71 int proc_douintvec(const struct ctl_table *, int, void *, size_t *, loff_t *);
72 int proc_dointvec_minmax(const struct ctl_table *, int, void *, size_t *, loff_t *);
73 int proc_douintvec_minmax(const struct ctl_table *table, int write, void *buffer,
75 int proc_dou8vec_minmax(const struct ctl_table *table, int write, void *buffer,
77 int proc_dointvec_jiffies(const struct ctl_table *, in
133 struct ctl_table { global() struct
139 pollctl_table global() argument
150 extra2ctl_table global() argument
163 const struct ctl_table *ctl_table; global() member
[all...]
/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 struct ctl_table sctp_net_table[] = {
387 static int proc_sctp_do_hmac_alg(const struct ctl_table *ct
[all...]
/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 *entr
[all...]
/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 write, in proc_dostring()
401 static int __do_proc_dointvec(void *tbl_data, const struct ctl_table *table, in __do_proc_dointvec()
474 static int do_proc_dointvec(const struct ctl_table *table, int write, in do_proc_dointvec()
485 const struct ctl_table *table, in do_proc_douintvec_w()
572 static int __do_proc_douintvec(void *tbl_data, const struct ctl_table *table, in __do_proc_douintvec()
608 int do_proc_douintvec(const struct ctl_table *table, int write, in do_proc_douintvec()
635 int proc_dobool(const struct ctl_table *table, int write, void *buffer, in proc_dobool()
638 struct ctl_table tm in proc_dobool()
[all...]
H A Dsysctl-test.c18 struct ctl_table null_data_table = { in sysctl_test_api_dointvec_null_tbl_data()
69 struct ctl_table data_maxlen_unset_table = { in sysctl_test_api_dointvec_table_maxlen_unset()
108 * Here we provide a valid struct ctl_table, but we try to read and write from
116 struct ctl_table table = { in sysctl_test_api_dointvec_table_len_is_zero()
150 struct ctl_table table = { in sysctl_test_api_dointvec_table_read_but_position_set()
185 struct ctl_table table = { in sysctl_test_dointvec_read_happy_single_positive()
216 struct ctl_table table = { in sysctl_test_dointvec_read_happy_single_negative()
245 struct ctl_table table = { in sysctl_test_dointvec_write_happy_single_positive()
275 struct ctl_table table = { in sysctl_test_dointvec_write_happy_single_negative()
307 struct ctl_table tabl in sysctl_test_api_dointvec_write_single_less_int_min()
[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 Dpid_sysctl.h8 static int pid_mfd_noexec_dointvec_minmax(const struct ctl_table *table, in pid_mfd_noexec_dointvec_minmax()
12 struct ctl_table table_copy; in pid_mfd_noexec_dointvec_minmax()
34 static const struct ctl_table pid_ns_ctl_table_vm[] = {
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/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_tabl 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()
/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_tabl in ipv6_sysctl_net_exit()
[all...]
/linux/net/mptcp/
H A Dctrl.c130 static int proc_scheduler(const struct ctl_table *ctl, int write, in proc_scheduler()
135 struct ctl_table tbl = { in proc_scheduler()
150 static int proc_available_schedulers(const struct ctl_table *ctl, in proc_available_schedulers()
154 struct ctl_table tbl = { .maxlen = MPTCP_SCHED_BUF_MAX, }; in proc_available_schedulers()
168 static int proc_blackhole_detect_timeout(const struct ctl_table *table, in proc_blackhole_detect_timeout()
200 static int proc_path_manager(const struct ctl_table *ctl, int write, in proc_path_manager()
208 const struct ctl_table tbl = { in proc_path_manager()
233 static int proc_pm_type(const struct ctl_table *ctl, int write, in proc_pm_type()
256 static int proc_available_path_managers(const struct ctl_table *ctl, in proc_available_path_managers()
260 struct ctl_table tb in proc_available_path_managers()
[all...]
/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 var
[all...]
/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/lib/
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/ipc/
H A Dipc_sysctl.c20 static int proc_ipc_dointvec_minmax_orphans(const struct ctl_table *table, int write, in proc_ipc_dointvec_minmax_orphans()
36 static int proc_ipc_auto_msgmni(const struct ctl_table *table, int write, in proc_ipc_auto_msgmni()
39 struct ctl_table ipc_table; in proc_ipc_auto_msgmni()
51 static int proc_ipc_sem_dointvec(const struct ctl_table *table, int write, in proc_ipc_sem_dointvec()
76 static const struct ctl_table ipc_sysctls[] = {
206 static int ipc_permissions(struct ctl_table_header *head, const struct ctl_table *table) in ipc_permissions()
247 struct ctl_table *tbl; in setup_ipc_sysctls()
307 const struct ctl_table *tbl; in retire_ipc_sysctls()
/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/arch/s390/mm/
H A Dcmm.c262 static int cmm_pages_handler(const struct ctl_table *ctl, int write, in cmm_pages_handler()
266 struct ctl_table ctl_entry = { in cmm_pages_handler()
281 static int cmm_timed_pages_handler(const struct ctl_table *ctl, int write, in cmm_timed_pages_handler()
286 struct ctl_table ctl_entry = { in cmm_timed_pages_handler()
301 static int cmm_timeout_handler(const struct ctl_table *ctl, int write, in cmm_timeout_handler()
335 static const struct ctl_table cmm_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 *ct
[all...]
/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/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/llc/
H A Dsysctl_net_llc.c14 static struct ctl_table llc2_timeout_table[] = {
50 struct ctl_table empty[1] = {}; in llc_sysctl_init()
/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()

12345678