Home
last modified time | relevance | path

Searched refs:lenp (Results 1 – 24 of 24) sorted by relevance

/net/sunrpc/
A Dsysctl.c44 void *buffer, size_t *lenp, loff_t *ppos) in proc_do_xprt() argument
50 *lenp = 0; in proc_do_xprt()
54 len = memory_read_from_buffer(buffer, *lenp, ppos, tmpbuf, len); in proc_do_xprt()
57 *lenp = 0; in proc_do_xprt()
60 *lenp = len; in proc_do_xprt()
65 proc_dodebug(const struct ctl_table *table, int write, void *buffer, size_t *lenp, in proc_dodebug() argument
73 if ((*ppos && !write) || !*lenp) { in proc_dodebug()
74 *lenp = 0; in proc_dodebug()
78 left = *lenp; in proc_dodebug()
121 *lenp -= left; in proc_dodebug()
[all …]
/net/core/
A Dsysctl_net_core.c62 if (*ppos || !*lenp) { in dump_cpumask()
63 *lenp = 0; in dump_cpumask()
74 *lenp = 0; in dump_cpumask()
80 *lenp = 0; in dump_cpumask()
89 *lenp = len; in dump_cpumask()
103 void *buffer, size_t *lenp, loff_t *ppos) in rps_default_mask_sysctl() argument
128 err = dump_cpumask(buffer, lenp, ppos, in rps_default_mask_sysctl()
138 void *buffer, size_t *lenp, loff_t *ppos) in rps_sock_flow_sysctl() argument
210 void *buffer, size_t *lenp, loff_t *ppos) in flow_limit_cpu_sysctl() argument
258 ret = dump_cpumask(buffer, lenp, ppos, mask); in flow_limit_cpu_sysctl()
[all …]
A Dneighbour.c3573 void *buffer, size_t *lenp, loff_t *ppos) in proc_unres_qlen() argument
3625 void *buffer, size_t *lenp, in neigh_proc_dointvec_zero_intmax() argument
3640 void *buffer, size_t *lenp, loff_t *ppos) in neigh_proc_dointvec_ms_jiffies_positive() argument
3656 size_t *lenp, loff_t *ppos) in neigh_proc_dointvec() argument
3658 int ret = proc_dointvec(ctl, write, buffer, lenp, ppos); in neigh_proc_dointvec()
3666 size_t *lenp, loff_t *ppos) in neigh_proc_dointvec_jiffies() argument
3676 void *buffer, size_t *lenp, in neigh_proc_dointvec_userhz_jiffies() argument
3686 void *buffer, size_t *lenp, loff_t *ppos) in neigh_proc_dointvec_ms_jiffies() argument
3696 void *buffer, size_t *lenp, in neigh_proc_dointvec_unres_qlen() argument
3699 int ret = proc_unres_qlen(ctl, write, buffer, lenp, ppos); in neigh_proc_dointvec_unres_qlen()
[all …]
/net/sctp/
A Dsysctl.c47 void *buffer, size_t *lenp, loff_t *ppos);
49 void *buffer, size_t *lenp, loff_t *ppos);
51 size_t *lenp, loff_t *ppos);
53 size_t *lenp, loff_t *ppos);
55 void *buffer, size_t *lenp, loff_t *ppos);
57 void *buffer, size_t *lenp, loff_t *ppos);
388 void *buffer, size_t *lenp, loff_t *ppos) in proc_sctp_do_hmac_alg() argument
434 void *buffer, size_t *lenp, loff_t *ppos) in proc_sctp_do_rto_min() argument
462 void *buffer, size_t *lenp, loff_t *ppos) in proc_sctp_do_rto_max() argument
490 void *buffer, size_t *lenp, loff_t *ppos) in proc_sctp_do_alpha_beta() argument
[all …]
/net/mptcp/
A Dctrl.c131 void *buffer, size_t *lenp, loff_t *ppos) in proc_scheduler() argument
143 ret = proc_dostring(&tbl, write, buffer, lenp, ppos); in proc_scheduler()
152 size_t *lenp, loff_t *ppos) in proc_available_schedulers() argument
162 ret = proc_dostring(&tbl, write, buffer, lenp, ppos); in proc_available_schedulers()
169 int write, void *buffer, size_t *lenp, in proc_blackhole_detect_timeout() argument
201 void *buffer, size_t *lenp, loff_t *ppos) in proc_path_manager() argument
216 ret = proc_dostring(&tbl, write, buffer, lenp, ppos); in proc_path_manager()
234 void *buffer, size_t *lenp, loff_t *ppos) in proc_pm_type() argument
241 ret = proc_dou8vec_minmax(ctl, write, buffer, lenp, ppos); in proc_pm_type()
258 size_t *lenp, loff_t *ppos) in proc_available_path_managers() argument
[all …]
/net/ipv4/
A Dsysctl_net_ipv4.c68 void *buffer, size_t *lenp, loff_t *ppos) in ipv4_local_port_range() argument
102 void *buffer, size_t *lenp, loff_t *ppos) in ipv4_privileged_ports() argument
165 void *buffer, size_t *lenp, loff_t *ppos) in ipv4_ping_group_range() argument
237 size_t *lenp, loff_t *ppos) in proc_tcp_available_congestion_control() argument
253 size_t *lenp, loff_t *ppos) in proc_allowed_congestion_control() argument
289 void *buffer, size_t *lenp, loff_t *ppos) in proc_tcp_fastopen_key() argument
361 size_t *lenp, loff_t *ppos) in proc_tfo_blackhole_detect_timeout() argument
375 int write, void *buffer, size_t *lenp, in proc_tcp_available_ulp() argument
440 void *buffer, size_t *lenp, in proc_fib_multipath_hash_policy() argument
455 void *buffer, size_t *lenp, in proc_fib_multipath_hash_fields() argument
[all …]
A Desp4.c338 __be16 *lenp = (void *)esp->esph; in esp_output_tcp_encap() local
356 *lenp = htons(len); in esp_output_tcp_encap()
357 esph = (struct ip_esp_hdr *)(lenp + 1); in esp_output_tcp_encap()
A Ddevinet.c2470 void *buffer, size_t *lenp, loff_t *ppos) in devinet_conf_proc() argument
2473 int ret = proc_dointvec(ctl, write, buffer, lenp, ppos); in devinet_conf_proc()
2522 void *buffer, size_t *lenp, loff_t *ppos) in devinet_sysctl_forward() argument
2533 ret = proc_dointvec(ctl, write, buffer, lenp, ppos); in devinet_sysctl_forward()
2569 void *buffer, size_t *lenp, loff_t *ppos) in ipv4_doint_and_flush() argument
2573 int ret = proc_dointvec(ctl, write, buffer, lenp, ppos); in ipv4_doint_and_flush()
A Droute.c3463 void *buffer, size_t *lenp, loff_t *ppos) in ipv4_sysctl_rtcache_flush() argument
/net/sunrpc/xprtrdma/
A Dsvc_rdma.c78 void *buffer, size_t *lenp, loff_t *ppos) in svcrdma_counter_handler() argument
95 *lenp = 0; in svcrdma_counter_handler()
99 if (len > *lenp) in svcrdma_counter_handler()
100 len = *lenp; in svcrdma_counter_handler()
103 *lenp = len; in svcrdma_counter_handler()
/net/ceph/
A Dauth.c124 void *p = monhdr + 1, *end = buf + len, *lenp; in ceph_auth_build_hello() local
136 lenp = p; in ceph_auth_build_hello()
153 ceph_encode_32(&lenp, p - lenp - sizeof(u32)); in ceph_auth_build_hello()
431 void *lenp; in ceph_auth_get_request() local
454 lenp = p; in ceph_auth_get_request()
463 ceph_encode_32(&lenp, p - lenp - 4); in ceph_auth_get_request()
/net/rds/
A Dtcp.c65 void *buffer, size_t *lenp, loff_t *fpos);
67 void *buffer, size_t *lenp, loff_t *fpos);
685 void *buffer, size_t *lenp, loff_t *fpos) in rds_tcp_skbuf_handler() argument
689 err = proc_dointvec_minmax(ctl, write, buffer, lenp, fpos); in rds_tcp_skbuf_handler()
706 void *buffer, size_t *lenp, loff_t *fpos) in rds_tcp_sndbuf_handler() argument
711 return rds_tcp_skbuf_handler(rtn, ctl, write, buffer, lenp, fpos); in rds_tcp_sndbuf_handler()
715 void *buffer, size_t *lenp, loff_t *fpos) in rds_tcp_rcvbuf_handler() argument
720 return rds_tcp_skbuf_handler(rtn, ctl, write, buffer, lenp, fpos); in rds_tcp_rcvbuf_handler()
/net/ipv6/
A Dsysctl_net_ipv6.c34 void *buffer, size_t *lenp, loff_t *ppos) in proc_rt6_multipath_hash_policy() argument
41 ret = proc_dou8vec_minmax(table, write, buffer, lenp, ppos); in proc_rt6_multipath_hash_policy()
50 size_t *lenp, loff_t *ppos) in proc_rt6_multipath_hash_fields() argument
57 ret = proc_douintvec_minmax(table, write, buffer, lenp, ppos); in proc_rt6_multipath_hash_fields()
A Daddrconf.c6328 void *buffer, size_t *lenp, loff_t *ppos) in addrconf_sysctl_forward() argument
6343 ret = proc_dointvec(&lctl, write, buffer, lenp, ppos); in addrconf_sysctl_forward()
6353 void *buffer, size_t *lenp, loff_t *ppos) in addrconf_sysctl_mtu() argument
6425 void *buffer, size_t *lenp, loff_t *ppos) in addrconf_sysctl_disable() argument
6450 void *buffer, size_t *lenp, loff_t *ppos) in addrconf_sysctl_proxy_ndp() argument
6457 ret = proc_dointvec(ctl, write, buffer, lenp, ppos); in addrconf_sysctl_proxy_ndp()
6491 void *buffer, size_t *lenp, in addrconf_sysctl_addr_gen_mode() argument
6558 void *buffer, size_t *lenp, in addrconf_sysctl_stable_secret() argument
6627 size_t *lenp, in addrconf_sysctl_ignore_routes_with_linkdown() argument
6726 void *buffer, size_t *lenp, loff_t *ppos) in addrconf_sysctl_disable_policy() argument
[all …]
A Desp6.c368 __be16 *lenp = (void *)esp->esph; in esp6_output_tcp_encap() local
386 *lenp = htons(len); in esp6_output_tcp_encap()
387 esph = (struct ip_esp_hdr *)(lenp + 1); in esp6_output_tcp_encap()
A Dndisc.c1926 size_t *lenp, loff_t *ppos) in ndisc_ifinfo_sysctl_change() argument
1937 ret = neigh_proc_dointvec(ctl, write, buffer, lenp, ppos); in ndisc_ifinfo_sysctl_change()
1941 buffer, lenp, ppos); in ndisc_ifinfo_sysctl_change()
1946 buffer, lenp, ppos); in ndisc_ifinfo_sysctl_change()
A Droute.c6510 void *buffer, size_t *lenp, loff_t *ppos) in ipv6_sysctl_rtcache_flush() argument
6518 ret = proc_dointvec(ctl, write, buffer, lenp, ppos); in ipv6_sysctl_rtcache_flush()
/net/phonet/
A Dsysctl.c52 void *buffer, size_t *lenp, loff_t *ppos) in proc_local_port_range() argument
64 ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); in proc_local_port_range()
/net/netfilter/
A Dnf_hooks_lwtunnel.c32 void *buffer, size_t *lenp, loff_t *ppos) in nf_hooks_lwtunnel_sysctl_handler() argument
48 ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); in nf_hooks_lwtunnel_sysctl_handler()
A Dnf_log.c438 void *buffer, size_t *lenp, loff_t *ppos) in nf_log_proc_dostring() argument
454 r = proc_dostring(&tmp, write, buffer, lenp, ppos); in nf_log_proc_dostring()
481 r = proc_dostring(&tmp, write, buffer, lenp, ppos); in nf_log_proc_dostring()
A Dnf_conntrack_standalone.c540 void *buffer, size_t *lenp, loff_t *ppos) in nf_conntrack_hash_sysctl() argument
547 ret = proc_dointvec(table, write, buffer, lenp, ppos); in nf_conntrack_hash_sysctl()
561 void *buffer, size_t *lenp, loff_t *ppos) in nf_conntrack_log_invalid_sysctl() argument
565 ret = proc_dou8vec_minmax(table, write, buffer, lenp, ppos); in nf_conntrack_log_invalid_sysctl()
/net/netfilter/ipvs/
A Dip_vs_ctl.c1851 void *buffer, size_t *lenp, loff_t *ppos) in proc_do_defense_mode() argument
1878 void *buffer, size_t *lenp, loff_t *ppos) in proc_do_sync_threshold() argument
1906 void *buffer, size_t *lenp, loff_t *ppos) in proc_do_sync_ports() argument
1989 void *buffer, size_t *lenp, loff_t *ppos) in ipvs_proc_est_cpulist() argument
1994 if (*ppos || !*lenp) { in ipvs_proc_est_cpulist()
1995 *lenp = 0; in ipvs_proc_est_cpulist()
2002 *ppos += *lenp; in ipvs_proc_est_cpulist()
2007 *lenp = ret; in ipvs_proc_est_cpulist()
2008 *ppos += *lenp; in ipvs_proc_est_cpulist()
2016 void *buffer, size_t *lenp, loff_t *ppos) in ipvs_proc_est_nice() argument
[all …]
/net/mpls/
A Daf_mpls.c1350 void *buffer, size_t *lenp, loff_t *ppos) in mpls_conf_proc() argument
1353 int ret = proc_dointvec(ctl, write, buffer, lenp, ppos); in mpls_conf_proc()
2602 void *buffer, size_t *lenp, loff_t *ppos) in mpls_platform_labels() argument
2616 ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); in mpls_platform_labels()
/net/bridge/
A Dbr_netfilter_hooks.c1178 void *buffer, size_t *lenp, loff_t *ppos) in brnf_sysctl_call_tables() argument
1182 ret = proc_dointvec(ctl, write, buffer, lenp, ppos); in brnf_sysctl_call_tables()

Completed in 97 milliseconds