Lines Matching refs:lenp

125 		char *buffer, size_t *lenp, loff_t *ppos)  in _proc_do_string()  argument
130 if (!data || !maxlen || !*lenp) { in _proc_do_string()
131 *lenp = 0; in _proc_do_string()
150 *ppos += *lenp; in _proc_do_string()
152 while ((p - buffer) < *lenp && len < maxlen - 1) { in _proc_do_string()
165 *lenp = 0; in _proc_do_string()
172 if (len > *lenp) in _proc_do_string()
173 len = *lenp; in _proc_do_string()
176 if (len < *lenp) { in _proc_do_string()
180 *lenp = len; in _proc_do_string()
238 void *buffer, size_t *lenp, loff_t *ppos) in proc_dostring() argument
243 return _proc_do_string(table->data, table->maxlen, write, buffer, lenp, in proc_dostring()
451 size_t *lenp, loff_t *ppos, in __do_proc_dointvec() argument
460 if (!tbl_data || !table->maxlen || !*lenp || (*ppos && !write)) { in __do_proc_dointvec()
461 *lenp = 0; in __do_proc_dointvec()
467 left = *lenp; in __do_proc_dointvec()
516 *lenp -= left; in __do_proc_dointvec()
518 *ppos += *lenp; in __do_proc_dointvec()
523 void *buffer, size_t *lenp, loff_t *ppos, in do_proc_dointvec() argument
529 buffer, lenp, ppos, conv, data); in do_proc_dointvec()
535 size_t *lenp, loff_t *ppos, in do_proc_douintvec_w() argument
547 left = *lenp; in do_proc_douintvec_w()
585 *ppos += *lenp; in do_proc_douintvec_w()
590 size_t *lenp, loff_t *ppos, in do_proc_douintvec_r() argument
600 left = *lenp; in do_proc_douintvec_r()
614 *lenp -= left; in do_proc_douintvec_r()
615 *ppos += *lenp; in do_proc_douintvec_r()
622 size_t *lenp, loff_t *ppos, in __do_proc_douintvec() argument
630 if (!tbl_data || !table->maxlen || !*lenp || (*ppos && !write)) { in __do_proc_douintvec()
631 *lenp = 0; in __do_proc_douintvec()
643 *lenp = 0; in __do_proc_douintvec()
651 return do_proc_douintvec_w(i, table, buffer, lenp, ppos, in __do_proc_douintvec()
653 return do_proc_douintvec_r(i, buffer, lenp, ppos, conv, data); in __do_proc_douintvec()
657 void *buffer, size_t *lenp, loff_t *ppos, in do_proc_douintvec() argument
664 buffer, lenp, ppos, conv, data); in do_proc_douintvec()
684 size_t *lenp, loff_t *ppos) in proc_dobool() argument
699 res = proc_dointvec(&tmp, write, buffer, lenp, ppos); in proc_dobool()
721 size_t *lenp, loff_t *ppos) in proc_dointvec() argument
723 return do_proc_dointvec(table, write, buffer, lenp, ppos, NULL, NULL); in proc_dointvec()
740 size_t *lenp, loff_t *ppos) in proc_douintvec() argument
742 return do_proc_douintvec(table, write, buffer, lenp, ppos, in proc_douintvec()
751 void *buffer, size_t *lenp, loff_t *ppos) in proc_taint() argument
762 err = proc_doulongvec_minmax(&t, write, buffer, lenp, ppos); in proc_taint()
846 void *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_minmax() argument
852 return do_proc_dointvec(table, write, buffer, lenp, ppos, in proc_dointvec_minmax()
915 void *buffer, size_t *lenp, loff_t *ppos) in proc_douintvec_minmax() argument
921 return do_proc_douintvec(table, write, buffer, lenp, ppos, in proc_douintvec_minmax()
943 void *buffer, size_t *lenp, loff_t *ppos) in proc_dou8vec_minmax() argument
968 res = do_proc_douintvec(&tmp, write, buffer, lenp, ppos, in proc_dou8vec_minmax()
980 void *buffer, size_t *lenp, loff_t *ppos) in sysrq_sysctl_handler() argument
987 lenp, ppos, NULL, NULL); in sysrq_sysctl_handler()
1000 void *buffer, size_t *lenp, loff_t *ppos, in __do_proc_doulongvec_minmax() argument
1008 if (!data || !table->maxlen || !*lenp || (*ppos && !write)) { in __do_proc_doulongvec_minmax()
1009 *lenp = 0; in __do_proc_doulongvec_minmax()
1017 left = *lenp; in __do_proc_doulongvec_minmax()
1066 *lenp -= left; in __do_proc_doulongvec_minmax()
1068 *ppos += *lenp; in __do_proc_doulongvec_minmax()
1073 void *buffer, size_t *lenp, loff_t *ppos, unsigned long convmul, in do_proc_doulongvec_minmax() argument
1077 buffer, lenp, ppos, convmul, convdiv); in do_proc_doulongvec_minmax()
1097 void *buffer, size_t *lenp, loff_t *ppos) in proc_doulongvec_minmax() argument
1099 return do_proc_doulongvec_minmax(table, write, buffer, lenp, ppos, 1l, 1l); in proc_doulongvec_minmax()
1120 void *buffer, size_t *lenp, loff_t *ppos) in proc_doulongvec_ms_jiffies_minmax() argument
1123 lenp, ppos, HZ, 1000l); in proc_doulongvec_ms_jiffies_minmax()
1241 void *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_jiffies() argument
1243 return do_proc_dointvec(table,write,buffer,lenp,ppos, in proc_dointvec_jiffies()
1248 void *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_ms_jiffies_minmax() argument
1254 return do_proc_dointvec(table, write, buffer, lenp, ppos, in proc_dointvec_ms_jiffies_minmax()
1274 void *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_userhz_jiffies() argument
1276 return do_proc_dointvec(table, write, buffer, lenp, ppos, in proc_dointvec_userhz_jiffies()
1296 size_t *lenp, loff_t *ppos) in proc_dointvec_ms_jiffies() argument
1298 return do_proc_dointvec(table, write, buffer, lenp, ppos, in proc_dointvec_ms_jiffies()
1303 size_t *lenp, loff_t *ppos) in proc_do_cad_pid() argument
1312 lenp, ppos, NULL, NULL); in proc_do_cad_pid()
1342 void *buffer, size_t *lenp, loff_t *ppos) in proc_do_large_bitmap() argument
1345 size_t left = *lenp; in proc_do_large_bitmap()
1352 *lenp = 0; in proc_do_large_bitmap()
1363 skipped = *lenp - left; in proc_do_large_bitmap()
1463 *lenp -= left; in proc_do_large_bitmap()
1464 *ppos += *lenp; in proc_do_large_bitmap()
1474 void *buffer, size_t *lenp, loff_t *ppos) in proc_dostring() argument
1480 void *buffer, size_t *lenp, loff_t *ppos) in proc_dobool() argument
1486 void *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec() argument
1492 void *buffer, size_t *lenp, loff_t *ppos) in proc_douintvec() argument
1498 void *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_minmax() argument
1504 void *buffer, size_t *lenp, loff_t *ppos) in proc_douintvec_minmax() argument
1510 void *buffer, size_t *lenp, loff_t *ppos) in proc_dou8vec_minmax() argument
1516 void *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_jiffies() argument
1522 void *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_ms_jiffies_minmax() argument
1528 void *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_userhz_jiffies() argument
1534 void *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_ms_jiffies() argument
1540 void *buffer, size_t *lenp, loff_t *ppos) in proc_doulongvec_minmax() argument
1546 void *buffer, size_t *lenp, loff_t *ppos) in proc_doulongvec_ms_jiffies_minmax() argument
1552 void *buffer, size_t *lenp, loff_t *ppos) in proc_do_large_bitmap() argument
1561 void *buffer, size_t *lenp, loff_t *ppos) in proc_do_static_key() argument
1579 ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); in proc_do_static_key()