Home
last modified time | relevance | path

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

123456

/kernel/linux/linux-5.10/fs/9p/
Dxattr.c31 struct kvec kvec = {.iov_base = buffer, .iov_len = buffer_size}; in v9fs_fid_xattr_get() local
35 iov_iter_kvec(&to, READ, &kvec, 1, buffer_size); in v9fs_fid_xattr_get()
106 struct kvec kvec = {.iov_base = (void *)value, .iov_len = value_len}; in v9fs_fid_xattr_set() local
110 iov_iter_kvec(&from, WRITE, &kvec, 1, value_len); in v9fs_fid_xattr_set()
Dvfs_dir.c94 struct kvec kvec; in v9fs_dir_readdir() local
104 kvec.iov_base = rdir->buf; in v9fs_dir_readdir()
105 kvec.iov_len = buflen; in v9fs_dir_readdir()
111 iov_iter_kvec(&to, READ, &kvec, 1, buflen); in v9fs_dir_readdir()
/kernel/linux/linux-5.10/include/linux/sunrpc/
Dsvc.h184 static inline u32 svc_getnl(struct kvec *iov) in svc_getnl()
194 static inline void svc_putnl(struct kvec *iov, u32 val) in svc_putnl()
201 static inline __be32 svc_getu32(struct kvec *iov) in svc_getu32()
211 static inline void svc_ungetu32(struct kvec *iov) in svc_ungetu32()
218 static inline void svc_putu32(struct kvec *iov, __be32 val) in svc_putu32()
256 struct kvec rq_vec[RPCSVC_MAXPAGES]; /* generally useful.. */
348 struct kvec *vec = &rqstp->rq_arg.head[0]; in xdr_argsize_check()
356 struct kvec *vec = &rqstp->rq_res.head[0]; in xdr_ressize_check()
527 struct kvec *first, size_t total);
529 struct kvec *first, void *p,
Dxdr.h50 struct kvec head[1], /* RPC header + non-page data */
175 xdr_adjust_iovec(struct kvec *iov, __be32 *p) in xdr_adjust_iovec()
184 extern void xdr_buf_from_iov(struct kvec *, struct xdr_buf *);
217 struct kvec *iov; /* pointer to the current kvec */
218 struct kvec scratch; /* Scratch buffer */
236 extern int xdr_reserve_space_vec(struct xdr_stream *xdr, struct kvec *vec,
/kernel/linux/linux-5.10/include/linux/
Duio.h15 struct kvec { struct
40 const struct kvec *kvec; argument
217 void iov_iter_kvec(struct iov_iter *i, unsigned int direction, const struct kvec *kvec,
288 int (*f)(struct kvec *vec, void *context),
Dvringh.h97 struct kvec *iov;
175 struct kvec *kvec, unsigned num) in vringh_kiov_init() argument
180 kiov->iov = kvec; in vringh_kiov_init()
Dnet.h219 struct kvec;
308 int kernel_sendmsg(struct socket *sock, struct msghdr *msg, struct kvec *vec,
311 struct kvec *vec, size_t num, size_t len);
312 int kernel_recvmsg(struct socket *sock, struct msghdr *msg, struct kvec *vec,
/kernel/linux/linux-5.10/fs/cifs/
Dtransport.c275 struct kvec *iov; in smb_rqst_len()
320 struct kvec *iov; in __smb_send_rqst()
365 struct kvec hiov = { in __smb_send_rqst()
464 struct kvec iov; in smb_send_rqst()
509 struct kvec iov[2]; in smb_send()
866 struct kvec iov[1]; in SendReceiveNoRsp()
867 struct kvec rsp_iov; in SendReceiveNoRsp()
934 struct kvec iov[2]; in cifs_check_receive()
1034 int *resp_buf_type, struct kvec *resp_iov) in compound_send_recv()
1228 struct kvec iov = { in compound_send_recv()
[all …]
Dsmb2pdu.c744 add_posix_context(struct kvec *iov, unsigned int *num_iovec, umode_t mode) in add_posix_context()
786 struct kvec iov[1]; in SMB2_negotiate()
787 struct kvec rsp_iov; in SMB2_negotiate()
1174 struct kvec iov[2];
1252 struct kvec rsp_iov = { NULL, 0 }; in SMB2_sess_sendreceive()
1270 memcpy(&sess_data->iov[0], &rsp_iov, sizeof(struct kvec)); in SMB2_sess_sendreceive()
1637 struct kvec iov[1]; in SMB2_logoff()
1638 struct kvec rsp_iov; in SMB2_logoff()
1708 struct kvec iov[2]; in SMB2_tcon()
1709 struct kvec rsp_iov = { NULL, 0 }; in SMB2_tcon()
[all …]
Dsmb2proto.h149 struct kvec *err_iov, int *resp_buftype);
214 unsigned int *nbytes, struct kvec *iov, int n_vec);
280 struct kvec *iov, unsigned int min_buf_size);
283 struct kvec *iov,
290 struct kvec *iov, int nvec);
295 struct kvec *rsp, int *buftype,
Dsmb2transport.c220 struct kvec *iov = rqst->rq_iov; in smb2_calc_signature()
296 static int generate_key(struct cifs_ses *ses, struct kvec label, in generate_key()
297 struct kvec context, __u8 *key, unsigned int key_size) in generate_key()
385 struct kvec label;
386 struct kvec context;
539 struct kvec *iov = rqst->rq_iov; in smb3_calc_signature()
787 struct kvec iov[1]; in smb2_check_receive()
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 */);
457 unsigned int *nbytes, struct kvec *iov, const int nvec);
488 extern int cifs_sign_smbv(struct kvec *iov, int n_vec, struct TCP_Server_Info *,
616 int smb2_parse_query_directory(struct cifs_tcon *tcon, struct kvec *rsp_iov,
/kernel/linux/linux-5.10/fs/nfsd/
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,
Dxdr.h37 struct kvec first;
75 struct kvec first;
/kernel/linux/linux-5.10/fs/jffs2/
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()
Dos-linux.h20 struct kvec;
116 int jffs2_flash_writev(struct jffs2_sb_info *c, const struct kvec *vecs, unsigned long count, loff_…
190 int jffs2_flash_direct_writev(struct jffs2_sb_info *c, const struct kvec *vecs,
/kernel/linux/linux-5.10/lib/
Diov_iter.c48 __p = i->kvec; \
89 const struct kvec *kvec; \
90 struct kvec v; \
91 iterate_kvec(i, n, v, kvec, skip, (K)) \
115 const struct kvec *kvec; \
116 struct kvec v; \
117 iterate_kvec(i, n, v, kvec, skip, (K)) \
118 if (skip == kvec->iov_len) { \
119 kvec++; \
122 i->nr_segs -= kvec - i->kvec; \
[all …]
/kernel/linux/linux-5.10/drivers/target/iscsi/
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);
/kernel/linux/linux-5.10/drivers/xen/xenbus/
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()
/kernel/linux/linux-5.10/net/bluetooth/bnep/
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()
/kernel/linux/linux-5.10/net/qrtr/
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()
678 struct kvec iv; in qrtr_ns_worker()
/kernel/linux/linux-5.10/net/sunrpc/
Dxdr.c183 struct kvec *head = xdr->head; in xdr_inline_pages()
184 struct kvec *tail = xdr->tail; in xdr_inline_pages()
272 struct kvec *tail = buf->tail; in _shift_data_left_tail()
357 struct kvec *tail = buf->tail; in _shift_data_right_tail()
522 struct kvec *head, *tail; in xdr_shrink_bufhead()
669 struct kvec *iov = buf->head; in xdr_init_encode()
807 int xdr_reserve_space_vec(struct xdr_stream *xdr, struct kvec *vec, size_t nbytes) in xdr_reserve_space_vec()
862 struct kvec *head = buf->head; in xdr_truncate_encode()
863 struct kvec *tail = buf->tail; in xdr_truncate_encode()
950 struct kvec *iov = buf->tail; in xdr_write_pages()
[all …]
Dsvc.c1179 struct kvec *argv = &rqstp->rq_arg.head[0]; in svc_generic_dispatch()
1180 struct kvec *resv = &rqstp->rq_res.head[0]; in svc_generic_dispatch()
1272 svc_process_common(struct svc_rqst *rqstp, struct kvec *argv, struct kvec *resv) in svc_process_common()
1495 struct kvec *argv = &rqstp->rq_arg.head[0]; in svc_process()
1496 struct kvec *resv = &rqstp->rq_res.head[0]; in svc_process()
1542 struct kvec *argv = &rqstp->rq_arg.head[0]; in bc_svc_process()
1543 struct kvec *resv = &rqstp->rq_res.head[0]; in bc_svc_process()
1652 struct kvec *first, size_t total) in svc_fill_write_vector()
1654 struct kvec *vec = rqstp->rq_vec; in svc_fill_write_vector()
1692 char *svc_fill_symlink_pathname(struct svc_rqst *rqstp, struct kvec *first, in svc_fill_symlink_pathname()
Dsocklib.c214 struct kvec *vec, size_t seek) in xprt_send_kvec()
240 rpc_fraghdr marker, struct kvec *vec, in xprt_send_rm_and_kvec()
243 struct kvec iov[2] = { in xprt_send_rm_and_kvec()
/kernel/linux/linux-5.10/net/sunrpc/auth_gss/
Dsvcauth_gss.c674 svc_safe_getnetobj(struct kvec *argv, struct xdr_netobj *o) in svc_safe_getnetobj()
691 svc_safe_putnetobj(struct kvec *resv, struct xdr_netobj *o) in svc_safe_putnetobj()
720 struct kvec *argv = &rqstp->rq_arg.head[0]; in gss_verify_header()
721 struct kvec iov; in gss_verify_header()
776 struct kvec iov; in gss_write_verf()
1080 struct kvec *argv, __be32 *authp, in gss_read_common_verf()
1104 struct kvec *argv, __be32 *authp, in gss_read_verf()
1149 struct kvec *argv = &rqstp->rq_arg.head[0]; in gss_read_proxy_verf()
1203 gss_write_resv(struct kvec *resv, size_t size_limit, in gss_write_resv()
1232 struct kvec *argv = &rqstp->rq_arg.head[0]; in svcauth_gss_legacy_init()
[all …]

123456