Home
last modified time | relevance | path

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

12345678910>>...18

/net/sunrpc/
Daddr.c28 static size_t rpc_ntop6_noscopeid(const struct sockaddr *sap, in rpc_ntop6_noscopeid()
66 static size_t rpc_ntop6(const struct sockaddr *sap, in rpc_ntop6()
67 char *buf, const size_t buflen) in rpc_ntop6()
71 size_t len; in rpc_ntop6()
85 if (unlikely((size_t)rc > sizeof(scopebuf))) in rpc_ntop6()
98 static size_t rpc_ntop6_noscopeid(const struct sockaddr *sap, in rpc_ntop6_noscopeid()
104 static size_t rpc_ntop6(const struct sockaddr *sap, in rpc_ntop6()
105 char *buf, const size_t buflen) in rpc_ntop6()
113 char *buf, const size_t buflen) in rpc_ntop4()
129 size_t rpc_ntop(const struct sockaddr *sap, char *buf, const size_t buflen) in rpc_ntop()
[all …]
Dxdr.c134 size_t
145 size_t i, n = xdr_buf_pagecount(buf); in xdr_alloc_bvec()
219 _shift_data_right_pages(struct page **pages, size_t pgto_base, in _shift_data_right_pages()
220 size_t pgfrom_base, size_t len) in _shift_data_right_pages()
224 size_t copy; in _shift_data_right_pages()
280 _copy_to_pages(struct page **pages, size_t pgbase, const char *p, size_t len) in _copy_to_pages()
284 size_t copy; in _copy_to_pages()
324 _copy_from_pages(char *p, struct page **pages, size_t pgbase, size_t len) in _copy_from_pages()
328 size_t copy; in _copy_from_pages()
363 xdr_shrink_bufhead(struct xdr_buf *buf, size_t len) in xdr_shrink_bufhead()
[all …]
Dsocklib.c30 static size_t
31 xdr_skb_read_bits(struct xdr_skb_reader *desc, void *to, size_t len) in xdr_skb_read_bits()
50 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()
79 size_t ret; in xdr_partial_copy_from_skb()
/net/mac80211/
Dfils_aead.c26 size_t num_elem, const u8 *addr[], size_t len[], u8 *v) in aes_s2v()
30 size_t i; in aes_s2v()
66 static int aes_siv_encrypt(const u8 *key, size_t key_len, in aes_siv_encrypt()
67 const u8 *plain, size_t plain_len, in aes_siv_encrypt()
68 size_t num_elem, const u8 *addr[], in aes_siv_encrypt()
69 size_t len[], u8 *out) in aes_siv_encrypt()
144 static int aes_siv_decrypt(const u8 *key, size_t key_len, in aes_siv_decrypt()
145 const u8 *iv_crypt, size_t iv_c_len, in aes_siv_decrypt()
146 size_t num_elem, const u8 *addr[], size_t len[], in aes_siv_decrypt()
153 size_t crypt_len; in aes_siv_decrypt()
[all …]
Daead_api.h11 size_t key_len, size_t mic_len);
14 size_t aad_len, u8 *data,
15 size_t data_len, u8 *mic);
18 size_t aad_len, u8 *data,
19 size_t data_len, u8 *mic);
Daead_api.c18 int aead_encrypt(struct crypto_aead *tfm, u8 *b_0, u8 *aad, size_t aad_len, in aead_encrypt()
19 u8 *data, size_t data_len, u8 *mic) in aead_encrypt()
21 size_t mic_len = crypto_aead_authsize(tfm); in aead_encrypt()
49 int aead_decrypt(struct crypto_aead *tfm, u8 *b_0, u8 *aad, size_t aad_len, in aead_decrypt()
50 u8 *data, size_t data_len, u8 *mic) in aead_decrypt()
52 size_t mic_len = crypto_aead_authsize(tfm); in aead_decrypt()
86 size_t key_len, size_t mic_len) in aead_key_setup_encrypt()
Ddebugfs.c20 int mac80211_format_buffer(char __user *userbuf, size_t count, in mac80211_format_buffer()
36 size_t count, loff_t *ppos) \
75 size_t count, in aqm_read()
116 size_t count, in aqm_write()
121 size_t len; in aqm_write()
153 size_t count, in force_tx_status_read()
168 size_t count, in force_tx_status_write()
173 size_t len; in force_tx_status_write()
205 size_t count, loff_t *ppos) in reset_write()
279 size_t count, loff_t *ppos) in hwflags_read()
[all …]
Dwep.h18 size_t klen, u8 *data, size_t data_len);
23 size_t klen, u8 *data, size_t data_len);
Daes_ccm.h15 ieee80211_aes_key_setup_encrypt(const u8 key[], size_t key_len, size_t mic_len) in ieee80211_aes_key_setup_encrypt()
23 size_t data_len, u8 *mic) in ieee80211_aes_ccm_encrypt()
33 size_t data_len, u8 *mic) in ieee80211_aes_ccm_decrypt()
Daes_cmac.h13 size_t key_len);
15 const u8 *data, size_t data_len, u8 *mic);
17 const u8 *data, size_t data_len, u8 *mic);
Dieee80211_i.h111 size_t supp_rates_len;
381 size_t data_len;
408 size_t fils_kek_len;
410 size_t ie_len;
561 size_t assoc_req_ies_len;
657 size_t mesh_id_len;
1460 size_t total_len;
1688 size_t len,
1780 const u8 *buf, size_t len,
1783 const u8 *buf, size_t len);
[all …]
/net/ceph/
Dpagevec.c63 loff_t off, size_t len) in ceph_copy_user_to_page_vector()
89 loff_t off, size_t len) in ceph_copy_to_page_vector()
92 size_t po = off & ~PAGE_MASK; in ceph_copy_to_page_vector()
93 size_t left = len; in ceph_copy_to_page_vector()
96 size_t l = min_t(size_t, PAGE_SIZE-po, left); in ceph_copy_to_page_vector()
112 loff_t off, size_t len) in ceph_copy_from_page_vector()
115 size_t po = off & ~PAGE_MASK; in ceph_copy_from_page_vector()
116 size_t left = len; in ceph_copy_from_page_vector()
119 size_t l = min_t(size_t, PAGE_SIZE-po, left); in ceph_copy_from_page_vector()
/net/bridge/
Dbr_sysfs_br.c28 const char *buf, size_t len, in store_bridge_parm()
64 const char *buf, size_t len) in forward_delay_store()
79 size_t len) in hello_time_store()
93 const char *buf, size_t len) in max_age_store()
113 const char *buf, size_t len) in ageing_time_store()
136 size_t len) in stp_state_store()
163 size_t len) in group_fwd_mask_store()
184 const char *buf, size_t len) in priority_store()
276 const char *buf, size_t len) in group_addr_store()
321 const char *buf, size_t len) in flush_store()
[all …]
/net/netfilter/
Dnf_conntrack_ftp.c59 static int try_rfc959(const char *, size_t, struct nf_conntrack_man *,
61 static int try_rfc1123(const char *, size_t, struct nf_conntrack_man *,
63 static int try_eprt(const char *, size_t, struct nf_conntrack_man *,
65 static int try_epsv_response(const char *, size_t, struct nf_conntrack_man *,
70 size_t plen;
74 int (*getnum)(const char *, size_t, struct nf_conntrack_man *, char, unsigned int *);
113 get_ipv6_addr(const char *src, size_t dlen, struct in6_addr *dst, u_int8_t term) in get_ipv6_addr()
116 int ret = in6_pton(src, min_t(size_t, dlen, 0xffff), (u8 *)dst, term, &end); in get_ipv6_addr()
122 static int try_number(const char *data, size_t dlen, u_int32_t array[], in try_number()
154 static int try_rfc959(const char *data, size_t dlen, in try_rfc959()
[all …]
/net/vmw_vsock/
Dvmci_transport_notify.h42 int (*poll_in) (struct sock *sk, size_t target,
44 int (*poll_out) (struct sock *sk, size_t target,
51 int (*recv_init) (struct sock *sk, size_t target,
53 int (*recv_pre_block) (struct sock *sk, size_t target,
55 int (*recv_pre_dequeue) (struct sock *sk, size_t target,
57 int (*recv_post_dequeue) (struct sock *sk, size_t target,
Dhyperv_transport.c247 static size_t hvs_channel_writable_bytes(struct vmbus_channel *chan) in hvs_channel_writable_bytes()
250 size_t ret; in hvs_channel_writable_bytes()
265 struct hvs_send_buf *send_buf, size_t to_write) in hvs_send_data()
586 size_t len, int flags) in hvs_dgram_dequeue()
593 size_t dgram_len) in hvs_dgram_enqueue()
624 size_t len, int flags) in hvs_stream_dequeue()
664 size_t len) in hvs_stream_enqueue()
773 int hvs_notify_poll_in(struct vsock_sock *vsk, size_t target, bool *readable) in hvs_notify_poll_in()
782 int hvs_notify_poll_out(struct vsock_sock *vsk, size_t target, bool *writable) in hvs_notify_poll_out()
790 int hvs_notify_recv_init(struct vsock_sock *vsk, size_t target, in hvs_notify_recv_init()
[all …]
/net/smc/
Dsmc_tx.c133 int smc_tx_sendmsg(struct smc_sock *smc, struct msghdr *msg, size_t len) in smc_tx_sendmsg()
135 size_t copylen, send_done = 0, send_remaining = len; in smc_tx_sendmsg()
136 size_t chunk_len, chunk_off, chunk_len_sum; in smc_tx_sendmsg()
179 copylen = min_t(size_t, send_remaining, writespace); in smc_tx_sendmsg()
186 chunk_len = min_t(size_t, copylen, conn->sndbuf_desc->len - in smc_tx_sendmsg()
249 int smcd_tx_ism_write(struct smc_connection *conn, void *data, size_t len, in smcd_tx_ism_write()
296 size_t len) in smc_tx_advance_cursors()
309 static int smcr_tx_rdma_writes(struct smc_connection *conn, size_t len, in smcr_tx_rdma_writes()
310 size_t src_off, size_t src_len, in smcr_tx_rdma_writes()
311 size_t dst_off, size_t dst_len, in smcr_tx_rdma_writes()
[all …]
Dsmc_rx.c54 union smc_host_cursor cons, size_t len) in smc_rx_update_consumer()
94 static void smc_rx_update_cons(struct smc_sock *smc, size_t len) in smc_rx_update_cons()
105 size_t len;
151 static int smc_rx_splice(struct pipe_inode_info *pipe, char *src, size_t len, in smc_rx_splice()
284 struct pipe_inode_info *pipe, size_t len, int flags) in smc_rx_recvmsg()
286 size_t copylen, read_done = 0, read_remaining = len; in smc_rx_recvmsg()
287 size_t chunk_len, chunk_off, chunk_len_sum; in smc_rx_recvmsg()
387 copylen = min_t(size_t, read_remaining, readable); in smc_rx_recvmsg()
390 chunk_len = min_t(size_t, copylen, conn->rmb_desc->len - in smc_rx_recvmsg()
/net/wireless/
Dnl80211.h66 const u8 *buf, size_t len, gfp_t gfp);
69 const u8 *buf, size_t len, gfp_t gfp,
71 const u8 *req_ies, size_t req_ies_len);
74 const u8 *buf, size_t len, gfp_t gfp);
77 const u8 *buf, size_t len, gfp_t gfp);
95 const u8 *ie, size_t ie_len, bool from_ap);
115 const u8 *buf, size_t len, u32 flags, gfp_t gfp);
/net/wimax/
Dop-msg.c107 const void *msg, size_t size, in wimax_msg_alloc()
112 size_t msg_size; in wimax_msg_alloc()
169 const void *wimax_msg_data_len(struct sk_buff *msg, size_t *size) in wimax_msg_data_len()
262 size_t size = skb->len; in wimax_msg_send()
295 const void *buf, size_t size, gfp_t gfp_flags) in wimax_msg()
325 size_t msg_len; in wimax_gnl_doit_msg_from_user()
354 size_t attr_len = nla_len(attr); in wimax_gnl_doit_msg_from_user()
/net/batman-adv/
Dicmp_socket.c48 size_t icmp_len);
125 size_t count, loff_t *ppos) in batadv_socket_read()
129 size_t packet_len; in batadv_socket_read()
168 size_t len, loff_t *off) in batadv_socket_write()
178 size_t packet_len = sizeof(struct batadv_icmp_packet); in batadv_socket_write()
333 size_t icmp_len) in batadv_socket_add_packet()
336 size_t len; in batadv_socket_add_packet()
388 size_t icmp_len) in batadv_socket_receive_packet()
Dsysfs.c139 size_t count) \
178 size_t count) \
217 size_t count) \
222 size_t res = __batadv_store_bool_attr(buff, count, _post_func, \
243 size_t res = sprintf(buff, "%s\n", \
262 size_t count) \
318 static int batadv_store_bool_attr(char *buff, size_t count, in batadv_store_bool_attr()
360 __batadv_store_bool_attr(char *buff, size_t count, in __batadv_store_bool_attr()
376 static int batadv_store_uint_attr(const char *buff, size_t count, in batadv_store_uint_attr()
419 static ssize_t __batadv_store_uint_attr(const char *buff, size_t count, in __batadv_store_uint_attr()
[all …]
/net/sctp/
Dsysctl.c44 void __user *buffer, size_t *lenp,
47 void __user *buffer, size_t *lenp,
50 void __user *buffer, size_t *lenp,
53 void __user *buffer, size_t *lenp,
56 void __user *buffer, size_t *lenp,
326 void __user *buffer, size_t *lenp, in proc_sctp_do_hmac_alg()
372 void __user *buffer, size_t *lenp, in proc_sctp_do_rto_min()
401 void __user *buffer, size_t *lenp, in proc_sctp_do_rto_max()
430 void __user *buffer, size_t *lenp, in proc_sctp_do_alpha_beta()
441 void __user *buffer, size_t *lenp, in proc_sctp_do_auth()
/net/nfc/hci/
Dcommand.c20 const u8 *param, size_t param_len, in nfc_hci_execute_cmd_async()
56 const u8 *param, size_t param_len, in nfc_hci_execute_cmd()
92 const u8 *param, size_t param_len) in nfc_hci_send_event()
113 const u8 *param, size_t param_len, struct sk_buff **skb) in nfc_hci_send_cmd()
128 const u8 *param, size_t param_len, in nfc_hci_send_cmd_async()
145 const u8 *param, size_t param_len) in nfc_hci_set_param()
254 size_t param_len = 2; in nfc_hci_clear_all_pipes()
/net/nfc/
Dllcp.h114 size_t service_name_len;
233 size_t uri_len);
241 struct hlist_head *tlv_list, size_t tlvs_len);
243 struct hlist_head *tlv_list, size_t tlvs_len);
247 struct msghdr *msg, size_t len);
249 struct msghdr *msg, size_t len);

12345678910>>...18