Lines Matching refs:lenp

50 static void dump_cpumask(void *buffer, size_t *lenp, loff_t *ppos,  in dump_cpumask()  argument
56 if (*ppos || !*lenp) { in dump_cpumask()
57 *lenp = 0; in dump_cpumask()
61 len = min(sizeof(kbuf) - 1, *lenp); in dump_cpumask()
64 *lenp = 0; in dump_cpumask()
68 if (len < *lenp) in dump_cpumask()
71 *lenp = len; in dump_cpumask()
95 void *buffer, size_t *lenp, loff_t *ppos) in rps_default_mask_sysctl() argument
116 dump_cpumask(buffer, lenp, ppos, in rps_default_mask_sysctl()
126 void *buffer, size_t *lenp, loff_t *ppos) in rps_sock_flow_sysctl() argument
144 ret = proc_dointvec(&tmp, write, buffer, lenp, ppos); in rps_sock_flow_sysctl()
195 void *buffer, size_t *lenp, loff_t *ppos) in flow_limit_cpu_sysctl() argument
243 dump_cpumask(buffer, lenp, ppos, mask); in flow_limit_cpu_sysctl()
252 void *buffer, size_t *lenp, loff_t *ppos) in flow_limit_table_len_sysctl() argument
261 ret = proc_dointvec(table, write, buffer, lenp, ppos); in flow_limit_table_len_sysctl()
274 void *buffer, size_t *lenp, loff_t *ppos) in set_default_qdisc() argument
285 ret = proc_dostring(&tbl, write, buffer, lenp, ppos); in set_default_qdisc()
293 void *buffer, size_t *lenp, loff_t *ppos) in proc_do_dev_weight() argument
299 ret = proc_dointvec(table, write, buffer, lenp, ppos); in proc_do_dev_weight()
311 void *buffer, size_t *lenp, loff_t *ppos) in proc_do_rss_key() argument
319 return proc_dostring(&fake_table, write, buffer, lenp, ppos); in proc_do_rss_key()
324 void *buffer, size_t *lenp, in proc_dointvec_minmax_bpf_enable() argument
336 ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); in proc_dointvec_minmax_bpf_enable()
357 void *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_minmax_bpf_restricted() argument
362 return proc_dointvec_minmax(table, write, buffer, lenp, ppos); in proc_dointvec_minmax_bpf_restricted()
368 void *buffer, size_t *lenp, loff_t *ppos) in proc_dolongvec_minmax_bpf_restricted() argument
373 return proc_doulongvec_minmax(table, write, buffer, lenp, ppos); in proc_dolongvec_minmax_bpf_restricted()