| /linux/include/linux/ |
| H A D | sysctl.h | 34 struct ctl_table; 77 typedef int proc_handler(const struct ctl_table *ctl, int write, void *buffer, 80 int proc_dostring(const struct ctl_table *, int, void *, size_t *, loff_t *); 81 int proc_dobool(const struct ctl_table *table, int write, void *buffer, 84 int proc_dointvec(const struct ctl_table *, int, void *, size_t *, loff_t *); 85 int proc_dointvec_minmax(const struct ctl_table *table, int dir, void *buffer, 87 int proc_dointvec_conv(const struct ctl_table *table, int dir, void *buffer, 90 int dir, const struct ctl_table *table)); 96 const struct ctl_table *tbl, bool k_ptr_range_check, 100 int proc_douintvec(const struct ctl_table *, int, void *, size_t *, loff_t *); [all …]
|
| H A D | jiffies.h | 650 struct ctl_table; 651 int proc_dointvec_jiffies(const struct ctl_table *table, int dir, void *buffer, 653 int proc_dointvec_ms_jiffies_minmax(const struct ctl_table *table, int dir, 655 int proc_dointvec_userhz_jiffies(const struct ctl_table *table, int dir, 657 int proc_dointvec_ms_jiffies(const struct ctl_table *table, int dir, void *buffer, 659 int proc_doulongvec_ms_jiffies_minmax(const struct ctl_table *table, int dir,
|
| /linux/kernel/ |
| H A D | sysctl.c | 138 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() 415 const struct ctl_table *tbl, bool k_ptr_range_check, in proc_uint_conv() 448 const struct ctl_table *tbl) in do_proc_uint_conv() 455 const struct ctl_table *tbl) in do_proc_uint_conv_minmax() 519 const struct ctl_table *tbl, bool k_ptr_range_check, in proc_int_conv() 557 int dir, const struct ctl_table *tbl) in do_proc_int_conv() 566 int dir, const struct ctl_table *tbl) in do_proc_int_conv_minmax() 575 static int do_proc_dointvec(const struct ctl_table *table, int dir, in do_proc_dointvec() [all …]
|
| H A D | kstack_erase.c | 25 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/arch/s390/appldata/ |
| H A D | appldata_base.c | 49 static int appldata_timer_handler(const struct ctl_table *ctl, int write, 51 static int appldata_interval_handler(const struct ctl_table *ctl, int write, 55 static const struct ctl_table appldata_table[] = { 202 appldata_timer_handler(const struct ctl_table *ctl, int write, in appldata_timer_handler() 207 struct ctl_table ctl_entry = { in appldata_timer_handler() 235 appldata_interval_handler(const struct ctl_table *ctl, int write, in appldata_interval_handler() 240 struct ctl_table ctl_entry = { in appldata_interval_handler() 265 appldata_generic_handler(const struct ctl_table *ctl, int write, in appldata_generic_handler() 272 struct ctl_table ctl_entry = { in appldata_generic_handler() 283 if (&tmp_ops->ctl_table[0] == ctl) { in appldata_generic_handler() [all …]
|
| H A D | appldata.h | 31 struct ctl_table *ctl_table; member
|
| /linux/fs/proc/ |
| H A D | proc_sysctl.c | 24 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/kernel/time/ |
| H A D | jiffies.c | 160 int dir, const struct ctl_table *tbl) in do_proc_int_conv_jiffies() 168 const struct ctl_table *tbl) in do_proc_int_conv_userhz_jiffies() 176 int dir, const struct ctl_table *tbl) in do_proc_int_conv_ms_jiffies() 184 const struct ctl_table *tbl) in do_proc_int_conv_ms_jiffies_minmax() 192 int dir, const struct ctl_table *tbl) in do_proc_int_conv_jiffies() 199 const struct ctl_table *tbl) in do_proc_int_conv_userhz_jiffies() 205 int dir, const struct ctl_table *tbl) in do_proc_int_conv_ms_jiffies() 212 const struct ctl_table *tbl) in do_proc_int_conv_ms_jiffies_minmax() 233 int proc_dointvec_jiffies(const struct ctl_table *table, int dir, in proc_dointvec_jiffies() 256 int proc_dointvec_userhz_jiffies(const struct ctl_table *table, int dir, in proc_dointvec_userhz_jiffies() [all …]
|
| /linux/mm/ |
| H A D | hugetlb_sysctl.c | 14 static int proc_hugetlb_doulongvec_minmax(const struct ctl_table *table, int write, in proc_hugetlb_doulongvec_minmax() 18 struct ctl_table dup_table; in proc_hugetlb_doulongvec_minmax() 31 const struct ctl_table *table, int write, in hugetlb_sysctl_handler_common() 53 static int hugetlb_sysctl_handler(const struct ctl_table *table, int write, in hugetlb_sysctl_handler() 62 static int hugetlb_mempolicy_sysctl_handler(const struct ctl_table *table, int write, in hugetlb_mempolicy_sysctl_handler() 70 static int hugetlb_overcommit_handler(const struct ctl_table *table, int write, in hugetlb_overcommit_handler() 99 static const struct ctl_table hugetlb_table[] = {
|
| /linux/net/core/ |
| H A D | sysctl_net_core.c | 103 static int rps_default_mask_sysctl(const struct ctl_table *table, int write, in rps_default_mask_sysctl() 138 static int rps_sock_flow_sysctl(const struct ctl_table *table, int write, in rps_sock_flow_sysctl() 143 struct ctl_table tmp = { in rps_sock_flow_sysctl() 210 static int flow_limit_cpu_sysctl(const struct ctl_table *table, int write, in flow_limit_cpu_sysctl() 267 static int flow_limit_table_len_sysctl(const struct ctl_table *table, int write, in flow_limit_table_len_sysctl() 289 static int set_default_qdisc(const struct ctl_table *table, int write, in set_default_qdisc() 293 struct ctl_table tbl = { in set_default_qdisc() 308 static int proc_do_dev_weight(const struct ctl_table *table, int write, in proc_do_dev_weight() 326 static int proc_do_rss_key(const struct ctl_table *table, int write, in proc_do_rss_key() 330 struct ctl_table fake_table; in proc_do_rss_key() [all …]
|
| /linux/net/ipv6/ |
| H 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/net/netfilter/ |
| H 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()
|
| H A D | nf_log.c | 424 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/drivers/parport/ |
| H 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() 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/net/ipv4/ |
| H A D | sysctl_net_ipv4.c | 70 static int ipv4_local_port_range(const struct ctl_table *table, int write, in ipv4_local_port_range() 76 struct ctl_table tmp = { in ipv4_local_port_range() 104 static int ipv4_privileged_ports(const struct ctl_table *table, int write, in ipv4_privileged_ports() 112 struct ctl_table tmp = { in ipv4_privileged_ports() 138 static void inet_get_ping_group_range_table(const struct ctl_table *table, in inet_get_ping_group_range_table() 154 static void set_ping_group_range(const struct ctl_table *table, in set_ping_group_range() 167 static int ipv4_ping_group_range(const struct ctl_table *table, int write, in ipv4_ping_group_range() 174 struct ctl_table tmp = { in ipv4_ping_group_range() 202 static int ipv4_fwd_update_priority(const struct ctl_table *table, int write, in ipv4_fwd_update_priority() 218 static int proc_tcp_congestion_control(const struct ctl_table *ctl, int write, in proc_tcp_congestion_control() [all …]
|
| /linux/lib/ |
| H A D | sys_info.c | 53 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 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/net/unix/ |
| H A D | sysctl_net_unix.c | 16 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 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/ |
| H 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/net/sunrpc/ |
| H 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/net/rds/ |
| H A D | tcp.c | 64 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[] = { 542 struct ctl_table *tbl; in rds_tcp_init_net() 561 rtn->ctl_table = tbl; in rds_tcp_init_net() 642 kfree(rtn->ctl_table); in rds_tcp_exit_net() 686 const struct ctl_table *ctl, int write, in rds_tcp_skbuf_handler() 707 static int rds_tcp_sndbuf_handler(const struct ctl_table *ctl, int write, in rds_tcp_sndbuf_handler() 716 static int rds_tcp_rcvbuf_handler(const struct ctl_table *ctl, int write, in rds_tcp_rcvbuf_handler()
|
| /linux/security/ |
| H A D | min_addr.c | 30 int mmap_min_addr_handler(const struct ctl_table *table, int write, in mmap_min_addr_handler() 45 static const struct ctl_table min_addr_sysctl_table[] = {
|
| /linux/net/ax25/ |
| H A D | sysctl_net_ax25.c | 29 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 D | smc_sysctl.c | 70 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;
|