Lines Matching refs:data
147 static int _proc_do_string(char *data, int maxlen, int write, in _proc_do_string() argument
153 if (!data || !maxlen || !*lenp) { in _proc_do_string()
161 len = strlen(data); in _proc_do_string()
179 data[len++] = c; in _proc_do_string()
181 data[len] = 0; in _proc_do_string()
183 len = strlen(data); in _proc_do_string()
192 data += *ppos; in _proc_do_string()
198 memcpy(buffer, data, len); in _proc_do_string()
266 return _proc_do_string(table->data, table->maxlen, write, buffer, lenp, in proc_dostring()
430 int write, void *data) in do_proc_dobool_conv() argument
445 int write, void *data) in do_proc_dointvec_conv() argument
472 int write, void *data) in do_proc_douintvec_conv() argument
491 int write, void *data), in __do_proc_dointvec() argument
492 void *data) in __do_proc_dointvec()
533 if (conv(&neg, &lval, i, 1, data)) { in __do_proc_dointvec()
538 if (conv(&neg, &lval, i, 0, data)) { in __do_proc_dointvec()
563 int write, void *data), in do_proc_dointvec() argument
564 void *data) in do_proc_dointvec()
566 return __do_proc_dointvec(table->data, table, write, in do_proc_dointvec()
567 buffer, lenp, ppos, conv, data); in do_proc_dointvec()
576 int write, void *data), in do_proc_douintvec_w() argument
577 void *data) in do_proc_douintvec_w()
607 if (conv(&lval, tbl_data, 1, data)) { in do_proc_douintvec_w()
631 int write, void *data), in do_proc_douintvec_r() argument
632 void *data) in do_proc_douintvec_r()
640 if (conv(&lval, tbl_data, 0, data)) { in do_proc_douintvec_r()
663 int write, void *data), in __do_proc_douintvec() argument
664 void *data) in __do_proc_douintvec()
690 conv, data); in __do_proc_douintvec()
691 return do_proc_douintvec_r(i, buffer, lenp, ppos, conv, data); in __do_proc_douintvec()
698 int write, void *data), in do_proc_douintvec() argument
699 void *data) in do_proc_douintvec()
701 return __do_proc_douintvec(table->data, table, write, in do_proc_douintvec()
702 buffer, lenp, ppos, conv, data); in do_proc_douintvec()
753 old = *(int *)table->data; in proc_dointvec_minmax_warn_RT_change()
757 if (old != *(int *)table->data) in proc_dointvec_minmax_warn_RT_change()
800 t.data = &tmptaint; in proc_taint()
844 int write, void *data) in do_proc_dointvec_minmax_conv() argument
847 struct do_proc_dointvec_minmax_conv_param *param = data; in do_proc_dointvec_minmax_conv()
854 ret = do_proc_dointvec_conv(negp, lvalp, ip, write, data); in do_proc_dointvec_minmax_conv()
911 int write, void *data) in do_proc_douintvec_minmax_conv() argument
915 struct do_proc_douintvec_minmax_conv_param *param = data; in do_proc_douintvec_minmax_conv()
919 ret = do_proc_douintvec_conv(lvalp, up, write, data); in do_proc_douintvec_minmax_conv()
986 u8 *data = table->data; in proc_dou8vec_minmax() local
1011 tmp.data = &val; in proc_dou8vec_minmax()
1012 val = READ_ONCE(*data); in proc_dou8vec_minmax()
1018 WRITE_ONCE(*data, val); in proc_dou8vec_minmax()
1043 static int __do_proc_doulongvec_minmax(void *data, struct ctl_table *table, in __do_proc_doulongvec_minmax() argument
1052 if (!data || !table->maxlen || !*lenp || (*ppos && !write)) { in __do_proc_doulongvec_minmax()
1057 i = data; in __do_proc_doulongvec_minmax()
1120 return __do_proc_doulongvec_minmax(table->data, table, write, in do_proc_doulongvec_minmax()
1173 int write, void *data) in do_proc_dointvec_jiffies_conv() argument
1199 int write, void *data) in do_proc_dointvec_userhz_jiffies_conv() argument
1222 int write, void *data) in do_proc_dointvec_ms_jiffies_conv() argument
1246 int *valp, int write, void *data) in do_proc_dointvec_ms_jiffies_minmax_conv() argument
1249 struct do_proc_dointvec_minmax_conv_param *param = data; in do_proc_dointvec_ms_jiffies_minmax_conv()
1256 ret = do_proc_dointvec_ms_jiffies_conv(negp, lvalp, ip, write, data); in do_proc_dointvec_ms_jiffies_minmax_conv()
1392 unsigned long *bitmap = *(unsigned long **) table->data; in proc_do_large_bitmap()
1608 struct static_key *key = (struct static_key *)table->data; in proc_do_static_key()
1612 .data = &val, in proc_do_static_key()
1639 .data = NULL, /* filled in by handler */
1648 .data = &sysctl_numa_balancing_promote_rate_limit,
1657 .data = &panic_timeout,
1671 .data = &sysctl_writes_strict,
1681 .data = &print_fatal_signals,
1689 .data = reboot_command,
1696 .data = &stop_a_enabled,
1703 .data = &scons_pwroff,
1712 .data = &sysctl_tsb_ratio,
1721 .data = &pwrsw_enabled,
1730 .data = &unaligned_enabled,
1739 .data = &stack_tracer_enabled,
1748 .data = &ftrace_dump_on_oops,
1755 .data = &__disable_trace_on_warning,
1762 .data = &tracepoint_printk,
1771 .data = &modprobe_path,
1778 .data = &modules_disabled,
1790 .data = &uevent_helper,
1799 .data = NULL,
1808 .data = NULL,
1816 .data = NULL,
1828 .data = &overflowuid,
1837 .data = &overflowgid,
1847 .data = &show_unhandled_signals,
1855 .data = &pid_max,
1864 .data = &panic_on_oops,
1871 .data = &panic_print,
1878 .data = (void *)&ngroups_max,
1885 .data = (void *)&cap_last_cap,
1893 .data = &unknown_nmi_panic,
1904 .data = &sysctl_panic_on_stackoverflow,
1913 .data = &panic_on_unrecovered_nmi,
1920 .data = &panic_on_io_nmi,
1927 .data = &bootloader_type,
1934 .data = &bootloader_version,
1941 .data = &io_delay_type,
1950 .data = &randomize_va_space,
1959 .data = &spin_retry,
1968 .data = &acpi_realmode_flags,
1977 .data = &no_unaligned_warning,
1986 .data = &unaligned_dump_stack,
1995 .data = &max_lock_depth,
2017 .data = &sysctl_perf_event_paranoid,
2024 .data = &sysctl_perf_event_mlock,
2031 .data = &sysctl_perf_event_sample_rate,
2039 .data = &sysctl_perf_cpu_time_max_percent,
2048 .data = &sysctl_perf_event_max_stack,
2057 .data = &sysctl_perf_event_max_contexts_per_stack,
2067 .data = &panic_on_warn,
2077 .data = &sysctl_panic_on_rcu_stall,
2086 .data = &sysctl_max_rcu_stall_to_panic,
2100 .data = &sysctl_overcommit_memory,
2109 .data = &sysctl_overcommit_ratio,
2116 .data = &sysctl_overcommit_kbytes,
2123 .data = &page_cluster,
2131 .data = &dirtytime_expire_interval,
2139 .data = &vm_swappiness,
2149 .data = &sysctl_vm_numa_stat,
2160 .data = NULL,
2168 .data = NULL,
2176 .data = &sysctl_hugetlb_shm_group,
2183 .data = NULL,
2191 .data = &sysctl_lowmem_reserve_ratio,
2198 .data = &sysctl_drop_caches,
2208 .data = NULL,
2215 .data = &sysctl_compaction_proactiveness,
2224 .data = &sysctl_extfrag_threshold,
2233 .data = &sysctl_compact_unevictable_allowed,
2244 .data = &min_free_kbytes,
2252 .data = &watermark_boost_factor,
2260 .data = &watermark_scale_factor,
2269 .data = &percpu_pagelist_high_fraction,
2277 .data = &sysctl_page_lock_unfairness,
2286 .data = &sysctl_max_map_count,
2295 .data = &sysctl_nr_trim_pages,
2304 .data = &sysctl_vfs_cache_pressure,
2314 .data = &sysctl_legacy_va_layout,
2324 .data = &node_reclaim_mode,
2332 .data = &sysctl_min_unmapped_ratio,
2341 .data = &sysctl_min_slab_ratio,
2352 .data = &sysctl_stat_interval,
2359 .data = NULL,
2368 .data = &dac_mmap_min_addr,
2377 .data = &numa_zonelist_order,
2388 .data = &vdso32_enabled,
2391 .data = &vdso_enabled,
2402 .data = &sysctl_memory_failure_early_kill,
2411 .data = &sysctl_memory_failure_recovery,
2421 .data = &sysctl_user_reserve_kbytes,
2428 .data = &sysctl_admin_reserve_kbytes,
2436 .data = &mmap_rnd_bits,
2447 .data = &mmap_rnd_compat_bits,
2458 .data = &sysctl_unprivileged_userfaultfd,
2473 .data = &show_unhandled_signals,