Home
last modified time | relevance | path

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

12345678

/linux-6.1.9/include/linux/
Dsysctl.h34 struct ctl_table;
64 typedef int proc_handler(struct ctl_table *ctl, int write, void *buffer,
67 int proc_dostring(struct ctl_table *, int, void *, size_t *, loff_t *);
68 int proc_dobool(struct ctl_table *table, int write, void *buffer,
70 int proc_dointvec(struct ctl_table *, int, void *, size_t *, loff_t *);
71 int proc_douintvec(struct ctl_table *, int, void *, size_t *, loff_t *);
72 int proc_dointvec_minmax(struct ctl_table *, int, void *, size_t *, loff_t *);
73 int proc_douintvec_minmax(struct ctl_table *table, int write, void *buffer,
75 int proc_dou8vec_minmax(struct ctl_table *table, int write, void *buffer,
77 int proc_dointvec_jiffies(struct ctl_table *, int, void *, size_t *, loff_t *);
[all …]
Dnmi.h206 struct ctl_table;
207 int proc_watchdog(struct ctl_table *, int, void *, size_t *, loff_t *);
208 int proc_nmi_watchdog(struct ctl_table *, int , void *, size_t *, loff_t *);
209 int proc_soft_watchdog(struct ctl_table *, int , void *, size_t *, loff_t *);
210 int proc_watchdog_thresh(struct ctl_table *, int , void *, size_t *, loff_t *);
211 int proc_watchdog_cpumask(struct ctl_table *, int, void *, size_t *, loff_t *);
/linux-6.1.9/arch/s390/appldata/
Dappldata_base.c53 static int appldata_timer_handler(struct ctl_table *ctl, int write,
55 static int appldata_interval_handler(struct ctl_table *ctl, int write,
59 static struct ctl_table appldata_table[] = {
73 static struct ctl_table appldata_dir_table[] = {
218 appldata_timer_handler(struct ctl_table *ctl, int write, in appldata_timer_handler()
223 struct ctl_table ctl_entry = { in appldata_timer_handler()
251 appldata_interval_handler(struct ctl_table *ctl, int write, in appldata_interval_handler()
256 struct ctl_table ctl_entry = { in appldata_interval_handler()
281 appldata_generic_handler(struct ctl_table *ctl, int write, in appldata_generic_handler()
288 struct ctl_table ctl_entry = { in appldata_generic_handler()
[all …]
/linux-6.1.9/fs/proc/
Dproc_sysctl.c33 struct ctl_table sysctl_mount_point[] = {
53 return head->ctl_table[0].child == sysctl_mount_point; in is_empty_dir()
58 dir->header.ctl_table[0].child = sysctl_mount_point; in set_empty_dir()
64 dir->header.ctl_table[0].child = NULL; in clear_empty_dir()
76 static struct ctl_table root_table[] = {
87 .ctl_table = root_table }},
98 struct ctl_table **pentry);
106 pr_cont("%s/", dir->header.ctl_table[0].procname); in sysctl_print_dir()
120 static struct ctl_table *find_entry(struct ctl_table_header **phead, in find_entry()
124 struct ctl_table *entry; in find_entry()
[all …]
/linux-6.1.9/net/sctp/
Dsysctl.c46 static int proc_sctp_do_hmac_alg(struct ctl_table *ctl, int write,
48 static int proc_sctp_do_rto_min(struct ctl_table *ctl, int write,
50 static int proc_sctp_do_rto_max(struct ctl_table *ctl, int write, void *buffer,
52 static int proc_sctp_do_udp_port(struct ctl_table *ctl, int write, void *buffer,
54 static int proc_sctp_do_alpha_beta(struct ctl_table *ctl, int write,
56 static int proc_sctp_do_auth(struct ctl_table *ctl, int write,
58 static int proc_sctp_do_probe_interval(struct ctl_table *ctl, int write,
61 static struct ctl_table sctp_table[] = {
97 static struct ctl_table sctp_net_table[] = {
380 static int proc_sctp_do_hmac_alg(struct ctl_table *ctl, int write, in proc_sctp_do_hmac_alg()
[all …]
/linux-6.1.9/drivers/parport/
Dprocfs.c36 static int do_active_device(struct ctl_table *table, int write, in do_active_device()
73 static int do_autoprobe(struct ctl_table *table, int write, in do_autoprobe()
116 static int do_hardware_base_addr(struct ctl_table *table, int write, in do_hardware_base_addr()
143 static int do_hardware_irq(struct ctl_table *table, int write, in do_hardware_irq()
170 static int do_hardware_dma(struct ctl_table *table, int write, in do_hardware_dma()
197 static int do_hardware_modes(struct ctl_table *table, int write, in do_hardware_modes()
261 struct ctl_table vars[12];
262 struct ctl_table device_dir[2];
263 struct ctl_table port_dir[2];
264 struct ctl_table parport_dir[2];
[all …]
/linux-6.1.9/kernel/
Dsysctl.c209 static void warn_sysctl_write(struct ctl_table *table) in warn_sysctl_write()
227 struct ctl_table *table) in proc_first_pos_non_zero_ignore()
260 int proc_dostring(struct ctl_table *table, int write, in proc_dostring()
487 static int __do_proc_dointvec(void *tbl_data, struct ctl_table *table, in __do_proc_dointvec()
560 static int do_proc_dointvec(struct ctl_table *table, int write, in do_proc_dointvec()
571 struct ctl_table *table, in do_proc_douintvec_w()
658 static int __do_proc_douintvec(void *tbl_data, struct ctl_table *table, in __do_proc_douintvec()
694 int do_proc_douintvec(struct ctl_table *table, int write, in do_proc_douintvec()
718 int proc_dobool(struct ctl_table *table, int write, void *buffer, in proc_dobool()
738 int proc_dointvec(struct ctl_table *table, int write, void *buffer, in proc_dointvec()
[all …]
Dutsname_sysctl.c18 static void *get_uts(struct ctl_table *table) in get_uts()
33 static int proc_do_uts_string(struct ctl_table *table, int write, in proc_do_uts_string()
36 struct ctl_table uts_table; in proc_do_uts_string()
78 static struct ctl_table uts_kern_table[] = {
126 static struct ctl_table uts_root_table[] = {
142 struct ctl_table *table = &uts_kern_table[proc]; in uts_proc_notify()
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()
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()
/linux-6.1.9/net/core/
Dsysctl_net_core.c49 static int rps_sock_flow_sysctl(struct ctl_table *table, int write, in rps_sock_flow_sysctl()
54 struct ctl_table tmp = { in rps_sock_flow_sysctl()
118 static int flow_limit_cpu_sysctl(struct ctl_table *table, int write, in flow_limit_cpu_sysctl()
192 static int flow_limit_table_len_sysctl(struct ctl_table *table, int write, in flow_limit_table_len_sysctl()
214 static int set_default_qdisc(struct ctl_table *table, int write, in set_default_qdisc()
218 struct ctl_table tbl = { in set_default_qdisc()
233 static int proc_do_dev_weight(struct ctl_table *table, int write, in proc_do_dev_weight()
251 static int proc_do_rss_key(struct ctl_table *table, int write, in proc_do_rss_key()
254 struct ctl_table fake_table; in proc_do_rss_key()
264 static int proc_dointvec_minmax_bpf_enable(struct ctl_table *table, int write, in proc_dointvec_minmax_bpf_enable()
[all …]
/linux-6.1.9/net/
Dsysctl_net.c43 struct ctl_table *table) in net_ctl_permissions()
57 struct ctl_table *table, in net_ctl_set_ownership()
98 static struct ctl_table empty[1]; in net_sysctl_init()
125 struct ctl_table *table) in ensure_safe_net_sysctl()
127 struct ctl_table *ent; in ensure_safe_net_sysctl()
164 const char *path, struct ctl_table *table) in register_net_sysctl()
/linux-6.1.9/net/ipv6/
Dsysctl_net_ipv6.c33 static int proc_rt6_multipath_hash_policy(struct ctl_table *table, int write, in proc_rt6_multipath_hash_policy()
49 proc_rt6_multipath_hash_fields(struct ctl_table *table, int write, void *buffer, in proc_rt6_multipath_hash_fields()
64 static struct ctl_table ipv6_table_template[] = {
219 static struct ctl_table ipv6_rotable[] = {
256 struct ctl_table *ipv6_table; in ipv6_sysctl_net_init()
257 struct ctl_table *ipv6_route_table; in ipv6_sysctl_net_init()
258 struct ctl_table *ipv6_icmp_table; in ipv6_sysctl_net_init()
310 struct ctl_table *ipv6_table; in ipv6_sysctl_net_exit()
311 struct ctl_table *ipv6_route_table; in ipv6_sysctl_net_exit()
312 struct ctl_table *ipv6_icmp_table; in ipv6_sysctl_net_exit()
/linux-6.1.9/net/sunrpc/
Dsysctl.c44 static struct ctl_table sunrpc_table[];
62 static int proc_do_xprt(struct ctl_table *table, int write, in proc_do_xprt()
84 proc_dodebug(struct ctl_table *table, int write, void *buffer, size_t *lenp, in proc_dodebug()
146 static struct ctl_table debug_table[] = {
184 static struct ctl_table sunrpc_table[] = {
/linux-6.1.9/net/ipv4/
Dsysctl_net_ipv4.c63 static int ipv4_local_port_range(struct ctl_table *table, int write, in ipv4_local_port_range()
70 struct ctl_table tmp = { in ipv4_local_port_range()
98 static int ipv4_privileged_ports(struct ctl_table *table, int write, in ipv4_privileged_ports()
106 struct ctl_table tmp = { in ipv4_privileged_ports()
132 static void inet_get_ping_group_range_table(struct ctl_table *table, kgid_t *low, kgid_t *high) in inet_get_ping_group_range_table()
147 static void set_ping_group_range(struct ctl_table *table, kgid_t low, kgid_t high) in set_ping_group_range()
159 static int ipv4_ping_group_range(struct ctl_table *table, int write, in ipv4_ping_group_range()
166 struct ctl_table tmp = { in ipv4_ping_group_range()
194 static int ipv4_fwd_update_priority(struct ctl_table *table, int write, in ipv4_fwd_update_priority()
210 static int proc_tcp_congestion_control(struct ctl_table *ctl, int write, in proc_tcp_congestion_control()
[all …]
/linux-6.1.9/drivers/scsi/
Dscsi_sysctl.c15 static struct ctl_table scsi_table[] = {
24 static struct ctl_table scsi_dir_table[] = {
31 static struct ctl_table scsi_root_table[] = {
/linux-6.1.9/fs/nfs/
Dsysctl.c17 static struct ctl_table nfs_cb_sysctls[] = {
35 static struct ctl_table nfs_cb_sysctl_dir[] = {
44 static struct ctl_table nfs_cb_sysctl_root[] = {
Dnfs4sysctl.c20 static struct ctl_table nfs4_cb_sysctls[] = {
40 static struct ctl_table nfs4_cb_sysctl_dir[] = {
49 static struct ctl_table nfs4_cb_sysctl_root[] = {
/linux-6.1.9/ipc/
Dipc_sysctl.c19 static int proc_ipc_dointvec_minmax_orphans(struct ctl_table *table, int write, in proc_ipc_dointvec_minmax_orphans()
35 static int proc_ipc_auto_msgmni(struct ctl_table *table, int write, in proc_ipc_auto_msgmni()
38 struct ctl_table ipc_table; in proc_ipc_auto_msgmni()
50 static int proc_ipc_sem_dointvec(struct ctl_table *table, int write, in proc_ipc_sem_dointvec()
75 static struct ctl_table ipc_sysctls[] = {
193 static int ipc_permissions(struct ctl_table_header *head, struct ctl_table *table) in ipc_permissions()
216 struct ctl_table *tbl; in setup_ipc_sysctls()
275 struct ctl_table *tbl; in retire_ipc_sysctls()
/linux-6.1.9/arch/arm/kernel/
Disa.c19 static struct ctl_table ctl_isa_vars[4] = {
43 static struct ctl_table ctl_isa[2] = {
51 static struct ctl_table ctl_bus[2] = {
/linux-6.1.9/fs/xfs/
Dxfs_sysctl.c14 struct ctl_table *ctl, in xfs_stats_clear_proc_handler()
34 struct ctl_table *ctl, in xfs_panic_mask_proc_handler()
55 struct ctl_table *ctl, in xfs_deprecated_dointvec_minmax()
69 static struct ctl_table xfs_table[] = {
213 static struct ctl_table xfs_dir_table[] = {
222 static struct ctl_table xfs_root_table[] = {
/linux-6.1.9/net/unix/
Dsysctl_net_unix.c14 static struct ctl_table unix_table[] = {
27 struct ctl_table *table; in unix_sysctl_register()
54 struct ctl_table *table; in unix_sysctl_unregister()
/linux-6.1.9/net/phonet/
Dsysctl.c51 static int proc_local_port_range(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.1.9/arch/s390/mm/
Dcmm.c246 static int cmm_pages_handler(struct ctl_table *ctl, int write, in cmm_pages_handler()
250 struct ctl_table ctl_entry = { in cmm_pages_handler()
265 static int cmm_timed_pages_handler(struct ctl_table *ctl, int write, in cmm_timed_pages_handler()
270 struct ctl_table ctl_entry = { in cmm_timed_pages_handler()
285 static int cmm_timeout_handler(struct ctl_table *ctl, int write, in cmm_timeout_handler()
319 static struct ctl_table cmm_table[] = {
338 static struct ctl_table cmm_dir_table[] = {
/linux-6.1.9/net/xfrm/
Dxfrm_sysctl.c16 static struct ctl_table xfrm_table[] = {
46 struct ctl_table *table; in xfrm_sysctl_init()
75 struct ctl_table *table; in xfrm_sysctl_fini()
/linux-6.1.9/arch/x86/kernel/
Ditmt.c41 static int sched_itmt_update_handler(struct ctl_table *table, int write, in sched_itmt_update_handler()
67 static struct ctl_table itmt_kern_table[] = {
80 static struct ctl_table itmt_root_table[] = {

12345678