Lines Matching refs:ppos

77 		char *buffer, size_t *lenp, loff_t *ppos)  in _proc_do_string()  argument
94 if (*ppos > len) in _proc_do_string()
96 len = *ppos; in _proc_do_string()
102 *ppos += *lenp; in _proc_do_string()
116 if (*ppos > len) { in _proc_do_string()
121 data += *ppos; in _proc_do_string()
122 len -= *ppos; in _proc_do_string()
133 *ppos += len; in _proc_do_string()
155 static bool proc_first_pos_non_zero_ignore(loff_t *ppos, in proc_first_pos_non_zero_ignore() argument
158 if (!*ppos) in proc_first_pos_non_zero_ignore()
190 void *buffer, size_t *lenp, loff_t *ppos) in proc_dostring() argument
193 proc_first_pos_non_zero_ignore(ppos, table); in proc_dostring()
196 ppos); in proc_dostring()
384 void *buffer, size_t *lenp, loff_t *ppos, in do_proc_dointvec() argument
393 (*ppos && SYSCTL_KERN_TO_USER(dir))) { in do_proc_dointvec()
406 if (proc_first_pos_non_zero_ignore(ppos, table)) in do_proc_dointvec()
451 *ppos += *lenp; in do_proc_dointvec()
456 size_t *lenp, loff_t *ppos, in do_proc_douintvec_w() argument
469 if (proc_first_pos_non_zero_ignore(ppos, table)) in do_proc_douintvec_w()
504 *ppos += *lenp; in do_proc_douintvec_w()
509 size_t *lenp, loff_t *ppos, in do_proc_douintvec_r() argument
533 *ppos += *lenp; in do_proc_douintvec_r()
539 void *buffer, size_t *lenp, loff_t *ppos, in do_proc_douintvec() argument
547 (*ppos && SYSCTL_KERN_TO_USER(dir))) { in do_proc_douintvec()
567 return do_proc_douintvec_w(table, buffer, lenp, ppos, conv); in do_proc_douintvec()
568 return do_proc_douintvec_r(table, buffer, lenp, ppos, conv); in do_proc_douintvec()
572 size_t *lenp, loff_t *ppos, in proc_douintvec_conv() argument
576 return do_proc_douintvec(table, dir, buffer, lenp, ppos, conv); in proc_douintvec_conv()
597 size_t *lenp, loff_t *ppos) in proc_dobool() argument
612 res = proc_dointvec(&tmp, dir, buffer, lenp, ppos); in proc_dobool()
634 size_t *lenp, loff_t *ppos) in proc_dointvec() argument
636 return do_proc_dointvec(table, dir, buffer, lenp, ppos, NULL); in proc_dointvec()
653 size_t *lenp, loff_t *ppos) in proc_douintvec() argument
655 return do_proc_douintvec(table, dir, buffer, lenp, ppos, in proc_douintvec()
677 void *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_minmax() argument
679 return do_proc_dointvec(table, dir, buffer, lenp, ppos, in proc_dointvec_minmax()
704 void *buffer, size_t *lenp, loff_t *ppos) in proc_douintvec_minmax() argument
706 return do_proc_douintvec(table, dir, buffer, lenp, ppos, in proc_douintvec_minmax()
729 void *buffer, size_t *lenp, loff_t *ppos) in proc_dou8vec_minmax() argument
750 res = do_proc_douintvec(&tmp, dir, buffer, lenp, ppos, in proc_dou8vec_minmax()
761 void *buffer, size_t *lenp, loff_t *ppos, in do_proc_doulongvec_minmax() argument
771 (*ppos && SYSCTL_KERN_TO_USER(dir))) { in do_proc_doulongvec_minmax()
783 if (proc_first_pos_non_zero_ignore(ppos, table)) in do_proc_doulongvec_minmax()
831 *ppos += *lenp; in do_proc_doulongvec_minmax()
836 void *buffer, size_t *lenp, loff_t *ppos, in proc_doulongvec_minmax_conv() argument
839 return do_proc_doulongvec_minmax(table, dir, buffer, lenp, ppos, in proc_doulongvec_minmax_conv()
860 void *buffer, size_t *lenp, loff_t *ppos) in proc_doulongvec_minmax() argument
862 return proc_doulongvec_minmax_conv(table, dir, buffer, lenp, ppos, 1l, 1l); in proc_doulongvec_minmax()
866 size_t *lenp, loff_t *ppos, in proc_dointvec_conv() argument
870 return do_proc_dointvec(table, dir, buffer, lenp, ppos, conv); in proc_dointvec_conv()
891 void *buffer, size_t *lenp, loff_t *ppos) in proc_do_large_bitmap() argument
900 if (!bitmap || !bitmap_len || !left || (*ppos && SYSCTL_KERN_TO_USER(dir))) { in proc_do_large_bitmap()
1007 if (*ppos) in proc_do_large_bitmap()
1013 *ppos += *lenp; in proc_do_large_bitmap()
1023 void *buffer, size_t *lenp, loff_t *ppos) in proc_dostring() argument
1029 void *buffer, size_t *lenp, loff_t *ppos) in proc_dobool() argument
1035 void *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec() argument
1041 void *buffer, size_t *lenp, loff_t *ppos) in proc_douintvec() argument
1047 void *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_minmax() argument
1053 void *buffer, size_t *lenp, loff_t *ppos) in proc_douintvec_minmax() argument
1059 void *buffer, size_t *lenp, loff_t *ppos) in proc_dou8vec_minmax() argument
1065 void *buffer, size_t *lenp, loff_t *ppos) in proc_doulongvec_minmax() argument
1071 void *buffer, size_t *lenp, loff_t *ppos, in proc_doulongvec_minmax_conv() argument
1078 size_t *lenp, loff_t *ppos, in proc_dointvec_conv() argument
1086 void *buffer, size_t *lenp, loff_t *ppos) in proc_do_large_bitmap() argument
1095 void *buffer, size_t *lenp, loff_t *ppos) in proc_do_static_key() argument
1113 ret = proc_dointvec_minmax(&tmp, dir, buffer, lenp, ppos); in proc_do_static_key()