Lines Matching refs:maxlen

146 static int _proc_do_string(char *data, int maxlen, int write,  in _proc_do_string()  argument
152 if (!data || !maxlen || !*lenp) { in _proc_do_string()
161 if (len > maxlen - 1) in _proc_do_string()
162 len = maxlen - 1; in _proc_do_string()
174 while ((p - buffer) < *lenp && len < maxlen - 1) { in _proc_do_string()
183 if (len > maxlen) in _proc_do_string()
184 len = maxlen; in _proc_do_string()
265 return _proc_do_string(table->data, table->maxlen, write, buffer, lenp, in proc_dostring()
482 if (!tbl_data || !table->maxlen || !*lenp || (*ppos && !write)) { in __do_proc_dointvec()
488 vleft = table->maxlen / sizeof(*i); in __do_proc_dointvec()
652 if (!tbl_data || !table->maxlen || !*lenp || (*ppos && !write)) { in __do_proc_douintvec()
658 vleft = table->maxlen / sizeof(*i); in __do_proc_douintvec()
713 if (table->maxlen != sizeof(bool)) in proc_dobool()
717 tmp.maxlen = sizeof(val); in proc_dobool()
977 if (table->maxlen != sizeof(u8)) in proc_dou8vec_minmax()
993 tmp.maxlen = sizeof(val); in proc_dou8vec_minmax()
1035 if (!data || !table->maxlen || !*lenp || (*ppos && !write)) { in __do_proc_doulongvec_minmax()
1043 vleft = table->maxlen / sizeof(unsigned long); in __do_proc_doulongvec_minmax()
1374 unsigned long bitmap_len = table->maxlen; in proc_do_large_bitmap()
1596 .maxlen = sizeof(val), in proc_do_static_key()
1622 .maxlen = sizeof(int),
1629 .maxlen = sizeof(long),
1636 .maxlen = sizeof(int),
1646 .maxlen = sizeof(int),
1654 .maxlen = 256,
1661 .maxlen = sizeof (int),
1668 .maxlen = sizeof (int),
1677 .maxlen = sizeof (int),
1686 .maxlen = sizeof (int),
1695 .maxlen = sizeof (int),
1704 .maxlen = sizeof(int),
1713 .maxlen = sizeof(int),
1720 .maxlen = sizeof(__disable_trace_on_warning),
1727 .maxlen = sizeof(tracepoint_printk),
1736 .maxlen = KMOD_PATH_LEN,
1743 .maxlen = sizeof(int),
1755 .maxlen = UEVENT_HELPER_PATH_LEN,
1764 .maxlen = sizeof (int),
1773 .maxlen = sizeof (int),
1781 .maxlen = sizeof(int),
1788 .maxlen = sizeof(int),
1797 .maxlen = sizeof(int),
1807 .maxlen = sizeof(int),
1815 .maxlen = sizeof (int),
1824 .maxlen = sizeof(int),
1831 .maxlen = sizeof(unsigned long),
1838 .maxlen = sizeof (int),
1845 .maxlen = sizeof(int),
1853 .maxlen = sizeof (int),
1864 .maxlen = sizeof(int),
1873 .maxlen = sizeof(int),
1880 .maxlen = sizeof(int),
1887 .maxlen = sizeof (int),
1894 .maxlen = sizeof (int),
1901 .maxlen = sizeof(int),
1910 .maxlen = sizeof(int),
1919 .maxlen = sizeof (int),
1928 .maxlen = sizeof (unsigned long),
1937 .maxlen = sizeof (int),
1946 .maxlen = sizeof (int),
1955 .maxlen = sizeof(int),
1970 .maxlen = sizeof(sysctl_perf_event_paranoid),
1977 .maxlen = sizeof(sysctl_perf_event_mlock),
1984 .maxlen = sizeof(sysctl_perf_event_sample_rate),
1992 .maxlen = sizeof(sysctl_perf_cpu_time_max_percent),
2001 .maxlen = sizeof(sysctl_perf_event_max_stack),
2010 .maxlen = sizeof(sysctl_perf_event_max_contexts_per_stack),
2020 .maxlen = sizeof(int),
2030 .maxlen = sizeof(sysctl_panic_on_rcu_stall),
2039 .maxlen = sizeof(sysctl_max_rcu_stall_to_panic),
2053 .maxlen = sizeof(sysctl_overcommit_memory),
2062 .maxlen = sizeof(sysctl_overcommit_ratio),
2069 .maxlen = sizeof(sysctl_overcommit_kbytes),
2076 .maxlen = sizeof(int),
2085 .maxlen = sizeof(dirtytime_expire_interval),
2093 .maxlen = sizeof(vm_swappiness),
2103 .maxlen = sizeof(int),
2113 .maxlen = sizeof(int),
2122 .maxlen = sizeof(sysctl_page_lock_unfairness),
2131 .maxlen = sizeof(sysctl_max_map_count),
2140 .maxlen = sizeof(sysctl_nr_trim_pages),
2149 .maxlen = sizeof(sysctl_vfs_cache_pressure),
2159 .maxlen = sizeof(sysctl_legacy_va_layout),
2169 .maxlen = sizeof(node_reclaim_mode),
2179 .maxlen = sizeof(sysctl_stat_interval),
2186 .maxlen = 0,
2195 .maxlen = sizeof(unsigned long),
2206 .maxlen = sizeof(vdso32_enabled),
2209 .maxlen = sizeof(vdso_enabled),
2219 .maxlen = sizeof(sysctl_user_reserve_kbytes),
2226 .maxlen = sizeof(sysctl_admin_reserve_kbytes),
2234 .maxlen = sizeof(mmap_rnd_bits),
2245 .maxlen = sizeof(mmap_rnd_compat_bits),