Home
last modified time | relevance | path

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

123456789

/linux-6.15/include/linux/
H A Dsysctl.h34 struct ctl_table;
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 *);
78 int proc_dointvec_ms_jiffies_minmax(const struct ctl_table *table, int write,
133 struct ctl_table { struct
163 const struct ctl_table *ctl_table; member
172 const struct ctl_table *ctl_table_arg;
224 const char *path, const struct ctl_table *table, size_t table_size);
238 int do_proc_douintvec(const struct ctl_table *table, int write,
[all …]
/linux-6.15/arch/s390/appldata/
H A Dappldata_base.c207 struct ctl_table ctl_entry = { in appldata_timer_handler()
240 struct ctl_table ctl_entry = { in appldata_interval_handler()
272 struct ctl_table ctl_entry = { in appldata_generic_handler()
283 if (&tmp_ops->ctl_table[0] == ctl) { in appldata_generic_handler()
353 ops->ctl_table = kcalloc(1, sizeof(struct ctl_table), GFP_KERNEL); in appldata_register_ops()
354 if (!ops->ctl_table) in appldata_register_ops()
361 ops->ctl_table[0].procname = ops->name; in appldata_register_ops()
362 ops->ctl_table[0].mode = S_IRUGO | S_IWUSR; in appldata_register_ops()
364 ops->ctl_table[0].data = ops; in appldata_register_ops()
374 kfree(ops->ctl_table); in appldata_register_ops()
[all …]
H A Dappldata.h31 struct ctl_table *ctl_table; member
/linux-6.15/net/sctp/
H A Dsysctl.c61 static struct ctl_table sctp_table[] = {
95 static struct ctl_table sctp_net_table[] = {
392 struct ctl_table tbl; in proc_sctp_do_hmac_alg()
398 memset(&tbl, 0, sizeof(struct ctl_table)); in proc_sctp_do_hmac_alg()
439 struct ctl_table tbl; in proc_sctp_do_rto_min()
467 struct ctl_table tbl; in proc_sctp_do_rto_max()
503 struct ctl_table tbl; in proc_sctp_do_auth()
536 struct ctl_table tbl; in proc_sctp_do_udp_port()
578 struct ctl_table tbl; in proc_sctp_do_probe_interval()
603 struct ctl_table *table; in sctp_sysctl_net_register()
[all …]
/linux-6.15/fs/proc/
H A Dproc_sysctl.c24 entry = header->ctl_table; \
81 .ctl_table = root_table }},
92 const struct ctl_table **pentry);
117 const struct ctl_table *entry; in find_entry()
196 head->ctl_table = table; in init_header()
209 const struct ctl_table *entry; in init_header()
222 const struct ctl_table *entry; in erase_header()
230 const struct ctl_table *entry; in insert_header()
358 const struct ctl_table *entry; in lookup_entry()
521 const struct ctl_table *p; in proc_sys_lookup()
[all …]
/linux-6.15/kernel/
H A Dsysctl.c186 static void warn_sysctl_write(const struct ctl_table *table) in warn_sysctl_write()
204 const struct ctl_table *table) in proc_first_pos_non_zero_ignore()
237 int proc_dostring(const struct ctl_table *table, int write, in proc_dostring()
533 const struct ctl_table *table, in do_proc_douintvec_w()
686 struct ctl_table tmp; in proc_dobool()
753 struct ctl_table t; in proc_taint()
945 struct ctl_table tmp; in proc_dou8vec_minmax()
999 const struct ctl_table *table, int write, in __do_proc_doulongvec_minmax()
1479 int proc_dobool(const struct ctl_table *table, int write, in proc_dobool()
1566 struct ctl_table tmp = { in proc_do_static_key()
[all …]
H A Dsysctl-test.c18 struct ctl_table null_data_table = { in sysctl_test_api_dointvec_null_tbl_data()
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 table = { in sysctl_test_api_dointvec_write_single_less_int_min()
345 struct ctl_table table = { in sysctl_test_api_dointvec_write_single_greater_int_max()
377 const struct ctl_table table_foo[] = { in sysctl_test_register_sysctl_sz_invalid_extra_value()
[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 Dstackleak.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-6.15/net/core/
H A Dsysctl_net_core.c151 struct ctl_table tmp = { in rps_sock_flow_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()
337 struct ctl_table fake_table; in proc_do_rss_key()
354 struct ctl_table tmp = *table; in proc_dointvec_minmax_bpf_enable()
401 static struct ctl_table net_core_table[] = {
645 static struct ctl_table netns_core_table[] = {
741 struct ctl_table *tbl; in sysctl_core_net_init()
[all …]
/linux-6.15/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-6.15/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-6.15/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()
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 tbl = { .maxlen = MPTCP_PM_BUF_MAX, }; in proc_available_path_managers()
274 static struct ctl_table mptcp_sysctl_table[] = {
[all …]
/linux-6.15/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()
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];
357 struct ctl_table device_dir[1];
[all …]
/linux-6.15/net/ipv4/
H A Dsysctl_net_ipv4.c73 struct ctl_table tmp = { in ipv4_local_port_range()
109 struct ctl_table tmp = { in ipv4_privileged_ports()
171 struct ctl_table tmp = { in ipv4_ping_group_range()
221 struct ctl_table tbl = { in proc_tcp_congestion_control()
398 struct ctl_table tbl; in proc_tcp_ehash_entries()
421 struct ctl_table tbl; in proc_udp_hash_entries()
495 struct ctl_table tmp; in proc_fib_multipath_hash_seed()
526 static struct ctl_table ipv4_table[] = {
623 static struct ctl_table ipv4_net_table[] = {
1601 struct ctl_table *table; in ipv4_sysctl_init_net()
[all …]
/linux-6.15/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-6.15/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()
H A Dmq_sysctl.c23 static const struct ctl_table mq_sysctls[] = {
92 static int mq_permissions(struct ctl_table_header *head, const struct ctl_table *table) in mq_permissions()
119 struct ctl_table *tbl; in setup_mq_sysctls()
161 const struct ctl_table *tbl; in retire_mq_sysctls()
/linux-6.15/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-6.15/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-6.15/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-6.15/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-6.15/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-6.15/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[] = {

123456789