Home
last modified time | relevance | path

Searched refs:kvec (Results 1 – 25 of 149) sorted by relevance

123456

/linux/include/linux/sunrpc/
A Dsvc.h185 static inline u32 svc_getnl(struct kvec *iov) in svc_getnl()
195 static inline void svc_putnl(struct kvec *iov, u32 val) in svc_putnl()
202 static inline __be32 svc_getu32(struct kvec *iov) in svc_getu32()
212 static inline void svc_ungetu32(struct kvec *iov) in svc_ungetu32()
219 static inline void svc_putu32(struct kvec *iov, __be32 val) in svc_putu32()
261 struct kvec rq_vec[RPCSVC_MAXPAGES]; /* generally useful.. */
353 struct kvec *vec = &rqstp->rq_arg.head[0]; in xdr_argsize_check()
361 struct kvec *vec = &rqstp->rq_res.head[0]; in xdr_ressize_check()
536 struct kvec *first, void *p,
574 struct kvec *argv = rqstp->rq_arg.head; in svcxdr_init_decode()
[all …]
A Dxdr.h57 struct kvec head[1], /* RPC header + non-page data */
183 xdr_adjust_iovec(struct kvec *iov, __be32 *p) in xdr_adjust_iovec()
192 extern void xdr_buf_from_iov(const struct kvec *, struct xdr_buf *);
225 struct kvec *iov; /* pointer to the current kvec */
226 struct kvec scratch; /* Scratch buffer */
244 extern int xdr_reserve_space_vec(struct xdr_stream *xdr, struct kvec *vec,
/linux/fs/9p/
A Dxattr.c23 struct kvec kvec = {.iov_base = buffer, .iov_len = buffer_size}; in v9fs_fid_xattr_get() local
27 iov_iter_kvec(&to, READ, &kvec, 1, buffer_size); in v9fs_fid_xattr_get()
108 struct kvec kvec = {.iov_base = (void *)value, .iov_len = value_len}; in v9fs_fid_xattr_set() local
112 iov_iter_kvec(&from, WRITE, &kvec, 1, value_len); in v9fs_fid_xattr_set()
A Dvfs_dir.c93 struct kvec kvec; in v9fs_dir_readdir() local
103 kvec.iov_base = rdir->buf; in v9fs_dir_readdir()
104 kvec.iov_len = buflen; in v9fs_dir_readdir()
111 iov_iter_kvec(&to, READ, &kvec, 1, buflen); in v9fs_dir_readdir()
/linux/fs/ksmbd/
A Dauth.h36 struct kvec;
38 int ksmbd_crypt_message(struct ksmbd_conn *conn, struct kvec *iov,
53 int ksmbd_sign_smb2_pdu(struct ksmbd_conn *conn, char *key, struct kvec *iov,
55 int ksmbd_sign_smb3_pdu(struct ksmbd_conn *conn, char *key, struct kvec *iov,
A Dtransport_tcp.c34 struct kvec *iov;
114 static unsigned int kvec_array_init(struct kvec *new, struct kvec *iov, in kvec_array_init()
144 static struct kvec *get_conn_iovec(struct tcp_transport *t, unsigned int nr_segs) in get_conn_iovec()
146 struct kvec *new_iov; in get_conn_iovec()
289 static int ksmbd_tcp_readv(struct tcp_transport *t, struct kvec *iov_orig, in ksmbd_tcp_readv()
296 struct kvec *iov; in ksmbd_tcp_readv()
347 struct kvec iov; in ksmbd_tcp_read()
355 static int ksmbd_tcp_writev(struct ksmbd_transport *t, struct kvec *iov, in ksmbd_tcp_writev()
A Dconnection.c163 struct kvec iov[3]; in ksmbd_conn_write()
173 iov[iov_idx] = (struct kvec) { work->tr_buf, in ksmbd_conn_write()
179 iov[iov_idx] = (struct kvec) { work->response_buf, work->resp_hdr_sz }; in ksmbd_conn_write()
181 iov[iov_idx] = (struct kvec) { work->aux_payload_buf, work->aux_payload_sz }; in ksmbd_conn_write()
A Dauth.c535 int ksmbd_sign_smb2_pdu(struct ksmbd_conn *conn, char *key, struct kvec *iov, in ksmbd_sign_smb2_pdu()
586 int ksmbd_sign_smb3_pdu(struct ksmbd_conn *conn, char *key, struct kvec *iov, in ksmbd_sign_smb3_pdu()
629 struct kvec label;
630 struct kvec context;
634 static int generate_key(struct ksmbd_session *sess, struct kvec label, in generate_key()
635 struct kvec context, __u8 *key, unsigned int key_size) in generate_key()
982 static struct scatterlist *ksmbd_init_sg(struct kvec *iov, unsigned int nvec, in ksmbd_init_sg()
1047 int ksmbd_crypt_message(struct ksmbd_conn *conn, struct kvec *iov, in ksmbd_crypt_message()
/linux/fs/cifs/
A Dsmb2pdu.c841 struct kvec iov[1]; in SMB2_negotiate()
842 struct kvec rsp_iov; in SMB2_negotiate()
1237 struct kvec iov[2];
1695 struct kvec iov[1]; in SMB2_logoff()
1766 struct kvec iov[2]; in SMB2_tcon()
1907 struct kvec iov[1]; in SMB2_tdis()
3290 struct kvec iov[1]; in __SMB2_close()
4988 struct kvec *iov; in send_set_info()
5201 struct kvec iov; in SMB311_posix_qfs_info()
5252 struct kvec iov; in SMB2_QFS_info()
[all …]
A Dtransport.c262 struct kvec *iov; in smb_rqst_len()
307 struct kvec *iov; in __smb_send_rqst()
352 struct kvec hiov = { in __smb_send_rqst()
453 struct kvec iov; in smb_send_rqst()
498 struct kvec iov[2]; in smb_send()
895 struct kvec iov[1]; in SendReceiveNoRsp()
896 struct kvec rsp_iov; in SendReceiveNoRsp()
963 struct kvec iov[2]; in cifs_check_receive()
1260 struct kvec iov = { in compound_send_recv()
1288 struct kvec *resp_iov) in cifs_send_recv()
[all …]
A Dsmb2proto.h138 struct kvec *err_iov, int *resp_buftype);
203 unsigned int *nbytes, struct kvec *iov, int n_vec);
269 struct kvec *iov, unsigned int min_buf_size);
272 struct kvec *iov,
279 struct kvec *iov, int nvec);
284 struct kvec *rsp, int *buftype,
A Dsmb2transport.c214 struct kvec *iov = rqst->rq_iov; in smb2_calc_signature()
292 static int generate_key(struct cifs_ses *ses, struct kvec label, in generate_key()
293 struct kvec context, __u8 *key, unsigned int key_size) in generate_key()
381 struct kvec label;
382 struct kvec context;
535 struct kvec *iov = rqst->rq_iov; in smb3_calc_signature()
784 struct kvec iov[1]; in smb2_check_receive()
A Dcifsproto.h103 const int flags, struct kvec *resp_iov);
108 struct kvec *resp_iov);
126 struct kvec *, int /* nvec to send */,
128 struct kvec * /* resp vec */);
467 unsigned int *nbytes, struct kvec *iov, const int nvec);
498 extern int cifs_sign_smbv(struct kvec *iov, int n_vec, struct TCP_Server_Info *,
606 int smb2_parse_query_directory(struct cifs_tcon *tcon, struct kvec *rsp_iov,
/linux/fs/nfsd/
A Dvfs.h100 struct kvec *vec, int vlen,
104 loff_t, struct kvec *, int, unsigned long *,
107 struct kvec *, int, unsigned long *,
111 struct kvec *vec, int vlen, unsigned long *cnt,
/linux/net/sunrpc/
A Dxdr.c181 struct kvec *head = xdr->head; in xdr_inline_pages()
182 struct kvec *tail = xdr->tail; in xdr_inline_pages()
511 struct kvec *head = buf->head; in xdr_buf_try_expand()
512 struct kvec *tail = buf->tail; in xdr_buf_try_expand()
539 const struct kvec *tail = buf->tail; in xdr_buf_tail_copy_right()
789 struct kvec *head = buf->head; in xdr_shrink_bufhead()
897 struct kvec *iov = buf->head; in xdr_init_encode()
1089 struct kvec *head = buf->head; in xdr_truncate_encode()
1090 struct kvec *tail = buf->tail; in xdr_truncate_encode()
1177 struct kvec *iov = buf->tail; in xdr_write_pages()
[all …]
/linux/include/linux/
A Duio.h15 struct kvec { struct
44 const struct kvec *kvec; member
237 void iov_iter_kvec(struct iov_iter *i, unsigned int direction, const struct kvec *kvec,
A Dvringh.h101 struct kvec *iov;
179 struct kvec *kvec, unsigned num) in vringh_kiov_init() argument
184 kiov->iov = kvec; in vringh_kiov_init()
A Dnet.h216 struct kvec;
305 int kernel_sendmsg(struct socket *sock, struct msghdr *msg, struct kvec *vec,
308 struct kvec *vec, size_t num, size_t len);
309 int kernel_recvmsg(struct socket *sock, struct msghdr *msg, struct kvec *vec,
/linux/fs/jffs2/
A Dwritev.c16 int jffs2_flash_direct_writev(struct jffs2_sb_info *c, const struct kvec *vecs, in jffs2_flash_direct_writev()
39 struct kvec vecs[1]; in jffs2_flash_direct_write()
/linux/include/linux/ceph/
A Dmessenger.h240 struct kvec front; /* unaligned blobs of message */
293 struct kvec out_kvec[8], /* sending header/footer data */
360 struct kvec in_kvecs[5]; /* recvmsg */
366 struct kvec out_kvecs[8]; /* sendmsg */
396 struct kvec in_sign_kvecs[8];
397 struct kvec out_sign_kvecs[8];
/linux/drivers/xen/xenbus/
A Dxenbus_xs.c279 struct kvec *vec; in xenbus_dev_request_and_reply()
285 vec = (struct kvec *)(req + 1); in xenbus_dev_request_and_reply()
304 const struct kvec *iovec, in xs_talkv()
360 struct kvec iovec; in xs_single()
483 struct kvec iovec[2]; in xenbus_write()
660 struct kvec iov[2]; in xs_watch()
673 struct kvec iov[2]; in xs_unwatch()
/linux/drivers/target/iscsi/
A Discsi_target_util.h66 extern int rx_data(struct iscsi_conn *, struct kvec *, int, int);
67 extern int tx_data(struct iscsi_conn *, struct kvec *, int, int);
/linux/net/bluetooth/bnep/
A Dcore.c74 struct kvec iv = { data, len }; in bnep_send()
423 struct kvec iv[3]; in bnep_tx_frame()
434 iv[il++] = (struct kvec) { &type, 1 }; in bnep_tx_frame()
449 iv[il++] = (struct kvec) { eh->h_source, ETH_ALEN }; in bnep_tx_frame()
454 iv[il++] = (struct kvec) { eh->h_dest, ETH_ALEN }; in bnep_tx_frame()
460 iv[il++] = (struct kvec) { skb->data, skb->len }; in bnep_tx_frame()
/linux/net/qrtr/
A Dns.c109 struct kvec iv; in service_announce_new()
135 struct kvec iv; in service_announce_del()
166 struct kvec iv; in lookup_notify()
309 struct kvec iv; in say_hello()
350 struct kvec iv; in ctrl_cmd_bye()
432 struct kvec iv; in ctrl_cmd_del_client()
670 struct kvec iv; in qrtr_ns_worker()
/linux/net/sunrpc/auth_gss/
A Dsvcauth_gss.c722 struct kvec *argv = &rqstp->rq_arg.head[0]; in gss_verify_header()
723 struct kvec iov; in gss_verify_header()
778 struct kvec iov; in gss_write_verf()
1086 struct kvec *argv, __be32 *authp, in gss_read_common_verf()
1110 struct kvec *argv, __be32 *authp, in gss_read_verf()
1155 struct kvec *argv = &rqstp->rq_arg.head[0]; in gss_read_proxy_verf()
1238 struct kvec *argv = &rqstp->rq_arg.head[0]; in svcauth_gss_legacy_init()
1239 struct kvec *resv = &rqstp->rq_res.head[0]; in svcauth_gss_legacy_init()
1350 struct kvec *resv = &rqstp->rq_res.head[0]; in svcauth_gss_proxy_init()
1535 struct kvec *argv = &rqstp->rq_arg.head[0]; in svcauth_gss_accept()
[all …]

Completed in 66 milliseconds

123456