Home
last modified time | relevance | path

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

12345678910>>...17

/linux-6.6.21/net/ipv4/
Dsysctl_net_ipv4.c77 .maxlen = sizeof(range), in ipv4_local_port_range()
113 .maxlen = sizeof(pports), in ipv4_privileged_ports()
173 .maxlen = sizeof(urange), in ipv4_ping_group_range()
223 .maxlen = TCP_CA_NAME_MAX, in proc_tcp_congestion_control()
239 struct ctl_table tbl = { .maxlen = TCP_CA_BUF_MAX, }; in proc_tcp_available_congestion_control()
242 tbl.data = kmalloc(tbl.maxlen, GFP_USER); in proc_tcp_available_congestion_control()
255 struct ctl_table tbl = { .maxlen = TCP_CA_BUF_MAX }; in proc_allowed_congestion_control()
258 tbl.data = kmalloc(tbl.maxlen, GFP_USER); in proc_allowed_congestion_control()
262 tcp_get_allowed_congestion_control(tbl.data, tbl.maxlen); in proc_allowed_congestion_control()
296 struct ctl_table tbl = { .maxlen = ((TCP_FASTOPEN_KEY_LENGTH * in proc_tcp_fastopen_key()
[all …]
/linux-6.6.21/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 …]
/linux-6.6.21/kernel/
Dsysctl.c146 static int _proc_do_string(char *data, int maxlen, int write, in _proc_do_string() argument
152 if (!data || !maxlen || !*lenp) { in _proc_do_string()
161 if (len > maxlen - 1) in _proc_do_string()
162 len = maxlen - 1; in _proc_do_string()
174 while ((p - buffer) < *lenp && len < maxlen - 1) { in _proc_do_string()
183 if (len > maxlen) in _proc_do_string()
184 len = maxlen; in _proc_do_string()
265 return _proc_do_string(table->data, table->maxlen, write, buffer, lenp, in proc_dostring()
482 if (!tbl_data || !table->maxlen || !*lenp || (*ppos && !write)) { in __do_proc_dointvec()
488 vleft = table->maxlen / sizeof(*i); in __do_proc_dointvec()
[all …]
/linux-6.6.21/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.c76 .maxlen = sizeof(int),
85 .maxlen = sizeof(int),
92 .maxlen = sizeof(test_data.int_0003),
99 .maxlen = sizeof(match_int_ok),
106 .maxlen = sizeof(test_data.boot_int),
115 .maxlen = sizeof(unsigned int),
122 .maxlen = sizeof(test_data.string_0001),
129 .maxlen = SYSCTL_TEST_BITMAP_SIZE,
183 .maxlen = sizeof(int),
/linux-6.6.21/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-6.6.21/net/ipv6/
Dsysctl_net_ipv6.c68 .maxlen = sizeof(u8),
75 .maxlen = sizeof(u8),
82 .maxlen = sizeof(u8),
89 .maxlen = sizeof(u8),
97 .maxlen = sizeof(u8),
104 .maxlen = sizeof(int),
111 .maxlen = sizeof(int),
118 .maxlen = sizeof(u8),
125 .maxlen = sizeof(u8),
132 .maxlen = sizeof(int),
[all …]
/linux-6.6.21/net/core/
Dsysctl_net_core.c132 .maxlen = sizeof(size), in rps_sock_flow_sysctl()
279 .maxlen = IFNAMSIZ, in set_default_qdisc()
318 fake_table.maxlen = sizeof(buf); in proc_do_rss_key()
381 .maxlen = sizeof(int),
389 .maxlen = sizeof(int),
397 .maxlen = sizeof(int),
405 .maxlen = sizeof(int),
413 .maxlen = sizeof(int),
420 .maxlen = sizeof(int),
427 .maxlen = sizeof(int),
[all …]
/linux-6.6.21/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-6.6.21/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-6.6.21/net/rxrpc/
Dsysctl.c35 .maxlen = sizeof(unsigned long),
44 .maxlen = sizeof(unsigned long),
53 .maxlen = sizeof(unsigned long),
62 .maxlen = sizeof(unsigned long),
74 .maxlen = sizeof(unsigned long),
86 .maxlen = sizeof(unsigned int),
95 .maxlen = sizeof(unsigned int),
104 .maxlen = sizeof(unsigned int),
113 .maxlen = sizeof(unsigned int),
122 .maxlen = sizeof(unsigned int),
/linux-6.6.21/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.c243 xfs_extlen_t maxlen, /* maximum length to allocate */ in xfs_rtallocate_extent_block() argument
268 maxlen = xfs_rtallocate_clamp_len(mp, i, maxlen, prod); in xfs_rtallocate_extent_block()
274 error = xfs_rtcheck_range(mp, tp, i, maxlen, 1, &next, &stat); in xfs_rtallocate_extent_block()
282 error = xfs_rtallocate_range(mp, tp, i, maxlen, rbpp, in xfs_rtallocate_extent_block()
287 *len = maxlen; in xfs_rtallocate_extent_block()
297 if (minlen < maxlen) { in xfs_rtallocate_extent_block()
320 if (minlen < maxlen && besti != -1) { in xfs_rtallocate_extent_block()
363 xfs_extlen_t maxlen, /* maximum length to allocate */ in xfs_rtallocate_extent_exact() argument
376 ASSERT(maxlen % prod == 0); in xfs_rtallocate_extent_exact()
380 error = xfs_rtcheck_range(mp, tp, bno, maxlen, 1, &next, &isfree); in xfs_rtallocate_extent_exact()
[all …]
/linux-6.6.21/net/netfilter/
Dnf_conntrack_standalone.c628 .maxlen = sizeof(int),
634 .maxlen = sizeof(int),
641 .maxlen = sizeof(unsigned int),
648 .maxlen = sizeof(u8),
657 .maxlen = sizeof(u8),
664 .maxlen = sizeof(int),
671 .maxlen = sizeof(u8),
681 .maxlen = sizeof(u8),
692 .maxlen = sizeof(u8),
701 .maxlen = sizeof(unsigned int),
[all …]
/linux-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/kernel/printk/
Dsysctl.c27 .maxlen = 4*sizeof(int),
34 .maxlen = sizeof(int),
41 .maxlen = sizeof(int),
48 .maxlen = sizeof(int),
57 .maxlen = DEVKMSG_STR_MAX_SIZE,
64 .maxlen = sizeof(int),
73 .maxlen = sizeof(int),
/linux-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/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),
/linux-6.6.21/include/linux/
Dgenl_magic_struct.h88 #define __str_field(attr_nr, attr_flag, name, maxlen) \ argument
89 __array(attr_nr, attr_flag, name, NLA_NUL_STRING, char, maxlen, \
91 #define __bin_field(attr_nr, attr_flag, name, maxlen) \ argument
92 __array(attr_nr, attr_flag, name, NLA_BINARY, char, maxlen, \
102 #define __str_field_def(attr_nr, attr_flag, name, maxlen) \ argument
103 __str_field(attr_nr, attr_flag, name, maxlen)
165 maxlen, __get, __put, __is_signed) \ argument
233 #define __array(attr_nr, attr_flag, name, nla_type, type, maxlen, \ argument
257 #define __array(attr_nr, attr_flag, name, nla_type, type, maxlen, \ argument
259 type name[maxlen]; \
[all …]

12345678910>>...17