Home
last modified time | relevance | path

Searched refs:maxlen (Results 1 – 25 of 55) sorted by relevance

123

/net/ipv4/
Dsysctl_net_ipv4.c85 .maxlen = sizeof(range), in ipv4_local_port_range()
121 .maxlen = sizeof(pports), in ipv4_privileged_ports()
181 .maxlen = sizeof(urange), in ipv4_ping_group_range()
231 .maxlen = TCP_CA_NAME_MAX, in proc_tcp_congestion_control()
247 struct ctl_table tbl = { .maxlen = TCP_CA_BUF_MAX, }; in proc_tcp_available_congestion_control()
250 tbl.data = kmalloc(tbl.maxlen, GFP_USER); in proc_tcp_available_congestion_control()
263 struct ctl_table tbl = { .maxlen = TCP_CA_BUF_MAX }; in proc_allowed_congestion_control()
266 tbl.data = kmalloc(tbl.maxlen, GFP_USER); in proc_allowed_congestion_control()
270 tcp_get_allowed_congestion_control(tbl.data, tbl.maxlen); in proc_allowed_congestion_control()
304 struct ctl_table tbl = { .maxlen = ((TCP_FASTOPEN_KEY_LENGTH * in proc_tcp_fastopen_key()
[all …]
Dtcp_cong.c259 void tcp_get_available_congestion_control(char *buf, size_t maxlen) in tcp_get_available_congestion_control() argument
266 offs += snprintf(buf + offs, maxlen - offs, in tcp_get_available_congestion_control()
270 if (WARN_ON_ONCE(offs >= maxlen)) in tcp_get_available_congestion_control()
288 void tcp_get_allowed_congestion_control(char *buf, size_t maxlen) in tcp_get_allowed_congestion_control() argument
298 offs += snprintf(buf + offs, maxlen - offs, in tcp_get_allowed_congestion_control()
302 if (WARN_ON_ONCE(offs >= maxlen)) in tcp_get_allowed_congestion_control()
Dtcp_ulp.c85 void tcp_get_available_ulp(char *buf, size_t maxlen) in tcp_get_available_ulp() argument
93 offs += snprintf(buf + offs, maxlen - offs, in tcp_get_available_ulp()
97 if (WARN_ON_ONCE(offs >= maxlen)) in tcp_get_available_ulp()
/net/sctp/
Dsysctl.c65 .maxlen = sizeof(sysctl_sctp_mem),
72 .maxlen = sizeof(sysctl_sctp_rmem),
79 .maxlen = sizeof(sysctl_sctp_wmem),
101 .maxlen = sizeof(unsigned int),
110 .maxlen = sizeof(unsigned int),
119 .maxlen = sizeof(int),
128 .maxlen = sizeof(int),
137 .maxlen = sizeof(unsigned int),
146 .maxlen = sizeof(int),
155 .maxlen = sizeof(int),
[all …]
/net/core/
Dsysctl_net_core.c57 .maxlen = sizeof(size), in rps_sock_flow_sysctl()
223 .maxlen = IFNAMSIZ, in set_default_qdisc()
262 fake_table.maxlen = sizeof(buf); in proc_do_rss_key()
319 .maxlen = sizeof(int),
327 .maxlen = sizeof(int),
335 .maxlen = sizeof(int),
343 .maxlen = sizeof(int),
351 .maxlen = sizeof(int),
358 .maxlen = sizeof(int),
365 .maxlen = sizeof(int),
[all …]
/net/ipv6/
Dsysctl_net_ipv6.c70 .maxlen = sizeof(u8),
77 .maxlen = sizeof(u8),
84 .maxlen = sizeof(u8),
91 .maxlen = sizeof(u8),
99 .maxlen = sizeof(u8),
106 .maxlen = sizeof(int),
113 .maxlen = sizeof(int),
120 .maxlen = sizeof(u8),
127 .maxlen = sizeof(u8),
134 .maxlen = sizeof(int),
[all …]
Daddrconf.c6267 tmp.maxlen = sizeof(val); in addrconf_sysctl_accept_ra_min_lft()
6414 .maxlen = sizeof(new_val), in addrconf_sysctl_addr_gen_mode()
6480 lctl.maxlen = IPV6_MAX_STRLEN; in addrconf_sysctl_stable_secret()
6664 .maxlen = sizeof(int),
6671 .maxlen = sizeof(int),
6680 .maxlen = sizeof(int),
6687 .maxlen = sizeof(int),
6694 .maxlen = sizeof(int),
6701 .maxlen = sizeof(int),
6708 .maxlen = sizeof(int),
[all …]
/net/netfilter/
Dnf_conntrack_standalone.c630 .maxlen = sizeof(int),
636 .maxlen = sizeof(int),
643 .maxlen = sizeof(unsigned int),
650 .maxlen = sizeof(u8),
659 .maxlen = sizeof(u8),
666 .maxlen = sizeof(int),
673 .maxlen = sizeof(u8),
681 .maxlen = sizeof(u8),
691 .maxlen = sizeof(u8),
702 .maxlen = sizeof(u8),
[all …]
/net/ax25/
Dsysctl_net_ax25.c32 .maxlen = sizeof(int),
40 .maxlen = sizeof(int),
48 .maxlen = sizeof(int),
56 .maxlen = sizeof(int),
64 .maxlen = sizeof(int),
72 .maxlen = sizeof(int),
80 .maxlen = sizeof(int),
88 .maxlen = sizeof(int),
96 .maxlen = sizeof(int),
104 .maxlen = sizeof(int),
[all …]
/net/netrom/
Dsysctl_net_netrom.c38 .maxlen = sizeof(int),
47 .maxlen = sizeof(int),
56 .maxlen = sizeof(int),
65 .maxlen = sizeof(int),
74 .maxlen = sizeof(int),
83 .maxlen = sizeof(int),
92 .maxlen = sizeof(int),
101 .maxlen = sizeof(int),
110 .maxlen = sizeof(int),
119 .maxlen = sizeof(int),
[all …]
/net/rxrpc/
Dsysctl.c32 .maxlen = sizeof(unsigned long),
41 .maxlen = sizeof(unsigned long),
50 .maxlen = sizeof(unsigned long),
59 .maxlen = sizeof(unsigned long),
68 .maxlen = sizeof(unsigned long),
79 .maxlen = sizeof(unsigned int),
88 .maxlen = sizeof(unsigned int),
97 .maxlen = sizeof(unsigned int),
106 .maxlen = sizeof(unsigned int),
115 .maxlen = sizeof(unsigned int),
/net/rose/
Dsysctl_net_rose.c28 .maxlen = sizeof(int),
37 .maxlen = sizeof(int),
46 .maxlen = sizeof(int),
55 .maxlen = sizeof(int),
64 .maxlen = sizeof(int),
73 .maxlen = sizeof(int),
82 .maxlen = sizeof(int),
91 .maxlen = sizeof(int),
100 .maxlen = sizeof(int),
109 .maxlen = sizeof(int),
/net/sunrpc/xprtrdma/
Dsvc_rdma.c114 .maxlen = sizeof(unsigned int),
123 .maxlen = sizeof(unsigned int),
132 .maxlen = sizeof(unsigned int),
142 .maxlen = SVCRDMA_COUNTER_BUFSIZ,
149 .maxlen = SVCRDMA_COUNTER_BUFSIZ,
156 .maxlen = SVCRDMA_COUNTER_BUFSIZ,
163 .maxlen = SVCRDMA_COUNTER_BUFSIZ,
170 .maxlen = sizeof(unsigned int),
179 .maxlen = sizeof(unsigned int),
188 .maxlen = sizeof(unsigned int),
[all …]
/net/dccp/
Dsysctl.c27 .maxlen = sizeof(sysctl_dccp_sequence_window),
36 .maxlen = sizeof(sysctl_dccp_rx_ccid),
45 .maxlen = sizeof(sysctl_dccp_tx_ccid),
54 .maxlen = sizeof(sysctl_dccp_request_retries),
63 .maxlen = sizeof(sysctl_dccp_retries1),
72 .maxlen = sizeof(sysctl_dccp_retries2),
81 .maxlen = sizeof(sysctl_dccp_tx_qlen),
89 .maxlen = sizeof(sysctl_dccp_sync_ratelimit),
/net/tipc/
Dsysctl.c48 .maxlen = sizeof(sysctl_tipc_rmem),
56 .maxlen = sizeof(sysctl_tipc_named_timeout),
64 .maxlen = sizeof(sysctl_tipc_sk_filter),
72 .maxlen = sizeof(sysctl_tipc_max_tfms),
80 .maxlen = sizeof(sysctl_tipc_key_exchange_enabled),
90 .maxlen = sizeof(sysctl_tipc_bc_retruni),
/net/x25/
Dsysctl_net_x25.c25 .maxlen = sizeof(int),
34 .maxlen = sizeof(int),
43 .maxlen = sizeof(int),
52 .maxlen = sizeof(int),
61 .maxlen = sizeof(int),
70 .maxlen = sizeof(int),
/net/rds/
Dsysctl.c56 .maxlen = sizeof(unsigned long),
65 .maxlen = sizeof(unsigned long),
74 .maxlen = sizeof(int),
81 .maxlen = sizeof(int),
88 .maxlen = sizeof(int),
Dib_sysctl.c68 .maxlen = sizeof(unsigned long),
77 .maxlen = sizeof(unsigned long),
86 .maxlen = sizeof(unsigned long),
95 .maxlen = sizeof(unsigned long),
102 .maxlen = sizeof(rds_ib_sysctl_flow_control),
/net/appletalk/
Dsysctl_net_atalk.c18 .maxlen = sizeof(int),
25 .maxlen = sizeof(int),
32 .maxlen = sizeof(int),
39 .maxlen = sizeof(int),
/net/llc/
Dsysctl_net_llc.c22 .maxlen = sizeof(sysctl_llc2_ack_timeout),
29 .maxlen = sizeof(sysctl_llc2_busy_timeout),
36 .maxlen = sizeof(sysctl_llc2_p_timeout),
43 .maxlen = sizeof(sysctl_llc2_rej_timeout),
/net/sunrpc/
Dsysctl.c150 .maxlen = sizeof(int),
157 .maxlen = sizeof(int),
164 .maxlen = sizeof(int),
171 .maxlen = sizeof(int),
177 .maxlen = 256,
/net/mptcp/
Dctrl.c74 .maxlen = sizeof(u8),
85 .maxlen = sizeof(unsigned int),
91 .maxlen = sizeof(u8),
99 .maxlen = sizeof(u8),
107 .maxlen = sizeof(unsigned int),
/net/xfrm/
Dxfrm_sysctl.c19 .maxlen = sizeof(u32),
25 .maxlen = sizeof(u32),
31 .maxlen = sizeof(int),
37 .maxlen = sizeof(int),
/net/phonet/
Dsysctl.c58 .maxlen = sizeof(range), in proc_local_port_range()
80 .maxlen = sizeof(local_port_range),
/net/netfilter/ipvs/
Dip_vs_ctl.c1785 .maxlen = sizeof(int), in proc_do_defense_mode()
1811 .maxlen = table->maxlen, in proc_do_sync_threshold()
1839 .maxlen = sizeof(int), in proc_do_sync_ports()
1862 .maxlen = sizeof(int),
1868 .maxlen = sizeof(int),
1874 .maxlen = sizeof(int),
1880 .maxlen = sizeof(int),
1887 .maxlen = sizeof(int),
1894 .maxlen = sizeof(int),
1900 .maxlen = sizeof(int),
[all …]

123