Lines Matching refs:maxlen
559 if (table->data && table->maxlen) { in do_sysctl_strategy()
564 if (len > table->maxlen) in do_sysctl_strategy()
565 len = table->maxlen; in do_sysctl_strategy()
574 if (len > table->maxlen) in do_sysctl_strategy()
575 len = table->maxlen; in do_sysctl_strategy()
870 if (!table->data || !table->maxlen || !*lenp || in proc_dostring()
886 if (len >= table->maxlen) in proc_dostring()
887 len = table->maxlen-1; in proc_dostring()
894 if (len > table->maxlen) in proc_dostring()
895 len = table->maxlen; in proc_dostring()
949 if (!table->data || !table->maxlen || !*lenp || in do_proc_dointvec()
956 vleft = table->maxlen / sizeof(int); in do_proc_dointvec()
1100 if (!table->data || !table->maxlen || !*lenp || in proc_dointvec_minmax()
1109 vleft = table->maxlen / sizeof(int); in proc_dointvec_minmax()
1201 if (!table->data || !table->maxlen || !*lenp || in do_proc_doulongvec_minmax()
1210 vleft = table->maxlen / sizeof(unsigned long); in do_proc_doulongvec_minmax()
1430 if (!table->data || !table->maxlen) in sysctl_string()
1439 if (len >= table->maxlen) in sysctl_string()
1440 len = table->maxlen; in sysctl_string()
1451 if (len > table->maxlen) in sysctl_string()
1452 len = table->maxlen; in sysctl_string()
1455 if (len == table->maxlen) in sysctl_string()
1481 if (newlen > table->maxlen) in sysctl_intvec()
1482 newlen = table->maxlen; in sysctl_intvec()