/net/sunrpc/ |
D | sysctl.c | 63 void *buffer, size_t *lenp, loff_t *ppos) in proc_do_xprt() argument 69 *lenp = 0; in proc_do_xprt() 73 len = memory_read_from_buffer(buffer, *lenp, ppos, tmpbuf, len); in proc_do_xprt() 76 *lenp = 0; in proc_do_xprt() 79 *lenp = len; in proc_do_xprt() 84 proc_dodebug(struct ctl_table *table, int write, void *buffer, size_t *lenp, in proc_dodebug() argument 92 if ((*ppos && !write) || !*lenp) { in proc_dodebug() 93 *lenp = 0; in proc_dodebug() 97 left = *lenp; in proc_dodebug() 140 *lenp -= left; in proc_dodebug() [all …]
|
D | xdr.c | 107 unsigned int *lenp, unsigned int maxlen) in xdr_decode_string_inplace() argument 114 *lenp = len; in xdr_decode_string_inplace()
|
/net/core/ |
D | sysctl_net_core.c | 50 void *buffer, size_t *lenp, loff_t *ppos) in rps_sock_flow_sysctl() argument 68 ret = proc_dointvec(&tmp, write, buffer, lenp, ppos); in rps_sock_flow_sysctl() 120 void *buffer, size_t *lenp, loff_t *ppos) in flow_limit_cpu_sysctl() argument 162 if (*ppos || !*lenp) { in flow_limit_cpu_sysctl() 163 *lenp = 0; in flow_limit_cpu_sysctl() 176 len = min(sizeof(kbuf) - 1, *lenp); in flow_limit_cpu_sysctl() 179 *lenp = 0; in flow_limit_cpu_sysctl() 182 if (len < *lenp) in flow_limit_cpu_sysctl() 185 *lenp = len; in flow_limit_cpu_sysctl() 195 void *buffer, size_t *lenp, loff_t *ppos) in flow_limit_table_len_sysctl() argument [all …]
|
D | neighbour.c | 3403 void *buffer, size_t *lenp, loff_t *ppos) in proc_unres_qlen() argument 3413 ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); in proc_unres_qlen() 3467 void *buffer, size_t *lenp, in neigh_proc_dointvec_zero_intmax() argument 3476 ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); in neigh_proc_dointvec_zero_intmax() 3482 size_t *lenp, loff_t *ppos) in neigh_proc_dointvec() argument 3484 int ret = proc_dointvec(ctl, write, buffer, lenp, ppos); in neigh_proc_dointvec() 3492 size_t *lenp, loff_t *ppos) in neigh_proc_dointvec_jiffies() argument 3494 int ret = proc_dointvec_jiffies(ctl, write, buffer, lenp, ppos); in neigh_proc_dointvec_jiffies() 3502 void *buffer, size_t *lenp, in neigh_proc_dointvec_userhz_jiffies() argument 3505 int ret = proc_dointvec_userhz_jiffies(ctl, write, buffer, lenp, ppos); in neigh_proc_dointvec_userhz_jiffies() [all …]
|
/net/sctp/ |
D | sysctl.c | 46 void *buffer, size_t *lenp, loff_t *ppos); 48 void *buffer, size_t *lenp, loff_t *ppos); 50 size_t *lenp, loff_t *ppos); 52 void *buffer, size_t *lenp, loff_t *ppos); 54 void *buffer, size_t *lenp, loff_t *ppos); 351 void *buffer, size_t *lenp, loff_t *ppos) in proc_sctp_do_hmac_alg() argument 370 ret = proc_dostring(&tbl, write, buffer, lenp, ppos); in proc_sctp_do_hmac_alg() 396 void *buffer, size_t *lenp, loff_t *ppos) in proc_sctp_do_rto_min() argument 412 ret = proc_dointvec(&tbl, write, buffer, lenp, ppos); in proc_sctp_do_rto_min() 424 void *buffer, size_t *lenp, loff_t *ppos) in proc_sctp_do_rto_max() argument [all …]
|
/net/ipv4/ |
D | sysctl_net_ipv4.c | 73 void *buffer, size_t *lenp, loff_t *ppos) in ipv4_local_port_range() argument 89 ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); in ipv4_local_port_range() 108 void *buffer, size_t *lenp, loff_t *ppos) in ipv4_privileged_ports() argument 125 ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); in ipv4_privileged_ports() 169 void *buffer, size_t *lenp, loff_t *ppos) in ipv4_ping_group_range() argument 186 ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); in ipv4_ping_group_range() 204 void *buffer, size_t *lenp, loff_t *ppos) in ipv4_fwd_update_priority() argument 211 ret = proc_dointvec_minmax(table, write, buffer, lenp, ppos); in ipv4_fwd_update_priority() 220 void *buffer, size_t *lenp, loff_t *ppos) in proc_tcp_congestion_control() argument 233 ret = proc_dostring(&tbl, write, buffer, lenp, ppos); in proc_tcp_congestion_control() [all …]
|
D | devinet.c | 2383 void *buffer, size_t *lenp, loff_t *ppos) in devinet_conf_proc() argument 2386 int ret = proc_dointvec(ctl, write, buffer, lenp, ppos); in devinet_conf_proc() 2435 void *buffer, size_t *lenp, loff_t *ppos) in devinet_sysctl_forward() argument 2440 int ret = proc_dointvec(ctl, write, buffer, lenp, ppos); in devinet_sysctl_forward() 2478 void *buffer, size_t *lenp, loff_t *ppos) in ipv4_doint_and_flush() argument 2482 int ret = proc_dointvec(ctl, write, buffer, lenp, ppos); in ipv4_doint_and_flush()
|
D | esp4.c | 380 __be16 *lenp = (void *)esp->esph; in esp_output_tcp_encap() local 396 *lenp = htons(len); in esp_output_tcp_encap() 397 esph = (struct ip_esp_hdr *)(lenp + 1); in esp_output_tcp_encap()
|
D | route.c | 3370 void *buffer, size_t *lenp, loff_t *ppos) in ipv4_sysctl_rtcache_flush() argument
|
/net/sunrpc/xprtrdma/ |
D | svc_rdma.c | 83 void *buffer, size_t *lenp, loff_t *ppos) in read_reset_stat() argument 99 *lenp = 0; in read_reset_stat() 103 if (len > *lenp) in read_reset_stat() 104 len = *lenp; in read_reset_stat() 107 *lenp = len; in read_reset_stat()
|
/net/phonet/ |
D | sysctl.c | 52 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/ceph/ |
D | auth.c | 108 void *p = monhdr + 1, *end = buf + len, *lenp; in ceph_auth_build_hello() local 120 lenp = p; in ceph_auth_build_hello() 137 ceph_encode_32(&lenp, p - lenp - sizeof(u32)); in ceph_auth_build_hello()
|
/net/ipv6/ |
D | sysctl_net_ipv6.c | 30 void *buffer, size_t *lenp, loff_t *ppos) in proc_rt6_multipath_hash_policy() argument 37 ret = proc_dointvec_minmax(table, write, buffer, lenp, ppos); in proc_rt6_multipath_hash_policy()
|
D | addrconf.c | 6190 void *buffer, size_t *lenp, loff_t *ppos) in addrconf_sysctl_forward() argument 6205 ret = proc_dointvec(&lctl, write, buffer, lenp, ppos); in addrconf_sysctl_forward() 6215 void *buffer, size_t *lenp, loff_t *ppos) in addrconf_sysctl_mtu() argument 6225 return proc_dointvec_minmax(&lctl, write, buffer, lenp, ppos); in addrconf_sysctl_mtu() 6286 void *buffer, size_t *lenp, loff_t *ppos) in addrconf_sysctl_disable() argument 6301 ret = proc_dointvec(&lctl, write, buffer, lenp, ppos); in addrconf_sysctl_disable() 6311 void *buffer, size_t *lenp, loff_t *ppos) in addrconf_sysctl_proxy_ndp() argument 6318 ret = proc_dointvec(ctl, write, buffer, lenp, ppos); in addrconf_sysctl_proxy_ndp() 6352 void *buffer, size_t *lenp, in addrconf_sysctl_addr_gen_mode() argument 6370 ret = proc_douintvec(&tmp, write, buffer, lenp, ppos); in addrconf_sysctl_addr_gen_mode() [all …]
|
D | esp6.c | 415 __be16 *lenp = (void *)esp->esph; in esp6_output_tcp_encap() local 431 *lenp = htons(len); in esp6_output_tcp_encap() 432 esph = (struct ip_esp_hdr *)(lenp + 1); in esp6_output_tcp_encap()
|
D | ndisc.c | 1856 size_t *lenp, loff_t *ppos) in ndisc_ifinfo_sysctl_change() argument 1867 ret = neigh_proc_dointvec(ctl, write, buffer, lenp, ppos); in ndisc_ifinfo_sysctl_change() 1871 buffer, lenp, ppos); in ndisc_ifinfo_sysctl_change() 1876 buffer, lenp, ppos); in ndisc_ifinfo_sysctl_change()
|
D | route.c | 6131 void *buffer, size_t *lenp, loff_t *ppos) in ipv6_sysctl_rtcache_flush() argument 6141 ret = proc_dointvec(ctl, write, buffer, lenp, ppos); in ipv6_sysctl_rtcache_flush()
|
/net/netfilter/ |
D | nf_log.c | 418 void *buffer, size_t *lenp, loff_t *ppos) in nf_log_proc_dostring() argument 434 r = proc_dostring(&tmp, write, buffer, lenp, ppos); in nf_log_proc_dostring() 461 r = proc_dostring(&tmp, write, buffer, lenp, ppos); in nf_log_proc_dostring()
|
D | nf_conntrack_standalone.c | 523 void *buffer, size_t *lenp, loff_t *ppos) in nf_conntrack_hash_sysctl() argument 530 ret = proc_dointvec(table, write, buffer, lenp, ppos); in nf_conntrack_hash_sysctl()
|
/net/rds/ |
D | tcp.c | 65 void *buffer, size_t *lenp, loff_t *fpos); 669 void *buffer, size_t *lenp, loff_t *fpos) in rds_tcp_skbuf_handler() argument 674 err = proc_dointvec_minmax(ctl, write, buffer, lenp, fpos); in rds_tcp_skbuf_handler()
|
/net/bridge/ |
D | br_netfilter_hooks.c | 1055 void *buffer, size_t *lenp, loff_t *ppos) in brnf_sysctl_call_tables() argument 1059 ret = proc_dointvec(ctl, write, buffer, lenp, ppos); in brnf_sysctl_call_tables()
|
/net/mpls/ |
D | af_mpls.c | 1365 void *buffer, size_t *lenp, loff_t *ppos) in mpls_conf_proc() argument 1368 int ret = proc_dointvec(ctl, write, buffer, lenp, ppos); in mpls_conf_proc() 2626 void *buffer, size_t *lenp, loff_t *ppos) in mpls_platform_labels() argument 2640 ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); in mpls_platform_labels()
|
/net/netfilter/ipvs/ |
D | ip_vs_ctl.c | 1776 void *buffer, size_t *lenp, loff_t *ppos) in proc_do_defense_mode() argument 1789 rc = proc_dointvec(&tmp, write, buffer, lenp, ppos); in proc_do_defense_mode() 1803 void *buffer, size_t *lenp, loff_t *ppos) in proc_do_sync_threshold() argument 1817 rc = proc_dointvec(&tmp, write, buffer, lenp, ppos); in proc_do_sync_threshold() 1831 void *buffer, size_t *lenp, loff_t *ppos) in proc_do_sync_ports() argument 1843 rc = proc_dointvec(&tmp, write, buffer, lenp, ppos); in proc_do_sync_ports()
|