/net/sctp/ |
D | sysctl.c | 61 static int proc_sctp_do_hmac_alg(struct ctl_table *ctl, int write, 64 static int proc_sctp_do_rto_min(struct ctl_table *ctl, int write, 67 static int proc_sctp_do_rto_max(struct ctl_table *ctl, int write, 70 static int proc_sctp_do_alpha_beta(struct ctl_table *ctl, int write, 73 static int proc_sctp_do_auth(struct ctl_table *ctl, int write, 329 static int proc_sctp_do_hmac_alg(struct ctl_table *ctl, int write, in proc_sctp_do_hmac_alg() argument 342 if (write) { in proc_sctp_do_hmac_alg() 350 ret = proc_dostring(&tbl, write, buffer, lenp, ppos); in proc_sctp_do_hmac_alg() 351 if (write && ret == 0) { in proc_sctp_do_hmac_alg() 375 static int proc_sctp_do_rto_min(struct ctl_table *ctl, int write, in proc_sctp_do_rto_min() argument [all …]
|
/net/core/ |
D | sysctl_net_core.c | 38 static int rps_sock_flow_sysctl(struct ctl_table *table, int write, in rps_sock_flow_sysctl() argument 57 ret = proc_dointvec(&tmp, write, buffer, lenp, ppos); in rps_sock_flow_sysctl() 59 if (write) { in rps_sock_flow_sysctl() 108 static int flow_limit_cpu_sysctl(struct ctl_table *table, int write, in flow_limit_cpu_sysctl() argument 120 if (write) { in flow_limit_cpu_sysctl() 187 static int flow_limit_table_len_sysctl(struct ctl_table *table, int write, in flow_limit_table_len_sysctl() argument 198 ret = proc_dointvec(table, write, buffer, lenp, ppos); in flow_limit_table_len_sysctl() 199 if (!ret && write && !is_power_of_2(*ptr)) { in flow_limit_table_len_sysctl() 210 static int set_default_qdisc(struct ctl_table *table, int write, in set_default_qdisc() argument 222 ret = proc_dostring(&tbl, write, buffer, lenp, ppos); in set_default_qdisc() [all …]
|
D | neighbour.c | 2955 static int proc_unres_qlen(struct ctl_table *ctl, int write, in proc_unres_qlen() argument 2966 ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); in proc_unres_qlen() 2968 if (write && !ret) in proc_unres_qlen() 3002 static void neigh_proc_update(struct ctl_table *ctl, int write) in neigh_proc_update() argument 3009 if (!write) in neigh_proc_update() 3019 static int neigh_proc_dointvec_zero_intmax(struct ctl_table *ctl, int write, in neigh_proc_dointvec_zero_intmax() argument 3029 ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); in neigh_proc_dointvec_zero_intmax() 3030 neigh_proc_update(ctl, write); in neigh_proc_dointvec_zero_intmax() 3034 int neigh_proc_dointvec(struct ctl_table *ctl, int write, in neigh_proc_dointvec() argument 3037 int ret = proc_dointvec(ctl, write, buffer, lenp, ppos); in neigh_proc_dointvec() [all …]
|
D | netprio_cgroup.c | 261 .write = write_priomap,
|
/net/ipv4/ |
D | sysctl_net_ipv4.c | 71 static int ipv4_local_port_range(struct ctl_table *table, int write, in ipv4_local_port_range() argument 89 ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); in ipv4_local_port_range() 91 if (write && ret == 0) { in ipv4_local_port_range() 107 static int ipv4_privileged_ports(struct ctl_table *table, int write, in ipv4_privileged_ports() argument 125 ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); in ipv4_privileged_ports() 127 if (write && ret == 0) { in ipv4_privileged_ports() 168 static int ipv4_ping_group_range(struct ctl_table *table, int write, in ipv4_ping_group_range() argument 187 ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); in ipv4_ping_group_range() 189 if (write && ret == 0) { in ipv4_ping_group_range() 205 static int proc_tcp_default_init_rwnd(struct ctl_table *ctl, int write, in proc_tcp_default_init_rwnd() argument [all …]
|
D | devinet.c | 2107 static int devinet_conf_proc(struct ctl_table *ctl, int write, in devinet_conf_proc() argument 2112 int ret = proc_dointvec(ctl, write, buffer, lenp, ppos); in devinet_conf_proc() 2115 if (write) { in devinet_conf_proc() 2156 static int devinet_sysctl_forward(struct ctl_table *ctl, int write, in devinet_sysctl_forward() argument 2163 int ret = proc_dointvec(ctl, write, buffer, lenp, ppos); in devinet_sysctl_forward() 2165 if (write && *valp != val) { in devinet_sysctl_forward() 2200 static int ipv4_doint_and_flush(struct ctl_table *ctl, int write, in ipv4_doint_and_flush() argument 2206 int ret = proc_dointvec(ctl, write, buffer, lenp, ppos); in ipv4_doint_and_flush() 2209 if (write && *valp != val) in ipv4_doint_and_flush()
|
/net/sunrpc/ |
D | sysctl.c | 61 static int proc_do_xprt(struct ctl_table *table, int write, in proc_do_xprt() argument 67 if ((*ppos && !write) || !*lenp) { in proc_do_xprt() 76 proc_dodebug(struct ctl_table *table, int write, in proc_dodebug() argument 84 if ((*ppos && !write) || !*lenp) { in proc_dodebug() 91 if (write) { in proc_dodebug()
|
D | cache.c | 1543 .write = cache_write_procfs, 1605 .write = write_flush_procfs, 1762 .write = cache_write_pipefs, 1824 .write = write_flush_pipefs,
|
/net/decnet/ |
D | sysctl_net_decnet.c | 136 static int dn_node_address_handler(struct ctl_table *table, int write, in dn_node_address_handler() argument 144 if (!*lenp || (*ppos && !write)) { in dn_node_address_handler() 149 if (write) { in dn_node_address_handler() 187 static int dn_def_dev_handler(struct ctl_table *table, int write, in dn_def_dev_handler() argument 195 if (!*lenp || (*ppos && !write)) { in dn_def_dev_handler() 200 if (write) { in dn_def_dev_handler()
|
D | dn_dev.c | 247 static int dn_forwarding_proc(struct ctl_table *table, int write, in dn_forwarding_proc() argument 263 err = proc_dointvec(table, write, buffer, lenp, ppos); in dn_forwarding_proc() 265 if ((err >= 0) && write) { in dn_forwarding_proc()
|
/net/phonet/ |
D | sysctl.c | 64 static int proc_local_port_range(struct ctl_table *table, int write, in proc_local_port_range() argument 78 ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); in proc_local_port_range() 80 if (write && ret == 0) { in proc_local_port_range()
|
/net/sunrpc/xprtrdma/ |
D | svc_rdma.c | 83 static int read_reset_stat(struct ctl_table *table, int write, in read_reset_stat() argument 92 if (write) in read_reset_stat()
|
D | svc_rdma_sendto.c | 246 __be32 **write, __be32 **reply) in svc_rdma_get_write_arrays() argument 258 *write = p; in svc_rdma_get_write_arrays() 262 *write = NULL; in svc_rdma_get_write_arrays()
|
/net/nfc/nci/ |
D | uart.c | 99 len = tty->ops->write(tty, skb->data, skb->len); in nci_uart_write_work() 168 if (!tty->ops->write) in nci_uart_tty_open() 463 .write = nci_uart_tty_write,
|
/net/netfilter/ |
D | nf_log.c | 431 static int nf_log_proc_dostring(struct ctl_table *table, int write, in nf_log_proc_dostring() argument 440 if (write) { in nf_log_proc_dostring() 448 r = proc_dostring(&tmp, write, buffer, lenp, ppos); in nf_log_proc_dostring() 475 r = proc_dostring(&tmp, write, buffer, lenp, ppos); in nf_log_proc_dostring()
|
D | nf_conntrack_standalone.c | 535 nf_conntrack_hash_sysctl(struct ctl_table *table, int write, in nf_conntrack_hash_sysctl() argument 540 ret = proc_dointvec(table, write, buffer, lenp, ppos); in nf_conntrack_hash_sysctl() 541 if (ret < 0 || !write) in nf_conntrack_hash_sysctl()
|
/net/rds/ |
D | tcp.c | 55 static int rds_tcp_skbuf_handler(struct ctl_table *ctl, int write, 605 static int rds_tcp_skbuf_handler(struct ctl_table *ctl, int write, in rds_tcp_skbuf_handler() argument 612 err = proc_dointvec_minmax(ctl, write, buffer, lenp, fpos); in rds_tcp_skbuf_handler() 618 if (write) in rds_tcp_skbuf_handler()
|
/net/ipv6/ |
D | addrconf.c | 5635 int addrconf_sysctl_forward(struct ctl_table *ctl, int write, in addrconf_sysctl_forward() argument 5651 ret = proc_dointvec(&lctl, write, buffer, lenp, ppos); in addrconf_sysctl_forward() 5653 if (write) in addrconf_sysctl_forward() 5661 int addrconf_sysctl_mtu(struct ctl_table *ctl, int write, in addrconf_sysctl_mtu() argument 5672 return proc_dointvec_minmax(&lctl, write, buffer, lenp, ppos); in addrconf_sysctl_mtu() 5733 int addrconf_sysctl_disable(struct ctl_table *ctl, int write, in addrconf_sysctl_disable() argument 5749 ret = proc_dointvec(&lctl, write, buffer, lenp, ppos); in addrconf_sysctl_disable() 5751 if (write) in addrconf_sysctl_disable() 5759 int addrconf_sysctl_proxy_ndp(struct ctl_table *ctl, int write, in addrconf_sysctl_proxy_ndp() argument 5767 ret = proc_dointvec(ctl, write, buffer, lenp, ppos); in addrconf_sysctl_proxy_ndp() [all …]
|
D | ndisc.c | 1814 int ndisc_ifinfo_sysctl_change(struct ctl_table *ctl, int write, void __user *buffer, size_t *lenp,… in ndisc_ifinfo_sysctl_change() argument 1825 ret = neigh_proc_dointvec(ctl, write, buffer, lenp, ppos); in ndisc_ifinfo_sysctl_change() 1828 ret = neigh_proc_dointvec_jiffies(ctl, write, in ndisc_ifinfo_sysctl_change() 1833 ret = neigh_proc_dointvec_ms_jiffies(ctl, write, in ndisc_ifinfo_sysctl_change() 1838 if (write && ret == 0 && dev && (idev = in6_dev_get(dev)) != NULL) { in ndisc_ifinfo_sysctl_change()
|
/net/mac80211/ |
D | debugfs.c | 146 .write = aqm_write, 167 .write = reset_write,
|
D | debugfs_netdev.c | 50 ssize_t (*write)(struct ieee80211_sub_if_data *, const char *, int)) in ieee80211_if_write() 64 ret = (*write)(sdata, buf, count); in ieee80211_if_write() 129 .write = (_write), \
|
/net/netfilter/ipvs/ |
D | ip_vs_ctl.c | 1654 proc_do_defense_mode(struct ctl_table *table, int write, in proc_do_defense_mode() argument 1662 rc = proc_dointvec(table, write, buffer, lenp, ppos); in proc_do_defense_mode() 1663 if (write && (*valp != val)) { in proc_do_defense_mode() 1675 proc_do_sync_threshold(struct ctl_table *table, int write, in proc_do_sync_threshold() argument 1685 rc = proc_dointvec(table, write, buffer, lenp, ppos); in proc_do_sync_threshold() 1686 if (write && (valp[0] < 0 || valp[1] < 0 || in proc_do_sync_threshold() 1695 proc_do_sync_mode(struct ctl_table *table, int write, in proc_do_sync_mode() argument 1702 rc = proc_dointvec(table, write, buffer, lenp, ppos); in proc_do_sync_mode() 1703 if (write && (*valp != val)) { in proc_do_sync_mode() 1713 proc_do_sync_ports(struct ctl_table *table, int write, in proc_do_sync_ports() argument [all …]
|
/net/bridge/ |
D | br_netfilter_hooks.c | 1015 int brnf_sysctl_call_tables(struct ctl_table *ctl, int write, in brnf_sysctl_call_tables() argument 1020 ret = proc_dointvec(ctl, write, buffer, lenp, ppos); in brnf_sysctl_call_tables() 1022 if (write && *(int *)(ctl->data)) in brnf_sysctl_call_tables()
|
/net/mpls/ |
D | af_mpls.c | 1281 static int mpls_conf_proc(struct ctl_table *ctl, int write, in mpls_conf_proc() argument 1286 int ret = proc_dointvec(ctl, write, buffer, lenp, ppos); in mpls_conf_proc() 1288 if (write) { in mpls_conf_proc() 2342 static int mpls_platform_labels(struct ctl_table *table, int write, in mpls_platform_labels() argument 2357 ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); in mpls_platform_labels() 2359 if (write && ret == 0) in mpls_platform_labels()
|
/net/atm/ |
D | mpoa_proc.c | 64 .write = proc_mpc_write,
|