Home
last modified time | relevance | path

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

12345678910>>...14

/Linux-v5.15/net/ipv4/
Dsysctl_net_ipv4.c84 .maxlen = sizeof(range), in ipv4_local_port_range()
120 .maxlen = sizeof(pports), in ipv4_privileged_ports()
180 .maxlen = sizeof(urange), in ipv4_ping_group_range()
230 .maxlen = TCP_CA_NAME_MAX, in proc_tcp_congestion_control()
246 struct ctl_table tbl = { .maxlen = TCP_CA_BUF_MAX, }; in proc_tcp_available_congestion_control()
249 tbl.data = kmalloc(tbl.maxlen, GFP_USER); in proc_tcp_available_congestion_control()
262 struct ctl_table tbl = { .maxlen = TCP_CA_BUF_MAX }; in proc_allowed_congestion_control()
265 tbl.data = kmalloc(tbl.maxlen, GFP_USER); in proc_allowed_congestion_control()
269 tcp_get_allowed_congestion_control(tbl.data, tbl.maxlen); in proc_allowed_congestion_control()
303 struct ctl_table tbl = { .maxlen = ((TCP_FASTOPEN_KEY_LENGTH * in proc_tcp_fastopen_key()
[all …]
/Linux-v5.15/kernel/
Dsysctl.c208 .maxlen = sizeof(val), in bpf_stats_handler()
258 static int _proc_do_string(char *data, int maxlen, int write, in _proc_do_string() argument
264 if (!data || !maxlen || !*lenp) { in _proc_do_string()
273 if (len > maxlen - 1) in _proc_do_string()
274 len = maxlen - 1; in _proc_do_string()
286 while ((p - buffer) < *lenp && len < maxlen - 1) { in _proc_do_string()
295 if (len > maxlen) in _proc_do_string()
296 len = maxlen; in _proc_do_string()
377 return _proc_do_string(table->data, table->maxlen, write, buffer, lenp, in proc_dostring()
609 if (!tbl_data || !table->maxlen || !*lenp || (*ppos && !write)) { in __do_proc_dointvec()
[all …]
/Linux-v5.15/net/sctp/
Dsysctl.c65 .maxlen = sizeof(sysctl_sctp_mem),
72 .maxlen = sizeof(sysctl_sctp_rmem),
79 .maxlen = sizeof(sysctl_sctp_wmem),
91 .maxlen = sizeof(unsigned int),
100 .maxlen = sizeof(unsigned int),
109 .maxlen = sizeof(unsigned int),
118 .maxlen = sizeof(int),
127 .maxlen = sizeof(int),
136 .maxlen = sizeof(int),
145 .maxlen = sizeof(int),
[all …]
/Linux-v5.15/lib/
Dpci_iomap.c31 unsigned long maxlen) in pci_iomap_range() argument
41 if (maxlen && len > maxlen) in pci_iomap_range()
42 len = maxlen; in pci_iomap_range()
71 unsigned long maxlen) in pci_iomap_wc_range() argument
86 if (maxlen && len > maxlen) in pci_iomap_wc_range()
87 len = maxlen; in pci_iomap_wc_range()
111 void __iomem *pci_iomap(struct pci_dev *dev, int bar, unsigned long maxlen) in pci_iomap() argument
113 return pci_iomap_range(dev, bar, 0, maxlen); in pci_iomap()
132 void __iomem *pci_iomap_wc(struct pci_dev *dev, int bar, unsigned long maxlen) in pci_iomap_wc() argument
134 return pci_iomap_wc_range(dev, bar, 0, maxlen); in pci_iomap_wc()
Dtest_sysctl.c78 .maxlen = sizeof(int),
87 .maxlen = sizeof(int),
94 .maxlen = sizeof(test_data.int_0003),
101 .maxlen = sizeof(test_data.boot_int),
110 .maxlen = sizeof(unsigned int),
117 .maxlen = sizeof(test_data.string_0001),
124 .maxlen = SYSCTL_TEST_BITMAP_SIZE,
134 .maxlen = 0,
144 .maxlen = 0,
/Linux-v5.15/net/core/
Dsysctl_net_core.c57 .maxlen = sizeof(size), in rps_sock_flow_sysctl()
223 .maxlen = IFNAMSIZ, in set_default_qdisc()
259 fake_table.maxlen = sizeof(buf); in proc_do_rss_key()
316 .maxlen = sizeof(int),
324 .maxlen = sizeof(int),
332 .maxlen = sizeof(int),
340 .maxlen = sizeof(int),
348 .maxlen = sizeof(int),
355 .maxlen = sizeof(int),
362 .maxlen = sizeof(int),
[all …]
/Linux-v5.15/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 …]
/Linux-v5.15/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 …]
/Linux-v5.15/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 …]
/Linux-v5.15/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),
/Linux-v5.15/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),
/Linux-v5.15/net/netfilter/
Dnf_conntrack_standalone.c631 .maxlen = sizeof(int),
637 .maxlen = sizeof(int),
644 .maxlen = sizeof(unsigned int),
651 .maxlen = sizeof(u8),
660 .maxlen = sizeof(u8),
667 .maxlen = sizeof(int),
674 .maxlen = sizeof(u8),
682 .maxlen = sizeof(u8),
692 .maxlen = sizeof(u8),
703 .maxlen = sizeof(u8),
[all …]
/Linux-v5.15/fs/xfs/
Dxfs_sysctl.c73 .maxlen = sizeof(int),
82 .maxlen = sizeof(int),
91 .maxlen = sizeof(int),
101 .maxlen = sizeof(int),
110 .maxlen = sizeof(int),
119 .maxlen = sizeof(int),
128 .maxlen = sizeof(int),
137 .maxlen = sizeof(int),
146 .maxlen = sizeof(int),
155 .maxlen = sizeof(int),
[all …]
Dxfs_rtalloc.c226 xfs_extlen_t maxlen, /* maximum length to allocate */ in xfs_rtallocate_extent_block() argument
251 maxlen = min(mp->m_sb.sb_rextents, i + maxlen) - i; in xfs_rtallocate_extent_block()
257 error = xfs_rtcheck_range(mp, tp, i, maxlen, 1, &next, &stat); in xfs_rtallocate_extent_block()
265 error = xfs_rtallocate_range(mp, tp, i, maxlen, rbpp, in xfs_rtallocate_extent_block()
270 *len = maxlen; in xfs_rtallocate_extent_block()
280 if (minlen < maxlen) { in xfs_rtallocate_extent_block()
303 if (minlen < maxlen && besti != -1) { in xfs_rtallocate_extent_block()
346 xfs_extlen_t maxlen, /* maximum length to allocate */ in xfs_rtallocate_extent_exact() argument
358 ASSERT(minlen % prod == 0 && maxlen % prod == 0); in xfs_rtallocate_extent_exact()
362 error = xfs_rtcheck_range(mp, tp, bno, maxlen, 1, &next, &isfree); in xfs_rtallocate_extent_exact()
[all …]
/Linux-v5.15/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 …]
/Linux-v5.15/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),
/Linux-v5.15/net/decnet/
Dsysctl_net_decnet.c242 .maxlen = 7,
249 .maxlen = 7,
255 .maxlen = 16,
262 .maxlen = sizeof(int),
271 .maxlen = sizeof(int),
280 .maxlen = sizeof(int),
289 .maxlen = sizeof(int),
298 .maxlen = sizeof(int),
307 .maxlen = sizeof(int),
316 .maxlen = sizeof(sysctl_decnet_mem),
[all …]
/Linux-v5.15/tools/perf/util/
Ddemangle-java.c45 __demangle_java_sym(const char *str, const char *end, char *buf, int maxlen, int mode) in __demangle_java_sym() argument
57 if (rlen == (maxlen - 1)) in __demangle_java_sym()
65 rlen += scnprintf(buf + rlen, maxlen - rlen, ", "); in __demangle_java_sym()
85 rlen += scnprintf(buf + rlen, maxlen - rlen, ", "); in __demangle_java_sym()
86 rlen += scnprintf(buf + rlen, maxlen - rlen, "%s", base_types[*q - 'A']); in __demangle_java_sym()
88 rlen += scnprintf(buf + rlen, maxlen - rlen, "[]"); in __demangle_java_sym()
96 rlen += scnprintf(buf + rlen, maxlen - rlen, "void"); in __demangle_java_sym()
98 rlen += scnprintf(buf + rlen, maxlen - rlen, "[]"); in __demangle_java_sym()
125 rlen += scnprintf(buf + rlen, maxlen - rlen, "."); in __demangle_java_sym()
134 rlen += scnprintf(buf + rlen, maxlen - rlen, "."); in __demangle_java_sym()
/Linux-v5.15/security/keys/
Dsysctl.c16 .maxlen = sizeof(unsigned),
25 .maxlen = sizeof(unsigned),
34 .maxlen = sizeof(unsigned),
43 .maxlen = sizeof(unsigned),
52 .maxlen = sizeof(unsigned),
62 .maxlen = sizeof(unsigned),
/Linux-v5.15/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),
/Linux-v5.15/ipc/
Dipc_sysctl.c124 .maxlen = sizeof(init_ipc_ns.shm_ctlmax),
131 .maxlen = sizeof(init_ipc_ns.shm_ctlall),
138 .maxlen = sizeof(init_ipc_ns.shm_ctlmni),
147 .maxlen = sizeof(init_ipc_ns.shm_rmid_forced),
156 .maxlen = sizeof(init_ipc_ns.msg_ctlmax),
165 .maxlen = sizeof(init_ipc_ns.msg_ctlmni),
174 .maxlen = sizeof(int),
183 .maxlen = sizeof(init_ipc_ns.msg_ctlmnb),
192 .maxlen = 4*sizeof(int),
200 .maxlen = sizeof(init_ipc_ns.ids[IPC_SEM_IDS].next_id),
[all …]
/Linux-v5.15/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),
/Linux-v5.15/drivers/isdn/mISDN/
Dhwchannel.c57 mISDN_initdchannel(struct dchannel *ch, int maxlen, void *phf) in mISDN_initdchannel() argument
60 ch->maxlen = maxlen; in mISDN_initdchannel()
75 mISDN_initbchannel(struct bchannel *ch, unsigned short maxlen, in mISDN_initbchannel() argument
82 ch->maxlen = maxlen; in mISDN_initbchannel()
83 ch->next_maxlen = maxlen; in mISDN_initbchannel()
84 ch->init_maxlen = maxlen; in mISDN_initbchannel()
140 ch->maxlen = ch->init_maxlen; in mISDN_clear_bchannel()
189 cq->p2 = bch->maxlen; in mISDN_ctrl_bchannel()
411 if (skb->len > ch->maxlen) { in dchannel_senddata()
413 __func__, skb->len, ch->maxlen); in dchannel_senddata()
[all …]
/Linux-v5.15/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),

12345678910>>...14