| /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 | sysctl-test.c | 18 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()
|
| H 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 const struct ctl_table uts_kern_table[] = { 132 const struct ctl_table *table = &uts_kern_table[proc]; in uts_proc_notify()
|
| H 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 const struct ctl_table pid_ns_ctl_table_vm[] = {
|
| /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 …]
|
| /linux/net/sctp/ |
| H A D | sysctl.c | 46 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 *ctl, int write, in proc_sctp_do_hmac_alg() [all …]
|
| /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/mptcp/ |
| H A D | ctrl.c | 130 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 tbl = { .maxlen = MPTCP_PM_BUF_MAX, }; in proc_available_path_managers() [all …]
|
| /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/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()
|
| /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[] = {
|
| H A D | test_sysctl.c | 76 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/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/ipc/ |
| H 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 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 D | mq_sysctl.c | 23 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/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/smc/ |
| H A D | smc_sysctl.c | 70 static int proc_smc_hs_ctrl(const struct ctl_table *ctl, int write, in proc_smc_hs_ctrl() 75 const struct ctl_table tbl = { in proc_smc_hs_ctrl() 100 static struct ctl_table smc_table[] = { 201 struct ctl_table *table; in smc_sysctl_net_init() 256 const struct ctl_table *table; in smc_sysctl_net_exit()
|