Home
last modified time | relevance | path

Searched refs:size_t (Results 1 – 25 of 409) sorted by relevance

12345678910>>...17

/net/sunrpc/
Daddr.c27 static size_t rpc_ntop6_noscopeid(const struct sockaddr *sap, in rpc_ntop6_noscopeid()
65 static size_t rpc_ntop6(const struct sockaddr *sap, in rpc_ntop6()
66 char *buf, const size_t buflen) in rpc_ntop6()
70 size_t len; in rpc_ntop6()
84 if (unlikely((size_t)rc > sizeof(scopebuf))) in rpc_ntop6()
97 static size_t rpc_ntop6_noscopeid(const struct sockaddr *sap, in rpc_ntop6_noscopeid()
103 static size_t rpc_ntop6(const struct sockaddr *sap, in rpc_ntop6()
104 char *buf, const size_t buflen) in rpc_ntop6()
112 char *buf, const size_t buflen) in rpc_ntop4()
128 size_t rpc_ntop(const struct sockaddr *sap, char *buf, const size_t buflen) in rpc_ntop()
[all …]
Dxdr.c172 _shift_data_right_pages(struct page **pages, size_t pgto_base, in _shift_data_right_pages()
173 size_t pgfrom_base, size_t len) in _shift_data_right_pages()
177 size_t copy; in _shift_data_right_pages()
233 _copy_to_pages(struct page **pages, size_t pgbase, const char *p, size_t len) in _copy_to_pages()
237 size_t copy; in _copy_to_pages()
277 _copy_from_pages(char *p, struct page **pages, size_t pgbase, size_t len) in _copy_from_pages()
281 size_t copy; in _copy_from_pages()
316 xdr_shrink_bufhead(struct xdr_buf *buf, size_t len) in xdr_shrink_bufhead()
319 size_t copy, offs; in xdr_shrink_bufhead()
392 xdr_shrink_pagelen(struct xdr_buf *buf, size_t len) in xdr_shrink_pagelen()
[all …]
Dsocklib.c29 size_t xdr_skb_read_bits(struct xdr_skb_reader *desc, void *to, size_t len) in xdr_skb_read_bits()
49 static size_t xdr_skb_read_and_csum_bits(struct xdr_skb_reader *desc, void *to, size_t len) in xdr_skb_read_and_csum_bits()
77 size_t ret; in xdr_partial_copy_from_skb()
Dsysctl.c62 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_do_xprt()
65 size_t len; in proc_do_xprt()
77 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dodebug()
82 size_t left, len; in proc_dodebug()
/net/wireless/
Dnl80211.h40 const u8 *buf, size_t len, gfp_t gfp);
43 const u8 *buf, size_t len, gfp_t gfp,
47 const u8 *buf, size_t len, gfp_t gfp);
50 const u8 *buf, size_t len, gfp_t gfp);
59 const u8 *req_ie, size_t req_ie_len,
60 const u8 *resp_ie, size_t resp_ie_len,
64 const u8 *req_ie, size_t req_ie_len,
65 const u8 *resp_ie, size_t resp_ie_len, gfp_t gfp);
68 const u8 *ie, size_t ie_len, bool from_ap);
88 const u8 *buf, size_t len, u32 flags, gfp_t gfp);
Dcore.h227 size_t req_ie_len;
228 size_t resp_ie_len;
235 size_t req_ie_len;
236 size_t resp_ie_len;
241 size_t ie_len;
388 const u8 *req_ie, size_t req_ie_len,
389 const u8 *resp_ie, size_t resp_ie_len,
393 size_t ie_len, u16 reason, bool from_ap);
399 const u8 *req_ie, size_t req_ie_len,
400 const u8 *resp_ie, size_t resp_ie_len);
[all …]
/net/ceph/
Dpagevec.c95 loff_t off, size_t len) in ceph_copy_user_to_page_vector()
121 loff_t off, size_t len) in ceph_copy_to_page_vector()
124 size_t po = off & ~PAGE_MASK; in ceph_copy_to_page_vector()
125 size_t left = len; in ceph_copy_to_page_vector()
128 size_t l = min_t(size_t, PAGE_SIZE-po, left); in ceph_copy_to_page_vector()
144 loff_t off, size_t len) in ceph_copy_from_page_vector()
147 size_t po = off & ~PAGE_MASK; in ceph_copy_from_page_vector()
148 size_t left = len; in ceph_copy_from_page_vector()
151 size_t l = min_t(size_t, PAGE_SIZE-po, left); in ceph_copy_from_page_vector()
/net/bridge/
Dbr_sysfs_br.c31 const char *buf, size_t len, in store_bridge_parm()
67 const char *buf, size_t len) in forward_delay_store()
82 size_t len) in hello_time_store()
96 const char *buf, size_t len) in max_age_store()
116 const char *buf, size_t len) in ageing_time_store()
139 size_t len) in stp_state_store()
166 size_t len) in group_fwd_mask_store()
187 const char *buf, size_t len) in priority_store()
282 const char *buf, size_t len) in group_addr_store()
331 const char *buf, size_t len) in flush_store()
[all …]
/net/mac80211/
Daes_ccm.h18 size_t key_len,
19 size_t mic_len);
21 u8 *data, size_t data_len, u8 *mic,
22 size_t mic_len);
24 u8 *data, size_t data_len, u8 *mic,
25 size_t mic_len);
Daes_cmac.c38 static void aes_cmac_vector(struct crypto_cipher *tfm, size_t num_elem, in aes_cmac_vector()
39 const u8 *addr[], const size_t *len, u8 *mac, in aes_cmac_vector()
40 size_t mac_len) in aes_cmac_vector()
44 size_t i, e, left, total_len; in aes_cmac_vector()
96 const u8 *data, size_t data_len, u8 *mic) in ieee80211_aes_cmac()
99 size_t len[3]; in ieee80211_aes_cmac()
114 const u8 *data, size_t data_len, u8 *mic) in ieee80211_aes_cmac_256()
117 size_t len[3]; in ieee80211_aes_cmac_256()
132 size_t key_len) in ieee80211_aes_cmac_key_setup()
Daes_ccm.c22 u8 *data, size_t data_len, u8 *mic, in ieee80211_aes_ccm_encrypt()
23 size_t mic_len) in ieee80211_aes_ccm_encrypt()
53 u8 *data, size_t data_len, u8 *mic, in ieee80211_aes_ccm_decrypt()
54 size_t mic_len) in ieee80211_aes_ccm_decrypt()
88 size_t key_len, in ieee80211_aes_key_setup_encrypt()
89 size_t mic_len) in ieee80211_aes_key_setup_encrypt()
Dwep.h22 size_t klen, u8 *data, size_t data_len);
27 size_t klen, u8 *data, size_t data_len);
Ddebugfs.c21 int mac80211_format_buffer(char __user *userbuf, size_t count, in mac80211_format_buffer()
37 size_t count, loff_t *ppos) \
76 size_t count, in aqm_read()
117 size_t count, in aqm_write()
122 size_t len; in aqm_write()
154 size_t count, loff_t *ppos) in reset_write()
217 size_t count, loff_t *ppos) in hwflags_read()
220 size_t bufsz = 30 * NUM_IEEE80211_HW_FLAGS; in hwflags_read()
246 size_t count, loff_t *ppos) in queues_read()
270 size_t count, loff_t *ppos, in format_devstat_counter()
[all …]
Daes_cmac.h15 size_t key_len);
17 const u8 *data, size_t data_len, u8 *mic);
19 const u8 *data, size_t data_len, u8 *mic);
Daes_gcm.h17 u8 *data, size_t data_len, u8 *mic);
19 u8 *data, size_t data_len, u8 *mic);
21 size_t key_len);
Dieee80211_i.h111 size_t supp_rates_len;
376 size_t data_len;
401 size_t ie_len;
639 size_t mesh_id_len;
1437 size_t total_len;
1633 size_t len,
1754 struct ieee80211_mgmt *mgmt, size_t len);
1758 size_t len);
1762 size_t len);
1805 size_t len);
[all …]
/net/netfilter/
Dnf_conntrack_ftp.c60 static int try_rfc959(const char *, size_t, struct nf_conntrack_man *,
62 static int try_rfc1123(const char *, size_t, struct nf_conntrack_man *,
64 static int try_eprt(const char *, size_t, struct nf_conntrack_man *,
66 static int try_epsv_response(const char *, size_t, struct nf_conntrack_man *,
71 size_t plen;
75 int (*getnum)(const char *, size_t, struct nf_conntrack_man *, char, unsigned int *);
114 get_ipv6_addr(const char *src, size_t dlen, struct in6_addr *dst, u_int8_t term) in get_ipv6_addr()
117 int ret = in6_pton(src, min_t(size_t, dlen, 0xffff), (u8 *)dst, term, &end); in get_ipv6_addr()
123 static int try_number(const char *data, size_t dlen, u_int32_t array[], in try_number()
155 static int try_rfc959(const char *data, size_t dlen, in try_rfc959()
[all …]
/net/vmw_vsock/
Dvmci_transport_notify.h50 int (*poll_in) (struct sock *sk, size_t target,
52 int (*poll_out) (struct sock *sk, size_t target,
59 int (*recv_init) (struct sock *sk, size_t target,
61 int (*recv_pre_block) (struct sock *sk, size_t target,
63 int (*recv_pre_dequeue) (struct sock *sk, size_t target,
65 int (*recv_post_dequeue) (struct sock *sk, size_t target,
/net/irda/irnet/
Dirnet_ppp.h51 size_t);
56 size_t);
70 size_t,
74 size_t,
/net/wimax/
Dop-msg.c122 const void *msg, size_t size, in wimax_msg_alloc()
127 size_t msg_size; in wimax_msg_alloc()
184 const void *wimax_msg_data_len(struct sk_buff *msg, size_t *size) in wimax_msg_data_len()
277 size_t size = skb->len; in wimax_msg_send()
310 const void *buf, size_t size, gfp_t gfp_flags) in wimax_msg()
340 size_t msg_len; in wimax_gnl_doit_msg_from_user()
369 size_t attr_len = nla_len(attr); in wimax_gnl_doit_msg_from_user()
/net/batman-adv/
Dicmp_socket.c57 size_t icmp_len);
129 size_t count, loff_t *ppos) in batadv_socket_read()
133 size_t packet_len; in batadv_socket_read()
172 size_t len, loff_t *off) in batadv_socket_write()
182 size_t packet_len = sizeof(struct batadv_icmp_packet); in batadv_socket_write()
345 size_t icmp_len) in batadv_socket_add_packet()
348 size_t len; in batadv_socket_add_packet()
400 size_t icmp_len) in batadv_socket_receive_packet()
/net/sctp/
Dsysctl.c62 void __user *buffer, size_t *lenp,
65 void __user *buffer, size_t *lenp,
68 void __user *buffer, size_t *lenp,
71 void __user *buffer, size_t *lenp,
74 void __user *buffer, size_t *lenp,
323 void __user *buffer, size_t *lenp, in proc_sctp_do_hmac_alg()
369 void __user *buffer, size_t *lenp, in proc_sctp_do_rto_min()
398 void __user *buffer, size_t *lenp, in proc_sctp_do_rto_max()
427 void __user *buffer, size_t *lenp, in proc_sctp_do_alpha_beta()
438 void __user *buffer, size_t *lenp, in proc_sctp_do_auth()
/net/nfc/hci/
Dcommand.c32 const u8 *param, size_t param_len, in nfc_hci_execute_cmd_async()
68 const u8 *param, size_t param_len, in nfc_hci_execute_cmd()
104 const u8 *param, size_t param_len) in nfc_hci_send_event()
125 const u8 *param, size_t param_len, struct sk_buff **skb) in nfc_hci_send_cmd()
140 const u8 *param, size_t param_len, in nfc_hci_send_cmd_async()
157 const u8 *param, size_t param_len) in nfc_hci_set_param()
266 size_t param_len = 2; in nfc_hci_clear_all_pipes()
/net/nfc/
Dllcp.h126 size_t service_name_len;
245 size_t uri_len);
253 struct hlist_head *tlv_list, size_t tlvs_len);
255 struct hlist_head *tlv_list, size_t tlvs_len);
259 struct msghdr *msg, size_t len);
261 struct msghdr *msg, size_t len);
/net/9p/
Dprotocol.c56 size_t pdu_read(struct p9_fcall *pdu, void *data, size_t size) in pdu_read()
58 size_t len = min(pdu->size - pdu->offset, size); in pdu_read()
64 static size_t pdu_write(struct p9_fcall *pdu, const void *data, size_t size) in pdu_write()
66 size_t len = min(pdu->capacity - pdu->size, size); in pdu_write()
72 static size_t
73 pdu_write_u(struct p9_fcall *pdu, struct iov_iter *from, size_t size) in pdu_write_u()
75 size_t len = min(pdu->capacity - pdu->size, size); in pdu_write_u()
396 len = min_t(size_t, strlen(sptr), in p9pdu_vwritef()

12345678910>>...17