/kernel/linux/linux-5.10/include/linux/ |
H A D | sysctl.h | 34 struct ctl_table; 54 typedef int proc_handler(struct ctl_table *ctl, int write, void *buffer, 57 int proc_dostring(struct ctl_table *, int, void *, size_t *, loff_t *); 58 int proc_dointvec(struct ctl_table *, int, void *, size_t *, loff_t *); 59 int proc_douintvec(struct ctl_table *, int, void *, size_t *, loff_t *); 60 int proc_dointvec_minmax(struct ctl_table *, int, void *, size_t *, loff_t *); 61 int proc_douintvec_minmax(struct ctl_table *table, int write, void *buffer, 63 int proc_dou8vec_minmax(struct ctl_table *table, int write, void *buffer, 65 int proc_dointvec_jiffies(struct ctl_table *, int, void *, size_t *, loff_t *); 66 int proc_dointvec_userhz_jiffies(struct ctl_table *, in 121 struct ctl_table { global() struct 143 struct ctl_table *ctl_table; global() member [all...] |
H A D | nmi.h | 227 struct ctl_table; 228 int proc_watchdog(struct ctl_table *, int, void *, size_t *, loff_t *); 229 int proc_nmi_watchdog(struct ctl_table *, int , void *, size_t *, loff_t *); 230 int proc_soft_watchdog(struct ctl_table *, int , void *, size_t *, loff_t *); 231 int proc_watchdog_thresh(struct ctl_table *, int , void *, size_t *, loff_t *); 232 int proc_watchdog_cpumask(struct ctl_table *, int, void *, size_t *, loff_t *);
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | sysctl.h | 34 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 *, in 135 struct ctl_table { global() struct 176 struct ctl_table *ctl_table; global() member [all...] |
H A D | nmi.h | 240 struct ctl_table; 241 int proc_watchdog(struct ctl_table *, int, void *, size_t *, loff_t *); 242 int proc_nmi_watchdog(struct ctl_table *, int , void *, size_t *, loff_t *); 243 int proc_soft_watchdog(struct ctl_table *, int , void *, size_t *, loff_t *); 244 int proc_watchdog_thresh(struct ctl_table *, int , void *, size_t *, loff_t *); 245 int proc_watchdog_cpumask(struct ctl_table *, int, void *, size_t *, loff_t *);
|
/kernel/linux/linux-5.10/include/linux/sched/ |
H A D | sysctl.h | 7 struct ctl_table; 22 int proc_dohung_task_timeout_secs(struct ctl_table *table, int write, 40 sysctl_sched_walt_init_task_load_pct_sysctl_handler(struct ctl_table *table, 68 int sched_proc_update_handler(struct ctl_table *table, int write, 101 int sched_rr_handler(struct ctl_table *table, int write, void *buffer, 103 int sched_rt_handler(struct ctl_table *table, int write, void *buffer, 105 int sysctl_sched_uclamp_handler(struct ctl_table *table, int write, 107 int sysctl_numa_balancing(struct ctl_table *table, int write, void *buffer, 109 int sysctl_schedstats(struct ctl_table *table, int write, void *buffer, 114 int sched_energy_aware_handler(struct ctl_table *tabl [all...] |
/kernel/linux/linux-6.6/arch/s390/appldata/ |
H A D | appldata_base.c | 49 static int appldata_timer_handler(struct ctl_table *ctl, int write, 51 static int appldata_interval_handler(struct ctl_table *ctl, int write, 55 static struct ctl_table appldata_table[] = { 203 appldata_timer_handler(struct ctl_table *ctl, int write, in appldata_timer_handler() 208 struct ctl_table ctl_entry = { in appldata_timer_handler() 236 appldata_interval_handler(struct ctl_table *ctl, int write, in appldata_interval_handler() 241 struct ctl_table ctl_entry = { in appldata_interval_handler() 266 appldata_generic_handler(struct ctl_table *ctl, int write, in appldata_generic_handler() 273 struct ctl_table ctl_entry = { in appldata_generic_handler() 284 if (&tmp_ops->ctl_table[ in appldata_generic_handler() [all...] |
/kernel/linux/linux-5.10/arch/s390/appldata/ |
H A D | appldata_base.c | 53 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_entr in appldata_generic_handler() [all...] |
/kernel/linux/linux-5.10/fs/proc/ |
H A D | proc_sysctl.c | 34 struct ctl_table sysctl_mount_point[] = { 40 return head->ctl_table[0].child == sysctl_mount_point; in is_empty_dir() 45 dir->header.ctl_table[0].child = sysctl_mount_point; in set_empty_dir() 51 dir->header.ctl_table[0].child = NULL; in clear_empty_dir() 63 static struct ctl_table root_table[] = { 74 .ctl_table = root_table }}, 85 struct ctl_table **pentry); 93 pr_cont("%s/", dir->header.ctl_table[0].procname); in sysctl_print_dir() 112 static struct ctl_table *find_entry(struct ctl_table_header **phead, in find_entry() 116 struct ctl_table *entr in find_entry() [all...] |
/kernel/linux/linux-5.10/ipc/ |
H A D | mq_sysctl.c | 13 static void *get_mq(struct ctl_table *table) in get_mq() 21 static int proc_mq_dointvec(struct ctl_table *table, int write, in proc_mq_dointvec() 24 struct ctl_table mq_table; in proc_mq_dointvec() 31 static int proc_mq_dointvec_minmax(struct ctl_table *table, int write, in proc_mq_dointvec_minmax() 34 struct ctl_table mq_table; in proc_mq_dointvec_minmax() 52 static struct ctl_table mq_sysctls[] = { 99 static struct ctl_table mq_sysctl_dir[] = { 108 static struct ctl_table mq_sysctl_root[] = {
|
H A D | ipc_sysctl.c | 17 static void *get_ipc(struct ctl_table *table) in get_ipc() 26 static int proc_ipc_dointvec(struct ctl_table *table, int write, in proc_ipc_dointvec() 29 struct ctl_table ipc_table; in proc_ipc_dointvec() 37 static int proc_ipc_dointvec_minmax(struct ctl_table *table, int write, in proc_ipc_dointvec_minmax() 40 struct ctl_table ipc_table; in proc_ipc_dointvec_minmax() 48 static int proc_ipc_dointvec_minmax_orphans(struct ctl_table *table, int write, in proc_ipc_dointvec_minmax_orphans() 61 static int proc_ipc_doulongvec_minmax(struct ctl_table *table, int write, in proc_ipc_doulongvec_minmax() 64 struct ctl_table ipc_table; in proc_ipc_doulongvec_minmax() 72 static int proc_ipc_auto_msgmni(struct ctl_table *table, int write, in proc_ipc_auto_msgmni() 75 struct ctl_table ipc_tabl in proc_ipc_auto_msgmni() [all...] |
/kernel/linux/linux-6.6/net/sctp/ |
H A D | sysctl.c | 46 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[] = { 391 static int proc_sctp_do_hmac_alg(struct ctl_table *ct [all...] |
/kernel/linux/linux-5.10/net/sctp/ |
H A D | sysctl.c | 45 static int proc_sctp_do_hmac_alg(struct ctl_table *ctl, int write, 47 static int proc_sctp_do_rto_min(struct ctl_table *ctl, int write, 49 static int proc_sctp_do_rto_max(struct ctl_table *ctl, int write, void *buffer, 51 static int proc_sctp_do_alpha_beta(struct ctl_table *ctl, int write, 53 static int proc_sctp_do_auth(struct ctl_table *ctl, int write, 56 static struct ctl_table sctp_table[] = { 92 static struct ctl_table sctp_net_table[] = { 350 static int proc_sctp_do_hmac_alg(struct ctl_table *ctl, int write, in proc_sctp_do_hmac_alg() 354 struct ctl_table tbl; in proc_sctp_do_hmac_alg() 360 memset(&tbl, 0, sizeof(struct ctl_table)); in proc_sctp_do_hmac_alg() [all...] |
/kernel/linux/linux-5.10/drivers/parport/ |
H A D | procfs.c | 36 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_di [all...] |
/kernel/linux/linux-6.6/fs/proc/ |
H A D | proc_sysctl.c | 23 entry = header->ctl_table; \ 33 static struct ctl_table sysctl_mount_point[] = { 54 (sysctl_is_perm_empty_ctl_table(hptr->ctl_table)) 56 (hptr->ctl_table[0].type = SYSCTL_TABLE_TYPE_PERMANENTLY_EMPTY) 58 (hptr->ctl_table[0].type = SYSCTL_TABLE_TYPE_DEFAULT) 69 static struct ctl_table root_table[] = { 80 .ctl_table = root_table }}, 91 struct ctl_table **pentry); 99 pr_cont("%s/", dir->header.ctl_table[0].procname); in sysctl_print_dir() 113 static struct ctl_table *find_entr [all...] |
/kernel/linux/linux-6.6/drivers/parport/ |
H A D | procfs.c | 43 static int do_active_device(struct ctl_table *table, int write, in do_active_device() 80 static int do_autoprobe(struct ctl_table *table, int write, in do_autoprobe() 123 static int do_hardware_base_addr(struct ctl_table *table, int write, in do_hardware_base_addr() 150 static int do_hardware_irq(struct ctl_table *table, int write, in do_hardware_irq() 177 static int do_hardware_dma(struct ctl_table *table, int write, in do_hardware_dma() 204 static int do_hardware_modes(struct ctl_table *table, int write, in do_hardware_modes() 262 struct ctl_table vars[12]; 263 struct ctl_table device_dir[2]; 361 struct ctl_table vars[2]; 362 struct ctl_table device_di [all...] |
/kernel/linux/linux-6.6/net/ |
H A D | sysctl_net.c | 43 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, size_t table_size) in ensure_safe_net_sysctl() 127 struct ctl_table *ent; in ensure_safe_net_sysctl() 166 struct ctl_table *table, in register_net_sysctl_sz() 170 struct ctl_table *entry; in register_net_sysctl_sz()
|
/kernel/linux/linux-5.10/net/core/ |
H A D | sysctl_net_core.c | 49 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() 119 static int flow_limit_cpu_sysctl(struct ctl_table *table, int write, in flow_limit_cpu_sysctl() 194 static int flow_limit_table_len_sysctl(struct ctl_table *table, int write, in flow_limit_table_len_sysctl() 216 static int set_default_qdisc(struct ctl_table *table, int write, in set_default_qdisc() 220 struct ctl_table tbl = { in set_default_qdisc() 235 static int proc_do_dev_weight(struct ctl_table *table, int write, in proc_do_dev_weight() 253 static int proc_do_rss_key(struct ctl_table *table, int write, in proc_do_rss_key() 256 struct ctl_table fake_table; in proc_do_rss_key() 266 static int proc_dointvec_minmax_bpf_enable(struct ctl_table *tabl [all...] |
/kernel/linux/linux-5.10/kernel/ |
H A D | utsname_sysctl.c | 17 static void *get_uts(struct ctl_table *table) in get_uts() 32 static int proc_do_uts_string(struct ctl_table *table, int write, in proc_do_uts_string() 35 struct ctl_table uts_table; in proc_do_uts_string() 75 static struct ctl_table uts_kern_table[] = { 116 static struct ctl_table uts_root_table[] = { 132 struct ctl_table *table = &uts_kern_table[proc]; in uts_proc_notify()
|
H A D | sysctl-test.c | 21 struct ctl_table null_data_table = { in sysctl_test_api_dointvec_null_tbl_data() 72 struct ctl_table data_maxlen_unset_table = { in sysctl_test_api_dointvec_table_maxlen_unset() 111 * Here we provide a valid struct ctl_table, but we try to read and write from 119 struct ctl_table table = { in sysctl_test_api_dointvec_table_len_is_zero() 153 struct ctl_table table = { in sysctl_test_api_dointvec_table_read_but_position_set() 188 struct ctl_table table = { in sysctl_test_dointvec_read_happy_single_positive() 219 struct ctl_table table = { in sysctl_test_dointvec_read_happy_single_negative() 248 struct ctl_table table = { in sysctl_test_dointvec_write_happy_single_positive() 278 struct ctl_table table = { in sysctl_test_dointvec_write_happy_single_negative() 310 struct ctl_table tabl in sysctl_test_api_dointvec_write_single_less_int_min() [all...] |
/kernel/linux/linux-6.6/net/core/ |
H A D | sysctl_net_core.c | 94 static int rps_default_mask_sysctl(struct ctl_table *table, int write, in rps_default_mask_sysctl() 125 static int rps_sock_flow_sysctl(struct ctl_table *table, int write, in rps_sock_flow_sysctl() 130 struct ctl_table tmp = { in rps_sock_flow_sysctl() 194 static int flow_limit_cpu_sysctl(struct ctl_table *table, int write, in flow_limit_cpu_sysctl() 251 static int flow_limit_table_len_sysctl(struct ctl_table *table, int write, in flow_limit_table_len_sysctl() 273 static int set_default_qdisc(struct ctl_table *table, int write, in set_default_qdisc() 277 struct ctl_table tbl = { in set_default_qdisc() 292 static int proc_do_dev_weight(struct ctl_table *table, int write, in proc_do_dev_weight() 310 static int proc_do_rss_key(struct ctl_table *table, int write, in proc_do_rss_key() 313 struct ctl_table fake_tabl in proc_do_rss_key() [all...] |
/kernel/linux/linux-6.6/kernel/ |
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() 108 * Here we provide a valid struct ctl_table, but we try to read and write from 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 tabl in sysctl_test_api_dointvec_write_single_less_int_min() [all...] |
H A D | sysctl.c | 208 static void warn_sysctl_write(struct ctl_table *table) in warn_sysctl_write() 226 struct ctl_table *table) in proc_first_pos_non_zero_ignore() 259 int proc_dostring(struct ctl_table *table, int write, in proc_dostring() 471 static int __do_proc_dointvec(void *tbl_data, struct ctl_table *table, in __do_proc_dointvec() 544 static int do_proc_dointvec(struct ctl_table *table, int write, in do_proc_dointvec() 555 struct ctl_table *table, in do_proc_douintvec_w() 642 static int __do_proc_douintvec(void *tbl_data, struct ctl_table *table, in __do_proc_douintvec() 678 int do_proc_douintvec(struct ctl_table *table, int write, in do_proc_douintvec() 705 int proc_dobool(struct ctl_table *table, int write, void *buffer, in proc_dobool() 708 struct ctl_table tm in proc_dobool() [all...] |
/kernel/linux/linux-6.6/net/ipv6/ |
H A D | sysctl_net_ipv6.c | 33 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() 316 struct ctl_table *ipv6_table; in ipv6_sysctl_net_exit() 317 struct ctl_table *ipv6_route_table; in ipv6_sysctl_net_exit() 318 struct ctl_table *ipv6_icmp_tabl in ipv6_sysctl_net_exit() [all...] |
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | sysctl_net_ipv4.c | 68 static int ipv4_local_port_range(struct ctl_table *table, int write, in ipv4_local_port_range() 75 struct ctl_table tmp = { in ipv4_local_port_range() 103 static int ipv4_privileged_ports(struct ctl_table *table, int write, in ipv4_privileged_ports() 111 struct ctl_table tmp = { in ipv4_privileged_ports() 137 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() 152 static void set_ping_group_range(struct ctl_table *table, kgid_t low, kgid_t high) in set_ping_group_range() 164 static int ipv4_ping_group_range(struct ctl_table *table, int write, in ipv4_ping_group_range() 171 struct ctl_table tmp = { in ipv4_ping_group_range() 199 static int ipv4_fwd_update_priority(struct ctl_table *table, int write, in ipv4_fwd_update_priority() 215 static int proc_tcp_congestion_control(struct ctl_table *ct [all...] |
/kernel/linux/linux-5.10/net/ipv6/ |
H A D | sysctl_net_ipv6.c | 29 static int proc_rt6_multipath_hash_policy(struct ctl_table *table, int write, in proc_rt6_multipath_hash_policy() 44 static struct ctl_table ipv6_table_template[] = { 166 static struct ctl_table ipv6_rotable[] = { 203 struct ctl_table *ipv6_table; in ipv6_sysctl_net_init() 204 struct ctl_table *ipv6_route_table; in ipv6_sysctl_net_init() 205 struct ctl_table *ipv6_icmp_table; in ipv6_sysctl_net_init() 257 struct ctl_table *ipv6_table; in ipv6_sysctl_net_exit() 258 struct ctl_table *ipv6_route_table; in ipv6_sysctl_net_exit() 259 struct ctl_table *ipv6_icmp_table; in ipv6_sysctl_net_exit()
|