Lines Matching refs:lenp

54 static void dump_cpumask(void *buffer, size_t *lenp, loff_t *ppos,  in dump_cpumask()  argument
60 if (*ppos || !*lenp) { in dump_cpumask()
61 *lenp = 0; in dump_cpumask()
65 len = min(sizeof(kbuf) - 1, *lenp); in dump_cpumask()
68 *lenp = 0; in dump_cpumask()
72 if (len < *lenp) in dump_cpumask()
75 *lenp = len; in dump_cpumask()
99 void *buffer, size_t *lenp, loff_t *ppos) in rps_default_mask_sysctl() argument
120 dump_cpumask(buffer, lenp, ppos, in rps_default_mask_sysctl()
130 void *buffer, size_t *lenp, loff_t *ppos) in rps_sock_flow_sysctl() argument
149 ret = proc_dointvec(&tmp, write, buffer, lenp, ppos); in rps_sock_flow_sysctl()
202 void *buffer, size_t *lenp, loff_t *ppos) in flow_limit_cpu_sysctl() argument
250 dump_cpumask(buffer, lenp, ppos, mask); in flow_limit_cpu_sysctl()
259 void *buffer, size_t *lenp, loff_t *ppos) in flow_limit_table_len_sysctl() argument
268 ret = proc_dointvec(table, write, buffer, lenp, ppos); in flow_limit_table_len_sysctl()
281 void *buffer, size_t *lenp, loff_t *ppos) in set_default_qdisc() argument
292 ret = proc_dostring(&tbl, write, buffer, lenp, ppos); in set_default_qdisc()
300 void *buffer, size_t *lenp, loff_t *ppos) in proc_do_dev_weight() argument
306 ret = proc_dointvec(table, write, buffer, lenp, ppos); in proc_do_dev_weight()
318 void *buffer, size_t *lenp, loff_t *ppos) in proc_do_rss_key() argument
326 return proc_dostring(&fake_table, write, buffer, lenp, ppos); in proc_do_rss_key()
331 void *buffer, size_t *lenp, in proc_dointvec_minmax_bpf_enable() argument
343 ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); in proc_dointvec_minmax_bpf_enable()
364 void *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_minmax_bpf_restricted() argument
369 return proc_dointvec_minmax(table, write, buffer, lenp, ppos); in proc_dointvec_minmax_bpf_restricted()
375 void *buffer, size_t *lenp, loff_t *ppos) in proc_dolongvec_minmax_bpf_restricted() argument
380 return proc_doulongvec_minmax(table, write, buffer, lenp, ppos); in proc_dolongvec_minmax_bpf_restricted()