Home
last modified time | relevance | path

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

12345678910>>...15

/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/ceph/
Dcrypto.h31 void *dst, size_t *dst_len,
32 const void *src, size_t src_len);
34 void *dst, size_t *dst_len,
35 const void *src, size_t src_len);
37 void *dst1, size_t *dst1_len,
38 void *dst2, size_t *dst2_len,
39 const void *src, size_t src_len);
41 void *dst, size_t *dst_len,
42 const void *src1, size_t src1_len,
43 const void *src2, size_t src2_len);
Dcrypto.c164 void *dst, size_t *dst_len, in ceph_aes_encrypt()
165 const void *src, size_t src_len) in ceph_aes_encrypt()
174 size_t zero_padding = (0x10 - (src_len & 0x0f)); in ceph_aes_encrypt()
223 size_t *dst_len, in ceph_aes_encrypt2()
224 const void *src1, size_t src1_len, in ceph_aes_encrypt2()
225 const void *src2, size_t src2_len) in ceph_aes_encrypt2()
234 size_t zero_padding = (0x10 - ((src1_len + src2_len) & 0x0f)); in ceph_aes_encrypt2()
286 void *dst, size_t *dst_len, in ceph_aes_decrypt()
287 const void *src, size_t src_len) in ceph_aes_decrypt()
350 void *dst1, size_t *dst1_len, in ceph_aes_decrypt2()
[all …]
Dpagevec.c100 loff_t off, size_t len) in ceph_copy_user_to_page_vector()
126 loff_t off, size_t len) in ceph_copy_to_page_vector()
129 size_t po = off & ~PAGE_CACHE_MASK; in ceph_copy_to_page_vector()
130 size_t left = len; in ceph_copy_to_page_vector()
133 size_t l = min_t(size_t, PAGE_CACHE_SIZE-po, left); in ceph_copy_to_page_vector()
149 loff_t off, size_t len) in ceph_copy_from_page_vector()
152 size_t po = off & ~PAGE_CACHE_MASK; in ceph_copy_from_page_vector()
153 size_t left = len; in ceph_copy_from_page_vector()
156 size_t l = min_t(size_t, PAGE_CACHE_SIZE-po, left); in ceph_copy_from_page_vector()
/net/wireless/
Dnl80211.h23 const u8 *buf, size_t len, gfp_t gfp);
26 const u8 *buf, size_t len, gfp_t gfp,
30 const u8 *buf, size_t len, gfp_t gfp);
33 const u8 *buf, size_t len, gfp_t gfp);
42 const u8 *req_ie, size_t req_ie_len,
43 const u8 *resp_ie, size_t resp_ie_len,
47 const u8 *req_ie, size_t req_ie_len,
48 const u8 *resp_ie, size_t resp_ie_len, gfp_t gfp);
51 const u8 *ie, size_t ie_len, bool from_ap);
71 const u8 *buf, size_t len, u32 flags, gfp_t gfp);
Dcore.h202 size_t req_ie_len;
203 size_t resp_ie_len;
209 size_t req_ie_len;
210 size_t resp_ie_len;
215 size_t ie_len;
348 const u8 *req_ie, size_t req_ie_len,
349 const u8 *resp_ie, size_t resp_ie_len,
353 size_t ie_len, u16 reason, bool from_ap);
359 const u8 *req_ie, size_t req_ie_len,
360 const u8 *resp_ie, size_t resp_ie_len);
[all …]
/net/bridge/
Dbr_sysfs_br.c32 const char *buf, size_t len, in store_bridge_parm()
61 const char *buf, size_t len) in forward_delay_store()
76 size_t len) in hello_time_store()
90 const char *buf, size_t len) in max_age_store()
111 const char *buf, size_t len) in ageing_time_store()
127 size_t len) in stp_state_store()
161 size_t len) in group_fwd_mask_store()
198 const char *buf, size_t len) in priority_store()
293 const char *buf, size_t len) in group_addr_store()
335 const char *buf, size_t len) in flush_store()
[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/netfilter/
Dnf_conntrack_ftp.c58 static int try_rfc959(const char *, size_t, struct nf_conntrack_man *,
60 static int try_rfc1123(const char *, size_t, struct nf_conntrack_man *,
62 static int try_eprt(const char *, size_t, struct nf_conntrack_man *,
64 static int try_epsv_response(const char *, size_t, struct nf_conntrack_man *,
69 size_t plen;
73 int (*getnum)(const char *, size_t, struct nf_conntrack_man *, char, unsigned int *);
112 get_ipv6_addr(const char *src, size_t dlen, struct in6_addr *dst, u_int8_t term) in get_ipv6_addr()
115 int ret = in6_pton(src, min_t(size_t, dlen, 0xffff), (u8 *)dst, term, &end); in get_ipv6_addr()
121 static int try_number(const char *data, size_t dlen, u_int32_t array[], in try_number()
153 static int try_rfc959(const char *data, size_t dlen, in try_rfc959()
[all …]
/net/mac80211/
Dwep.h22 size_t klen, u8 *data, size_t data_len);
27 size_t klen, u8 *data, size_t data_len);
Dieee80211_i.h105 size_t supp_rates_len;
387 size_t data_len;
412 size_t ie_len;
598 size_t mesh_id_len;
1355 size_t total_len;
1512 size_t len,
1611 struct ieee80211_mgmt *mgmt, size_t len);
1615 size_t len);
1619 size_t len);
1653 size_t len);
[all …]
Daes_cmac.c39 static void aes_128_cmac_vector(struct crypto_cipher *tfm, size_t num_elem, in aes_128_cmac_vector()
40 const u8 *addr[], const size_t *len, u8 *mac) in aes_128_cmac_vector()
44 size_t i, e, left, total_len; in aes_128_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()
Ddebugfs_sta.c25 size_t count, loff_t *ppos) \
68 size_t count, loff_t *ppos) in sta_flags_read()
96 size_t count, loff_t *ppos) in sta_num_ps_buf_frames_read()
111 size_t count, loff_t *ppos) in sta_inactive_ms_read()
121 size_t count, loff_t *ppos) in sta_connected_time_read()
145 size_t count, loff_t *ppos) in sta_last_seq_ctrl_read()
159 size_t count, loff_t *ppos) in sta_agg_status_read()
198 size_t count, loff_t *ppos) in sta_agg_status_write()
257 size_t count, loff_t *ppos) in sta_ht_capa_read()
339 size_t count, loff_t *ppos) in sta_vht_capa_read()
[all …]
/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/sctp/
Dsysctl.c66 void __user *buffer, size_t *lenp,
69 void __user *buffer, size_t *lenp,
72 void __user *buffer, size_t *lenp,
75 void __user *buffer, size_t *lenp,
78 void __user *buffer, size_t *lenp,
320 void __user *buffer, size_t *lenp, in proc_sctp_do_hmac_alg()
366 void __user *buffer, size_t *lenp, in proc_sctp_do_rto_min()
395 void __user *buffer, size_t *lenp, in proc_sctp_do_rto_max()
424 void __user *buffer, size_t *lenp, in proc_sctp_do_alpha_beta()
435 void __user *buffer, size_t *lenp, in proc_sctp_do_auth()
/net/batman-adv/
Dicmp_socket.c31 size_t icmp_len);
107 size_t count, loff_t *ppos) in batadv_socket_read()
111 size_t packet_len; in batadv_socket_read()
150 size_t len, loff_t *off) in batadv_socket_write()
160 size_t packet_len = sizeof(struct batadv_icmp_packet); in batadv_socket_write()
323 size_t icmp_len) in batadv_socket_add_packet()
326 size_t len; in batadv_socket_add_packet()
378 size_t icmp_len) in batadv_socket_receive_packet()
Dsysfs.c125 size_t count) \
158 size_t count) \
189 size_t count) \
194 size_t res = __batadv_store_bool_attr(buff, count, _post_func, \
209 size_t res = sprintf(buff, "%s\n", \
224 static int batadv_store_bool_attr(char *buff, size_t count, in batadv_store_bool_attr()
261 __batadv_store_bool_attr(char *buff, size_t count, in __batadv_store_bool_attr()
276 static int batadv_store_uint_attr(const char *buff, size_t count, in batadv_store_uint_attr()
315 __batadv_store_uint_attr(const char *buff, size_t count, in __batadv_store_uint_attr()
372 size_t count) in batadv_store_gw_mode()
[all …]
/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()
120 const u8 *param, size_t param_len) in nfc_hci_send_response()
142 const u8 *param, size_t param_len, struct sk_buff **skb) in nfc_hci_send_cmd()
157 const u8 *param, size_t param_len, in nfc_hci_send_cmd_async()
174 const u8 *param, size_t param_len) in nfc_hci_set_param()
283 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.c55 size_t pdu_read(struct p9_fcall *pdu, void *data, size_t size) in pdu_read()
57 size_t len = min(pdu->size - pdu->offset, size); in pdu_read()
63 static size_t pdu_write(struct p9_fcall *pdu, const void *data, size_t size) in pdu_write()
65 size_t len = min(pdu->capacity - pdu->size, size); in pdu_write()
71 static size_t
72 pdu_write_u(struct p9_fcall *pdu, const char __user *udata, size_t size) in pdu_write_u()
74 size_t len = min(pdu->capacity - pdu->size, size); in pdu_write_u()
394 len = min_t(size_t, strlen(sptr), in p9pdu_vwritef()
/net/core/
Dnet-sysfs.c79 const char *buf, size_t len, in netdev_store()
167 const char *buf, size_t len) in carrier_store()
293 const char *buf, size_t len) in mtu_store()
305 const char *buf, size_t len) in flags_store()
319 const char *buf, size_t len) in tx_queue_len_store()
329 const char *buf, size_t len) in ifalias_store()
333 size_t count = len; in ifalias_store()
373 const char *buf, size_t len) in group_store()
553 const char *buf, size_t count) in rx_queue_attr_store()
575 size_t len = 0; in show_rps_map()
[all …]

12345678910>>...15