/linux/include/linux/ |
A D | sysctl.h | 34 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, 135 struct ctl_table { struct 165 struct ctl_table *ctl_table; member 174 const struct ctl_table *ctl_table_arg; 226 const char *path, struct ctl_table *table, size_t table_size); 240 int do_proc_douintvec(const struct ctl_table *table, int write, [all …]
|
/linux/arch/s390/appldata/ |
A D | appldata_base.c | 55 static struct ctl_table appldata_table[] = { 207 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() 364 ops->ctl_table[0].data = ops; in appldata_register_ops() 374 kfree(ops->ctl_table); in appldata_register_ops() [all …]
|
A D | appldata.h | 31 struct ctl_table *ctl_table; member
|
/linux/net/sctp/ |
A D | sysctl.c | 61 static struct ctl_table sctp_table[] = { 95 static struct ctl_table sctp_net_table[] = { 391 struct ctl_table tbl; in proc_sctp_do_hmac_alg() 397 memset(&tbl, 0, sizeof(struct ctl_table)); in proc_sctp_do_hmac_alg() 438 struct ctl_table tbl; in proc_sctp_do_rto_min() 466 struct ctl_table tbl; in proc_sctp_do_rto_max() 502 struct ctl_table tbl; in proc_sctp_do_auth() 533 struct ctl_table tbl; in proc_sctp_do_udp_port() 572 struct ctl_table tbl; in proc_sctp_do_probe_interval() 597 struct ctl_table *table; in sctp_sysctl_net_register() [all …]
|
/linux/fs/proc/ |
A D | proc_sysctl.c | 23 entry = header->ctl_table; \ 91 struct ctl_table **pentry); 117 struct ctl_table *entry; in find_entry() 194 head->ctl_table = table; in init_header() 207 struct ctl_table *entry; in init_header() 220 struct ctl_table *entry; in erase_header() 228 struct ctl_table *entry; in insert_header() 352 struct ctl_table *entry; in lookup_entry() 515 struct ctl_table *p; in proc_sys_lookup() 762 struct ctl_table *entry; in proc_sys_readdir() [all …]
|
/linux/kernel/ |
A D | sysctl.c | 208 static void warn_sysctl_write(const struct ctl_table *table) in warn_sysctl_write() 226 const struct ctl_table *table) in proc_first_pos_non_zero_ignore() 259 int proc_dostring(const struct ctl_table *table, int write, in proc_dostring() 555 const struct ctl_table *table, in do_proc_douintvec_w() 708 struct ctl_table tmp; in proc_dobool() 775 struct ctl_table t; in proc_taint() 967 struct ctl_table tmp; in proc_dou8vec_minmax() 1021 const struct ctl_table *table, int write, in __do_proc_doulongvec_minmax() 1589 struct ctl_table tmp = { in proc_do_static_key() 1613 static struct ctl_table kern_table[] = { [all …]
|
A D | sysctl-test.c | 18 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 struct ctl_table table_foo[] = { in sysctl_test_register_sysctl_sz_invalid_extra_value() [all …]
|
A D | utsname_sysctl.c | 18 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 struct ctl_table uts_kern_table[] = { 132 struct ctl_table *table = &uts_kern_table[proc]; in uts_proc_notify()
|
A D | pid_sysctl.h | 8 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 struct ctl_table pid_ns_ctl_table_vm[] = {
|
A D | stackleak.c | 24 static int stack_erasing_sysctl(const struct ctl_table *table, int write, in stack_erasing_sysctl() 30 struct ctl_table table_copy = *table; in stack_erasing_sysctl() 47 static struct ctl_table stackleak_sysctls[] = {
|
/linux/net/core/ |
A D | sysctl_net_core.c | 129 static int rps_sock_flow_sysctl(const struct ctl_table *table, int write, in rps_sock_flow_sysctl() 134 struct ctl_table tmp = { in rps_sock_flow_sysctl() 280 static int set_default_qdisc(const struct ctl_table *table, int write, in set_default_qdisc() 284 struct ctl_table tbl = { in set_default_qdisc() 317 static int proc_do_rss_key(const struct ctl_table *table, int write, in proc_do_rss_key() 320 struct ctl_table fake_table; in proc_do_rss_key() 337 struct ctl_table tmp = *table; in proc_dointvec_minmax_bpf_enable() 384 static struct ctl_table net_core_table[] = { 634 static struct ctl_table netns_core_table[] = { 721 struct ctl_table *tbl; in sysctl_core_net_init() [all …]
|
/linux/net/netfilter/ |
A D | nf_hooks_lwtunnel.c | 31 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/ |
A D | sysctl_net_ipv6.c | 33 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/ |
A D | procfs.c | 36 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/net/ipv4/ |
A D | sysctl_net_ipv4.c | 71 struct ctl_table tmp = { in ipv4_local_port_range() 107 struct ctl_table tmp = { in ipv4_privileged_ports() 169 struct ctl_table tmp = { in ipv4_ping_group_range() 219 struct ctl_table tbl = { in proc_tcp_congestion_control() 396 struct ctl_table tbl; in proc_tcp_ehash_entries() 419 struct ctl_table tbl; in proc_udp_hash_entries() 493 struct ctl_table tmp; in proc_fib_multipath_hash_seed() 524 static struct ctl_table ipv4_table[] = { 621 static struct ctl_table ipv4_net_table[] = { 1581 struct ctl_table *table; in ipv4_sysctl_init_net() [all …]
|
/linux/net/ |
A D | sysctl_net.c | 43 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/ipc/ |
A D | ipc_sysctl.c | 20 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 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()
|
A D | mq_sysctl.c | 23 static 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/net/unix/ |
A D | sysctl_net_unix.c | 14 static struct ctl_table unix_table[] = { 26 struct ctl_table *table; in unix_sysctl_register() 54 const struct ctl_table *table; in unix_sysctl_unregister()
|
/linux/net/mptcp/ |
A D | ctrl.c | 122 static int proc_scheduler(const struct ctl_table *ctl, int write, in proc_scheduler() 127 struct ctl_table tbl = { in proc_scheduler() 142 static int proc_available_schedulers(const struct ctl_table *ctl, in proc_available_schedulers() 146 struct ctl_table tbl = { .maxlen = MPTCP_SCHED_BUF_MAX, }; in proc_available_schedulers() 160 static int proc_blackhole_detect_timeout(const struct ctl_table *table, in proc_blackhole_detect_timeout() 174 static struct ctl_table mptcp_sysctl_table[] = { 252 struct ctl_table *table; in mptcp_pernet_new_table() 290 const struct ctl_table *table = pernet->ctl_table_hdr->ctl_table_arg; in mptcp_pernet_del_table()
|
/linux/net/phonet/ |
A D | sysctl.c | 51 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/ |
A D | xfrm_sysctl.c | 16 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/ |
A D | cmm.c | 262 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 struct ctl_table cmm_table[] = {
|
/linux/net/sunrpc/ |
A D | sysctl.c | 43 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/fs/xfs/ |
A D | xfs_sysctl.c | 14 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 struct ctl_table xfs_table[] = {
|