Home
last modified time | relevance | path

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

1234567

/linux-6.1.9/include/linux/sunrpc/
Dsvc.h196 static inline u32 svc_getnl(struct kvec *iov) in svc_getnl()
206 static inline void svc_putnl(struct kvec *iov, u32 val) in svc_putnl()
213 static inline __be32 svc_getu32(struct kvec *iov) in svc_getu32()
223 static inline void svc_ungetu32(struct kvec *iov) in svc_ungetu32()
230 static inline void svc_putu32(struct kvec *iov, __be32 val) in svc_putu32()
271 struct kvec rq_vec[RPCSVC_MAXPAGES]; /* generally useful.. */
363 struct kvec *vec = &rqstp->rq_arg.head[0]; in xdr_argsize_check()
371 struct kvec *vec = &rqstp->rq_res.head[0]; in xdr_ressize_check()
517 struct kvec *first, void *p,
559 struct kvec *argv = buf->head; in svcxdr_init_decode()
[all …]
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 */
246 extern int xdr_reserve_space_vec(struct xdr_stream *xdr, struct kvec *vec,
/linux-6.1.9/fs/9p/
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()
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()
112 iov_iter_kvec(&to, READ, &kvec, 1, buflen); in v9fs_dir_readdir()
/linux-6.1.9/fs/ksmbd/
Dauth.h37 struct kvec;
39 int ksmbd_crypt_message(struct ksmbd_work *work, struct kvec *iov,
55 int ksmbd_sign_smb2_pdu(struct ksmbd_conn *conn, char *key, struct kvec *iov,
57 int ksmbd_sign_smb3_pdu(struct ksmbd_conn *conn, char *key, struct kvec *iov,
Dtransport_tcp.c36 struct kvec *iov;
116 static unsigned int kvec_array_init(struct kvec *new, struct kvec *iov, in kvec_array_init()
146 static struct kvec *get_conn_iovec(struct tcp_transport *t, unsigned int nr_segs) in get_conn_iovec()
148 struct kvec *new_iov; in get_conn_iovec()
302 static int ksmbd_tcp_readv(struct tcp_transport *t, struct kvec *iov_orig, in ksmbd_tcp_readv()
309 struct kvec *iov; in ksmbd_tcp_readv()
363 struct kvec iov; in ksmbd_tcp_read()
371 static int ksmbd_tcp_writev(struct ksmbd_transport *t, struct kvec *iov, in ksmbd_tcp_writev()
Dconnection.c172 struct kvec iov[3]; in ksmbd_conn_write()
181 iov[iov_idx] = (struct kvec) { work->tr_buf, in ksmbd_conn_write()
187 iov[iov_idx] = (struct kvec) { work->response_buf, work->resp_hdr_sz }; in ksmbd_conn_write()
189 iov[iov_idx] = (struct kvec) { work->aux_payload_buf, work->aux_payload_sz }; in ksmbd_conn_write()
/linux-6.1.9/arch/s390/mm/
Dmaccess.c127 struct kvec kvec; in memcpy_real() local
129 kvec.iov_base = dest; in memcpy_real()
130 kvec.iov_len = count; in memcpy_real()
131 iov_iter_kvec(&iter, WRITE, &kvec, 1, count); in memcpy_real()
/linux-6.1.9/arch/x86/kernel/
Dcrash_dump_64.c57 struct kvec kvec = { .iov_base = buf, .iov_len = count }; in elfcorehdr_read() local
60 iov_iter_kvec(&iter, READ, &kvec, 1, count); in elfcorehdr_read()
/linux-6.1.9/drivers/s390/char/
Dzcore.c102 struct kvec kvec; in memcpy_hsa_kernel() local
104 kvec.iov_base = dst; in memcpy_hsa_kernel()
105 kvec.iov_len = count; in memcpy_hsa_kernel()
106 iov_iter_kvec(&iter, WRITE, &kvec, 1, count); in memcpy_hsa_kernel()
/linux-6.1.9/fs/cifs/
Dsmb2pdu.c829 add_posix_context(struct kvec *iov, unsigned int *num_iovec, umode_t mode) in add_posix_context()
873 struct kvec iov[1]; in SMB2_negotiate()
874 struct kvec rsp_iov; in SMB2_negotiate()
1271 struct kvec iov[2];
1347 struct kvec *iov = sess_data->iov; in SMB2_sess_free_buffer()
1363 struct kvec rsp_iov = { NULL, 0 }; in SMB2_sess_sendreceive()
1381 memcpy(&sess_data->iov[0], &rsp_iov, sizeof(struct kvec)); in SMB2_sess_sendreceive()
1764 struct kvec iov[1]; in SMB2_logoff()
1765 struct kvec rsp_iov; in SMB2_logoff()
1839 struct kvec iov[2]; in SMB2_tcon()
[all …]
Dsmb2proto.h94 int smb2_parse_symlink_response(struct cifs_sb_info *cifs_sb, const struct kvec *iov, char **path);
127 struct kvec *err_iov, int *resp_buftype);
193 unsigned int *nbytes, struct kvec *iov, int n_vec);
259 struct kvec *iov, unsigned int min_buf_size);
262 struct kvec *iov,
270 struct kvec *iov, int nvec);
275 struct kvec *rsp, int *buftype,
Dtransport.c256 struct kvec *iov; in smb_rqst_len()
301 struct kvec *iov; in __smb_send_rqst()
346 struct kvec hiov = { in __smb_send_rqst()
445 struct kvec iov; in smb_send_rqst()
489 struct kvec iov[2]; in smb_send()
889 struct kvec iov[1]; in SendReceiveNoRsp()
890 struct kvec rsp_iov; in SendReceiveNoRsp()
957 struct kvec iov[2]; in cifs_check_receive()
1055 int *resp_buf_type, struct kvec *resp_iov) in compound_send_recv()
1259 struct kvec iov = { in compound_send_recv()
[all …]
Dsmb2inode.c41 struct kvec rsp_iov[3];
43 struct kvec open_iov[SMB2_CREATE_IOV_SIZE];
44 struct kvec qi_iov[1];
45 struct kvec si_iov[SMB2_SET_INFO_IOV_SIZE];
46 struct kvec close_iov[1];
62 struct kvec *err_iov, int *err_buftype) in smb2_compound_op()
65 struct kvec *rsp_iov; in smb2_compound_op()
517 struct kvec err_iov[3] = {}; in smb2_query_path_info()
595 struct kvec err_iov[3] = {}; in smb311_posix_query_path_info()
/linux-6.1.9/fs/nfsd/
Dvfs.h114 struct kvec *vec, int vlen,
118 loff_t, struct kvec *, int, unsigned long *,
121 struct kvec *, int, unsigned long *,
125 struct kvec *vec, int vlen, unsigned long *cnt,
/linux-6.1.9/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()
/linux-6.1.9/include/crypto/internal/
Dkdf_selftest.h18 struct kvec info;
29 const struct kvec *info, in kdf_test()
/linux-6.1.9/net/sunrpc/
Dxdr.c181 struct kvec *head = xdr->head; in xdr_inline_pages()
182 struct kvec *tail = xdr->tail; in xdr_inline_pages()
425 static void xdr_buf_iov_zero(const struct kvec *iov, unsigned int base, in xdr_buf_iov_zero()
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()
553 const struct kvec *tail = buf->tail; in xdr_buf_pages_copy_right()
586 const struct kvec *head = buf->head; in xdr_buf_head_copy_right()
587 const struct kvec *tail = buf->tail; in xdr_buf_head_copy_right()
633 const struct kvec *tail = buf->tail; in xdr_buf_tail_shift_right()
[all …]
/linux-6.1.9/include/linux/
Duio.h16 struct kvec { struct
50 const struct kvec *kvec; member
241 void iov_iter_kvec(struct iov_iter *i, unsigned int direction, const struct kvec *kvec,
Dvringh.h101 struct kvec *iov;
179 struct kvec *kvec, unsigned num) in vringh_kiov_init() argument
184 kiov->iov = kvec; in vringh_kiov_init()
Dnet.h240 struct kvec;
327 int kernel_sendmsg(struct socket *sock, struct msghdr *msg, struct kvec *vec,
330 struct kvec *vec, size_t num, size_t len);
331 int kernel_recvmsg(struct socket *sock, struct msghdr *msg, struct kvec *vec,
/linux-6.1.9/include/linux/ceph/
Dmessenger.h239 struct kvec front; /* unaligned blobs of message */
292 struct kvec out_kvec[8], /* sending header/footer data */
359 struct kvec in_kvecs[5]; /* recvmsg */
365 struct kvec out_kvecs[8]; /* sendmsg */
399 struct kvec in_sign_kvecs[8];
400 struct kvec out_sign_kvecs[8];
/linux-6.1.9/drivers/target/iscsi/
Discsi_target_util.h66 extern int rx_data(struct iscsit_conn *, struct kvec *, int, int);
67 extern int tx_data(struct iscsit_conn *, struct kvec *, int, int);
/linux-6.1.9/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()
/linux-6.1.9/fs/proc/
Dvmcore.c199 struct kvec kvec = { .iov_base = buf, .iov_len = count }; in elfcorehdr_read() local
202 iov_iter_kvec(&iter, READ, &kvec, 1, count); in elfcorehdr_read()
212 struct kvec kvec = { .iov_base = buf, .iov_len = count }; in elfcorehdr_read_notes() local
215 iov_iter_kvec(&iter, READ, &kvec, 1, count); in elfcorehdr_read_notes()
428 struct kvec kvec; in mmap_vmcore_fault() local
438 kvec.iov_base = page_address(page); in mmap_vmcore_fault()
439 kvec.iov_len = PAGE_SIZE; in mmap_vmcore_fault()
440 iov_iter_kvec(&iter, READ, &kvec, 1, PAGE_SIZE); in mmap_vmcore_fault()

1234567