Searched refs:kvec (Results 1 - 125 of 125) sorted by relevance

/linux-4.4.14/fs/jffs2/
H A Dwritev.c16 int jffs2_flash_direct_writev(struct jffs2_sb_info *c, const struct kvec *vecs, jffs2_flash_direct_writev()
39 struct kvec vecs[1]; jffs2_flash_direct_write()
H A Dos-linux.h20 struct kvec;
115 int jffs2_flash_writev(struct jffs2_sb_info *c, const struct kvec *vecs, unsigned long count, loff_t to, size_t *retlen, uint32_t ino);
192 int jffs2_flash_direct_writev(struct jffs2_sb_info *c, const struct kvec *vecs,
H A Dsummary.h181 int jffs2_sum_add_kvec(struct jffs2_sb_info *c, const struct kvec *invecs,
H A Dsummary.c248 int jffs2_sum_add_kvec(struct jffs2_sb_info *c, const struct kvec *invecs, jffs2_sum_add_kvec()
680 struct kvec vecs[2]; jffs2_sum_write_data()
H A Dwrite.c67 struct kvec vecs[2]; jffs2_write_dnode()
211 struct kvec vecs[2]; jffs2_write_dirent()
H A Dwbuf.c794 int jffs2_flash_writev(struct jffs2_sb_info *c, const struct kvec *invecs, jffs2_flash_writev()
939 * Check, if we work on NAND FLASH, if so build an kvec and write it via vritev
944 struct kvec vecs[1]; jffs2_flash_write()
H A Derase.c451 struct kvec vecs[1]; jffs2_mark_erased_block()
H A Dxattr.c288 struct kvec vecs[2]; save_xattr_datum()
/linux-4.4.14/fs/9p/
H A Dxattr.c31 struct kvec kvec = {.iov_base = buffer, .iov_len = buffer_size}; v9fs_fid_xattr_get() local
35 iov_iter_kvec(&to, READ | ITER_KVEC, &kvec, 1, buffer_size); v9fs_fid_xattr_get()
108 struct kvec kvec = {.iov_base = (void *)value, .iov_len = value_len}; v9fs_fid_xattr_set() local
112 iov_iter_kvec(&from, WRITE | ITER_KVEC, &kvec, 1, value_len); v9fs_fid_xattr_set()
H A Dvfs_dir.c119 struct kvec kvec; v9fs_dir_readdir() local
129 kvec.iov_base = rdir->buf; v9fs_dir_readdir()
130 kvec.iov_len = buflen; v9fs_dir_readdir()
136 iov_iter_kvec(&to, READ | ITER_KVEC, &kvec, 1, buflen); v9fs_dir_readdir()
/linux-4.4.14/include/linux/ceph/
H A Dbuffer.h17 struct kvec vec;
H A Dmessenger.h150 struct kvec front; /* unaligned blobs of message */
228 struct kvec out_kvec[8], /* sending header/footer data */
230 int out_kvec_left; /* kvec's left in out_kvec */
/linux-4.4.14/lib/
H A Diov_iter.c38 __p = i->kvec; \
91 const struct kvec *kvec; \
92 struct kvec v; \
93 iterate_kvec(i, n, v, kvec, skip, (K)) \
114 const struct kvec *kvec; \
115 struct kvec v; \
116 iterate_kvec(i, n, v, kvec, skip, (K)) \
117 if (skip == kvec->iov_len) { \
118 kvec++; \
121 i->nr_segs -= kvec - i->kvec; \
122 i->kvec = kvec; \
354 i->kvec = (struct kvec *)iov; iov_iter_init()
530 const struct kvec *kvec, unsigned long nr_segs, iov_iter_kvec()
535 i->kvec = kvec; iov_iter_kvec()
789 /* iovec and kvec have identical layout */ dup_iter()
529 iov_iter_kvec(struct iov_iter *i, int direction, const struct kvec *kvec, unsigned long nr_segs, size_t count) iov_iter_kvec() argument
/linux-4.4.14/include/linux/
H A Duio.h17 struct kvec { struct
34 const struct kvec *kvec; member in union:iov_iter::__anon13255
92 void iov_iter_kvec(struct iov_iter *i, int direction, const struct kvec *kvec,
H A Dvringh.h97 * struct vringh_iov - kvec mangler.
99 * Mangles kvec in place, and restores it.
103 struct kvec *iov;
181 struct kvec *kvec, unsigned num) vringh_kiov_init()
186 kiov->iov = kvec; vringh_kiov_init()
180 vringh_kiov_init(struct vringh_kiov *kiov, struct kvec *kvec, unsigned num) vringh_kiov_init() argument
H A Dnet.h201 struct kvec;
270 int kernel_sendmsg(struct socket *sock, struct msghdr *msg, struct kvec *vec,
272 int kernel_recvmsg(struct socket *sock, struct msghdr *msg, struct kvec *vec,
H A Dmm.h1256 struct kvec;
1257 int get_kernel_pages(const struct kvec *iov, int nr_pages, int write,
/linux-4.4.14/include/linux/sunrpc/
H A Dxdr.h56 struct kvec head[1], /* RPC header + non-page data */
141 * Adjust kvec to reflect end of xdr'ed data (RPC client XDR)
144 xdr_adjust_iovec(struct kvec *iov, __be32 *p) xdr_adjust_iovec()
153 extern void xdr_buf_from_iov(struct kvec *, struct xdr_buf *);
204 struct kvec *iov; /* pointer to the current kvec */
205 struct kvec scratch; /* Scratch buffer */
H A Dsvc.h168 * The xdr_buf.head kvec always points to the first page in the rq_*pages
182 static inline u32 svc_getnl(struct kvec *iov) svc_getnl()
192 static inline void svc_putnl(struct kvec *iov, u32 val) svc_putnl()
199 static inline __be32 svc_getu32(struct kvec *iov) svc_getu32()
209 static inline void svc_ungetu32(struct kvec *iov) svc_ungetu32()
216 static inline void svc_putu32(struct kvec *iov, __be32 val) svc_putu32()
254 struct kvec rq_vec[RPCSVC_MAXPAGES]; /* generally useful.. */
337 struct kvec *vec = &rqstp->rq_arg.head[0]; xdr_argsize_check()
345 struct kvec *vec = &rqstp->rq_res.head[0]; xdr_ressize_check()
H A Dsvc_rdma.h117 struct kvec sge[RPCSVC_MAXPAGES];
/linux-4.4.14/drivers/staging/lustre/lnet/klnds/socklnd/
H A Dsocklnd_lib.c93 struct kvec scratch; ksocknal_lib_send_iov()
94 struct kvec *scratchiov = &scratch; ksocknal_lib_send_iov()
97 struct kvec *scratchiov = conn->ksnc_scheduler->kss_scratch_iov; ksocknal_lib_send_iov()
153 struct kvec scratch; ksocknal_lib_send_kiov()
154 struct kvec *scratchiov = &scratch; ksocknal_lib_send_kiov()
160 struct kvec *scratchiov = conn->ksnc_scheduler->kss_scratch_iov; ksocknal_lib_send_kiov()
176 rc = kernel_sendmsg(sock, &msg, (struct kvec *)scratchiov, niov, nob); ksocknal_lib_send_kiov()
203 struct kvec scratch; ksocknal_lib_recv_iov()
204 struct kvec *scratchiov = &scratch; ksocknal_lib_recv_iov()
207 struct kvec *scratchiov = conn->ksnc_scheduler->kss_scratch_iov; ksocknal_lib_recv_iov()
210 struct kvec *iov = conn->ksnc_rx_iov; ksocknal_lib_recv_iov()
269 struct kvec *iov, struct page **pages) ksocknal_lib_kiov_vmap()
307 struct kvec scratch; ksocknal_lib_recv_kiov()
308 struct kvec *scratchiov = &scratch; ksocknal_lib_recv_kiov()
315 struct kvec *scratchiov = conn->ksnc_scheduler->kss_scratch_iov; ksocknal_lib_recv_kiov()
351 (struct kvec *)scratchiov, n, nob, MSG_DONTWAIT); ksocknal_lib_recv_kiov()
H A Dsocklnd.h93 struct kvec kss_scratch_iov[LNET_MAX_IOV];
263 struct kvec *tx_iov; /* packet iovec frags */
278 struct kvec iov; /* virt hdr */
282 struct kvec iov[1]; /* virt hdr + payload */
294 struct kvec iov[LNET_MAX_IOV];
340 struct kvec *ksnc_rx_iov; /* the iovec frags */
620 struct kvec *iov, lnet_kiov_t *kiov,
H A Dsocklnd_cb.c112 struct kvec *iov = tx->tx_iov; ksocknal_send_iov()
253 struct kvec *iov = conn->ksnc_rx_iov; ksocknal_recv_iov()
927 struct kvec *payload_iov = lntmsg->msg_iov; ksocknal_send()
1048 conn->ksnc_rx_iov = (struct kvec *)&conn->ksnc_rx_iov_space; ksocknal_new_packet()
1062 conn->ksnc_rx_iov = (struct kvec *)&conn->ksnc_rx_iov_space; ksocknal_new_packet()
1083 conn->ksnc_rx_iov = (struct kvec *)&conn->ksnc_rx_iov_space; ksocknal_new_packet()
1213 conn->ksnc_rx_iov = (struct kvec *)&conn->ksnc_rx_iov_space; ksocknal_process_receive()
1312 unsigned int niov, struct kvec *iov, lnet_kiov_t *kiov, ksocknal_recv()
/linux-4.4.14/fs/nfsd/
H A Dvfs.h77 __be32 nfsd_readv(struct file *, loff_t, struct kvec *, int,
80 loff_t, struct kvec *, int, unsigned long *);
82 loff_t, struct kvec *,int, unsigned long *, int *);
85 struct kvec *vec, int vlen, unsigned long *cnt,
H A Dcache.h35 struct kvec u_vec;
H A Dnfscache.c65 static int nfsd_cache_append(struct svc_rqst *rqstp, struct kvec *vec);
513 struct kvec *resv = &rqstp->rq_res.head[0], *cachv; nfsd_cache_update()
571 nfsd_cache_append(struct svc_rqst *rqstp, struct kvec *data) nfsd_cache_append()
573 struct kvec *vec = &rqstp->rq_res.head[0]; nfsd_cache_append()
H A Dnfs2acl.c197 struct kvec *head = rqstp->rq_arg.head; nfsaclsvc_decode_setaclargs()
259 struct kvec *head = rqstp->rq_res.head; nfsaclsvc_encode_getaclres()
H A Dnfs3acl.c143 struct kvec *head = rqstp->rq_arg.head; nfs3svc_decode_setaclargs()
179 struct kvec *head = rqstp->rq_res.head; nfs3svc_encode_getaclres()
H A Dvfs.c850 __be32 nfsd_readv(struct file *file, loff_t offset, struct kvec *vec, int vlen, nfsd_readv()
865 loff_t offset, struct kvec *vec, int vlen, unsigned long *count) nfsd_vfs_read()
912 loff_t offset, struct kvec *vec, int vlen, nfsd_vfs_write()
980 loff_t offset, struct kvec *vec, int vlen, unsigned long *count) nfsd_read()
1006 loff_t offset, struct kvec *vec, int vlen, unsigned long *cnt, nfsd_write()
H A Dnfs3xdr.c341 /* set up the kvec */ nfs3svc_decode_readargs()
453 struct kvec *vec; nfs3svc_decode_symlinkargs()
H A Dxdr4.h391 struct kvec wr_head;
H A Dnfs4proc.c958 static int fill_in_write_vector(struct kvec *vec, struct nfsd4_write *write) fill_in_write_vector()
1579 struct kvec *head = buf->head; svcxdr_init_encode()
/linux-4.4.14/drivers/staging/lustre/include/linux/lnet/
H A Dlib-lnet.h547 unsigned int lnet_iov_nob(unsigned int niov, struct kvec *iov);
548 int lnet_extract_iov(int dst_niov, struct kvec *dst,
549 int src_niov, struct kvec *src,
557 void lnet_copy_iov2iov(unsigned int ndiov, struct kvec *diov,
559 unsigned int nsiov, struct kvec *siov,
561 void lnet_copy_kiov2iov(unsigned int niov, struct kvec *iov,
567 unsigned int niov, struct kvec *iov,
576 unsigned int nsiov, struct kvec *siov, unsigned int soffset, lnet_copy_iov2flat()
579 struct kvec diov = {/*.iov_base = */ dest, /*.iov_len = */ dlen}; lnet_copy_iov2flat()
590 struct kvec diov = {/* .iov_base = */ dest, /* .iov_len = */ dlen}; lnet_copy_kiov2flat()
597 lnet_copy_flat2iov(unsigned int ndiov, struct kvec *diov, unsigned int doffset, lnet_copy_flat2iov()
600 struct kvec siov = {/*.iov_base = */ src, /*.iov_len = */slen}; lnet_copy_flat2iov()
611 struct kvec siov = {/* .iov_base = */ src, /* .iov_len = */ slen}; lnet_copy_flat2kiov()
H A Dlib-types.h103 struct kvec *msg_iov;
157 struct kvec iov[LNET_MAX_IOV];
218 struct kvec *iov, lnet_kiov_t *kiov,
/linux-4.4.14/drivers/target/iscsi/
H A Discsi_target_util.h55 extern int rx_data(struct iscsi_conn *, struct kvec *, int, int);
56 extern int tx_data(struct iscsi_conn *, struct kvec *, int, int);
H A Discsi_target_util.c1107 struct kvec *iov; iscsit_send_tx_data()
1138 struct kvec iov; iscsit_fe_sendpage_sg()
1202 struct kvec *iov_p = &cmd->iov_data[iov_off++]; iscsit_fe_sendpage_sg()
1216 struct kvec *iov_d = &cmd->iov_data[iov_off]; iscsit_fe_sendpage_sg()
1307 struct kvec *iov_p; iscsit_do_tx_data()
1337 struct kvec *iov, rx_data()
1357 struct kvec *iov, tx_data()
H A Discsi_target.c729 struct kvec *iov, iscsit_map_iovec()
810 cmd->iov_data = kzalloc(iov_count * sizeof(struct kvec), GFP_KERNEL); iscsit_allocate_iovecs()
1386 struct kvec *iov; iscsit_get_dataout()
1638 struct kvec *iov = NULL; iscsit_handle_nop_out()
2071 struct kvec iov[3]; iscsit_handle_text_cmd()
2081 memset(iov, 0, 3 * sizeof(struct kvec)); iscsit_handle_text_cmd()
2408 struct kvec *iov; iscsit_handle_immediate_data()
2634 struct kvec *iov; iscsit_send_datain()
2844 struct kvec *iov; iscsit_send_logout()
2952 struct kvec *iov; iscsit_send_nopin()
3205 struct kvec *iov; iscsit_send_response()
3584 struct kvec *iov; iscsit_send_text_rsp()
3655 struct kvec *iov; iscsit_send_reject()
4094 struct kvec iov; iscsi_target_rx_thread()
4127 memset(&iov, 0, sizeof(struct kvec)); iscsi_target_rx_thread()
H A Discsi_target_parameters.c31 struct kvec iov; iscsi_login_rx_data()
33 memset(&iov, 0, sizeof(struct kvec)); iscsi_login_rx_data()
54 struct kvec iov[2]; iscsi_login_tx_data()
58 memset(&iov[0], 0, 2 * sizeof(struct kvec)); iscsi_login_tx_data()
H A Discsi_target_erl1.c53 struct kvec iov; iscsit_dump_data_payload()
66 memset(&iov, 0, sizeof(struct kvec)); iscsit_dump_data_payload()
/linux-4.4.14/fs/ncpfs/
H A Dsock.c39 struct kvec iov = {buf, size}; _recv()
43 static inline int do_send(struct socket *sock, struct kvec *vec, int count, do_send()
52 struct kvec vec; _send()
66 struct kvec* tx_ciov;
69 struct kvec tx_iov[3];
208 struct kvec vec[3]; ncpdgram_send()
218 struct kvec *iov; __ncptcp_try_send()
219 struct kvec iovc[3]; __ncptcp_try_send()
367 struct kvec iov[2]; info_server()
/linux-4.4.14/fs/cifs/
H A Dtransport.c128 * @n_vec: length of kvec array
135 smb_send_kvec(struct TCP_Server_Info *server, struct kvec *iov, size_t n_vec, smb_send_kvec()
242 * rqst_page_to_kvec - Turn a slot in the smb_rqst page array into a kvec
245 * @iov: pointer to struct kvec that will hold the result
247 * Helper function to convert a slot in the rqst->rq_pages array into a kvec.
253 struct kvec *iov) cifs_rqst_page_to_kvec()
277 struct kvec *iov = rqst->rq_iov; rqst_len()
297 struct kvec *iov = rqst->rq_iov; smb_send_rqst()
332 struct kvec p_iov; smb_send_rqst()
370 smb_sendv(struct TCP_Server_Info *server, struct kvec *iov, int n_vec) smb_sendv()
382 struct kvec iov; smb_send()
607 struct kvec iov[1]; SendReceiveNoRsp()
672 struct kvec iov; cifs_check_receive()
711 struct kvec *iov, int n_vec, int *resp_buf_type /* ret */, SendReceive2()
H A Dsmb2transport.c141 struct kvec *iov = rqst->rq_iov; smb2_calc_signature()
207 struct kvec p_iov; smb2_calc_signature()
312 struct kvec *iov = rqst->rq_iov; smb3_calc_signature()
378 struct kvec p_iov; smb3_calc_signature()
551 struct kvec iov; smb2_check_receive()
H A Dsmb2pdu.c381 struct kvec iov[1]; SMB2_negotiate()
586 struct kvec iov[2]; SMB2_sess_setup()
908 struct kvec iov[2]; SMB2_tcon()
1136 add_lease_context(struct TCP_Server_Info *server, struct kvec *iov, add_lease_context()
1221 add_durable_v2_context(struct kvec *iov, unsigned int *num_iovec, add_durable_v2_context()
1242 add_durable_reconnect_v2_context(struct kvec *iov, unsigned int *num_iovec, add_durable_reconnect_v2_context()
1268 add_durable_context(struct kvec *iov, unsigned int *num_iovec, add_durable_context()
1311 struct kvec iov[4]; SMB2_open()
1458 struct kvec iov[2]; SMB2_ioctl()
1620 struct kvec iov[1]; SMB2_close()
1721 struct kvec iov[2]; query_info()
1817 struct kvec iov; SMB2_echo()
1849 struct kvec iov[1]; SMB2_flush()
1885 smb2_new_read_req(struct kvec *iov, struct cifs_io_parms *io_parms, smb2_new_read_req()
2068 struct kvec iov[1]; SMB2_read()
2177 struct kvec iov; smb2_async_writev()
2250 * SMB2_write function gets iov pointer to kvec array with n_vec as a length.
2257 unsigned int *nbytes, struct kvec *iov, int n_vec) SMB2_write()
2360 struct kvec iov[2]; SMB2_query_directory()
2484 struct kvec *iov; send_set_info()
2499 iov = kmalloc(sizeof(struct kvec) * num, GFP_KERNEL); send_set_info()
2701 build_qfs_info_req(struct kvec *iov, struct cifs_tcon *tcon, int level, build_qfs_info_req()
2737 struct kvec iov; SMB2_QFS_info()
2774 struct kvec iov; SMB2_QFS_attr()
2839 struct kvec iov[2]; smb2_lockv()
H A Dcifsproto.h41 struct kvec *iov);
97 struct kvec *, int /* nvec to send */,
186 struct kvec *iov_orig, unsigned int nr_segs,
399 unsigned int *nbytes, struct kvec *iov, const int nvec);
430 extern int cifs_sign_smbv(struct kvec *iov, int n_vec, struct TCP_Server_Info *,
H A Dcifsencrypt.c80 struct kvec *iov = rqst->rq_iov; cifs_calc_signature()
136 struct kvec p_iov; cifs_calc_signature()
187 int cifs_sign_smbv(struct kvec *iov, int n_vec, struct TCP_Server_Info *server, cifs_sign_smbv()
200 struct kvec iov; cifs_sign_smb()
H A Dsmb2proto.h135 unsigned int *nbytes, struct kvec *iov, int n_vec);
H A Dcifsglob.h156 * formed by a kvec array, followed by an array of pages. Page data is assumed
160 struct kvec *rq_iov; /* array of kvecs */
335 struct cifs_io_parms *, unsigned int *, struct kvec *,
615 struct kvec *iov; /* reusable kvec array for receives */
1086 struct kvec iov;
H A Dconnect.c502 * kvec_array_init - clone a kvec array, and advance into it
514 kvec_array_init(struct kvec *new, struct kvec *iov, unsigned int nr_segs, kvec_array_init()
536 static struct kvec * get_server_iovec()
539 struct kvec *new_iov; get_server_iovec()
555 cifs_readv_from_socket(struct TCP_Server_Info *server, struct kvec *iov_orig, cifs_readv_from_socket()
562 struct kvec *iov; cifs_readv_from_socket()
617 struct kvec iov; cifs_read_from_socket()
H A Dlink.c485 struct kvec iov[2]; smb3_create_mf_symlink()
H A Dsess.c547 struct kvec iov[3];
1122 * The required kvec buffers have to be allocated before calling this
H A Dcifssmb.c710 struct kvec iov; CIFSSMBEcho()
1673 struct kvec iov[1]; CIFSSMBRead()
2106 struct kvec iov; cifs_async_writev()
2183 unsigned int *nbytes, struct kvec *iov, int n_vec) CIFSSMBWrite2()
2291 struct kvec iov[2]; cifs_lockv()
2413 struct kvec iov[1]; CIFSSMBPosixLock()
3830 struct kvec iov[1]; CIFSSMBGetCIFSACL()
H A Ddir.c586 struct kvec iov[2]; cifs_mknod()
H A Dsmb1ops.c757 struct kvec *iov, unsigned long nr_segs) cifs_sync_write()
H A Dsmb2ops.c735 struct kvec *iov, unsigned long nr_segs) smb2_sync_write()
H A Dfile.c1665 struct kvec iov[2]; cifs_write()
2858 struct kvec iov; cifs_uncached_read_into_pages()
3306 struct kvec iov; cifs_readpages_read_into_pages()
/linux-4.4.14/net/bluetooth/bnep/
H A Dcore.c74 struct kvec iv = { data, len }; bnep_send()
426 struct kvec iv[3]; bnep_tx_frame()
437 iv[il++] = (struct kvec) { &type, 1 }; bnep_tx_frame()
452 iv[il++] = (struct kvec) { eh->h_source, ETH_ALEN }; bnep_tx_frame()
457 iv[il++] = (struct kvec) { eh->h_dest, ETH_ALEN }; bnep_tx_frame()
463 iv[il++] = (struct kvec) { skb->data, skb->len }; bnep_tx_frame()
/linux-4.4.14/net/sunrpc/
H A Dxdr.c135 struct kvec *head = xdr->head; xdr_inline_pages()
136 struct kvec *tail = xdr->tail; xdr_inline_pages()
311 * Shrinks XDR buffer's header kvec buf->head[0] by
318 struct kvec *head, *tail; xdr_shrink_bufhead()
394 struct kvec *tail; xdr_shrink_pagelen()
454 * scratch buffer in the xdr_buf's header kvec. Previously this
457 * of the buffer length, and takes care of adjusting the kvec
462 struct kvec *iov = buf->head; xdr_init_encode()
560 * adjust the length of the current kvec.
606 struct kvec *head = buf->head; xdr_truncate_encode()
607 struct kvec *tail = buf->tail; xdr_truncate_encode()
695 struct kvec *iov = buf->tail; xdr_write_pages()
718 static void xdr_set_iov(struct xdr_stream *xdr, struct kvec *iov, xdr_set_iov()
905 struct kvec *iov; xdr_align_pages()
946 struct kvec *iov; xdr_read_pages()
996 static struct kvec empty_iov = {.iov_base = NULL, .iov_len = 0};
999 xdr_buf_from_iov(struct kvec *iov, struct xdr_buf *buf) xdr_buf_from_iov()
H A Dsvcauth_unix.c727 struct kvec *argv = &rqstp->rq_arg.head[0]; svcauth_null_accept()
728 struct kvec *resv = &rqstp->rq_res.head[0]; svcauth_null_accept()
791 struct kvec *argv = &rqstp->rq_arg.head[0]; svcauth_unix_accept()
792 struct kvec *resv = &rqstp->rq_res.head[0]; svcauth_unix_accept()
H A Dsvcsock.c317 static int svc_recvfrom(struct svc_rqst *rqstp, struct kvec *iov, int nr, svc_recvfrom()
344 struct kvec *iov, int nr, svc_partial_recvfrom()
1002 struct kvec iov; svc_tcp_recv_record()
1039 struct kvec *src, *dst; receive_cb_reply()
1080 static int copy_pages_to_kvecs(struct kvec *vec, struct page **pages, int len) copy_pages_to_kvecs()
1113 struct kvec *vec; svc_tcp_recvfrom()
1218 /* Set up the first element of the reply kvec. svc_tcp_sendto()
1245 struct kvec *resv = &rqstp->rq_res.head[0]; svc_tcp_prep_reply_hdr()
H A Dsvc.c1069 svc_process_common(struct svc_rqst *rqstp, struct kvec *argv, struct kvec *resv) svc_process_common()
1297 struct kvec *argv = &rqstp->rq_arg.head[0]; svc_process()
1298 struct kvec *resv = &rqstp->rq_res.head[0]; svc_process()
1348 struct kvec *argv = &rqstp->rq_arg.head[0]; bc_svc_process()
1349 struct kvec *resv = &rqstp->rq_res.head[0]; bc_svc_process()
H A Dxprtsock.c326 static int xs_send_kvec(struct socket *sock, struct sockaddr *addr, int addrlen, struct kvec *vec, unsigned int base, int more) xs_send_kvec()
333 struct kvec iov = { xs_send_kvec()
H A Dclnt.c2239 struct kvec *iov = &task->tk_rqstp->rq_rcv_buf.head[0]; rpc_verify_header()
/linux-4.4.14/drivers/usb/usbip/
H A Dvhci_tx.c69 struct kvec iov[3]; vhci_send_cmd_submit()
158 struct kvec iov[3]; vhci_send_cmd_unlink()
H A Dstub_tx.c170 struct kvec *iov = NULL; stub_send_ret_submit()
182 iov = kcalloc(iovnum, sizeof(struct kvec), GFP_KERNEL); stub_send_ret_submit()
312 struct kvec iov[1]; stub_send_ret_unlink()
H A Dusbip_common.c329 struct kvec iov; usbip_recv()
/linux-4.4.14/drivers/isdn/mISDN/
H A Dl1oip.h79 struct kvec sendiov; /* iov for message */
H A Dl1oip_core.c726 struct kvec iov = { l1oip_socket_thread()
/linux-4.4.14/drivers/staging/lustre/lnet/lnet/
H A Dlo.c50 struct kvec *iov, lnet_kiov_t *kiov, lolnd_recv()
H A Dlib-move.c161 lnet_iov_nob(unsigned int niov, struct kvec *iov) lnet_iov_nob()
173 lnet_copy_iov2iov(unsigned int ndiov, struct kvec *diov, unsigned int doffset, lnet_copy_iov2iov()
174 unsigned int nsiov, struct kvec *siov, unsigned int soffset, lnet_copy_iov2iov()
232 lnet_extract_iov(int dst_niov, struct kvec *dst, lnet_extract_iov()
233 int src_niov, struct kvec *src, lnet_extract_iov()
373 lnet_copy_kiov2iov(unsigned int niov, struct kvec *iov, unsigned int iovoffset, lnet_copy_kiov2iov()
445 struct kvec *iov, unsigned int iovoffset, lnet_copy_iov2kiov()
568 struct kvec *iov = NULL; lnet_ni_recv()
H A Dlib-socket.c265 struct kvec iov = { lnet_sock_write()
325 struct kvec iov = { lnet_sock_read()
/linux-4.4.14/fs/ocfs2/cluster/
H A Dtcp.h101 int o2net_send_message_vec(u32 msg_type, u32 key, struct kvec *vec,
H A Dtcp.c919 struct kvec vec = { .iov_len = len, .iov_base = data, }; o2net_recv_tcp_msg()
924 static int o2net_send_tcp_msg(struct socket *sock, struct kvec *vec, o2net_send_tcp_msg()
1029 int o2net_send_message_vec(u32 msg_type, u32 key, struct kvec *caller_vec, o2net_send_message_vec()
1035 struct kvec *vec = NULL; o2net_send_message_vec()
1052 mlog(0, "bad kvec array length\n"); o2net_send_message_vec()
1080 vec = kmalloc(sizeof(struct kvec) * veclen, GFP_ATOMIC); o2net_send_message_vec()
1082 mlog(0, "failed to %zu element kvec!\n", veclen); o2net_send_message_vec()
1098 memcpy(&vec[1], caller_vec, caller_veclen * sizeof(struct kvec)); o2net_send_message_vec()
1150 struct kvec vec = { o2net_send_message()
1162 struct kvec vec = { o2net_send_status_magic()
/linux-4.4.14/net/sunrpc/auth_gss/
H A Dsvcauth_gss.c620 svc_safe_getnetobj(struct kvec *argv, struct xdr_netobj *o) svc_safe_getnetobj()
637 svc_safe_putnetobj(struct kvec *resv, struct xdr_netobj *o) svc_safe_putnetobj()
666 struct kvec *argv = &rqstp->rq_arg.head[0]; gss_verify_header()
667 struct kvec iov; gss_verify_header()
726 struct kvec iov; gss_write_verf()
992 struct kvec *argv, __be32 *authp, gss_read_common_verf()
1016 struct kvec *argv, __be32 *authp, gss_read_verf()
1054 struct kvec *argv = &rqstp->rq_arg.head[0]; gss_read_proxy_verf()
1074 gss_write_resv(struct kvec *resv, size_t size_limit, gss_write_resv()
1103 struct kvec *argv = &rqstp->rq_arg.head[0]; svcauth_gss_legacy_init()
1104 struct kvec *resv = &rqstp->rq_res.head[0]; svcauth_gss_legacy_init()
1212 struct kvec *resv = &rqstp->rq_res.head[0]; svcauth_gss_proxy_init()
1399 struct kvec *argv = &rqstp->rq_arg.head[0]; svcauth_gss_accept()
1400 struct kvec *resv = &rqstp->rq_res.head[0]; svcauth_gss_accept()
1585 struct kvec *resv; svcauth_gss_wrap_resp_integ()
H A Dauth_gss.c1486 struct kvec iov; gss_marshal()
1609 struct kvec iov; gss_validate()
1673 struct kvec *iov; gss_wrap_req_integ()
1766 struct kvec *iov; gss_wrap_req_priv()
1942 struct kvec *head = ((struct rpc_rqst *)rqstp)->rq_rcv_buf.head; gss_unwrap_resp()
H A Dgss_krb5_wrap.c53 struct kvec *iov; gss_krb5_add_padding()
/linux-4.4.14/net/rxrpc/
H A Dar-connevent.c65 struct kvec iov[2]; rxrpc_abort_connection()
342 struct kvec iov[2]; rxrpc_reject_packets()
H A Dar-local.c331 struct kvec iov[2]; rxrpc_send_version_request()
H A Dar-accept.c33 struct kvec iov[1]; rxrpc_busy()
H A Drxkad.c572 struct kvec iov[2]; rxkad_issue_challenge()
635 struct kvec iov[3]; rxkad_send_response()
H A Dar-output.c334 struct kvec iov[1]; rxrpc_send_packet()
H A Dar-ack.c888 struct kvec iov[5]; rxrpc_process_call()
/linux-4.4.14/drivers/mtd/lpddr/
H A Dlpddr_cmds.c36 static int lpddr_writev(struct mtd_info *mtd, const struct kvec *vecs,
390 unsigned long adr, const struct kvec **pvec, do_write_buffer()
396 const struct kvec *vec; do_write_buffer()
622 struct kvec vec; lpddr_write_buffers()
631 static int lpddr_writev(struct mtd_info *mtd, const struct kvec *vecs, lpddr_writev()
/linux-4.4.14/drivers/xen/xenbus/
H A Dxenbus_xs.c268 const struct kvec *iovec, xs_talkv()
328 struct kvec iovec; xs_single()
451 struct kvec iovec[2]; xenbus_write()
622 struct kvec iov[2]; xs_watch()
635 struct kvec iov[2]; xs_unwatch()
/linux-4.4.14/drivers/hv/
H A Dchannel.c600 struct kvec bufferlist[3]; vmbus_sendpacket_ctl()
696 struct kvec bufferlist[3]; vmbus_sendpacket_pagebuffer_ctl()
795 struct kvec bufferlist[3]; vmbus_sendpacket_mpb_desc()
839 struct kvec bufferlist[3]; vmbus_sendpacket_multipagebuffer()
H A Dring_buffer.c391 struct kvec *kv_list, u32 kv_count, bool *signal) hv_ringbuffer_write()
H A Dhyperv_vmbus.h614 struct kvec *kv_list,
/linux-4.4.14/arch/x86/include/asm/
H A Dpmem.h92 * iterators, so for other types (bvec & kvec) we must do a cache write-back.
/linux-4.4.14/drivers/vhost/
H A Dvringh.c183 struct kvec *new; resize_iovec()
676 BUILD_BUG_ON(sizeof(struct iovec) != sizeof(struct kvec)); vringh_getdesc_user()
678 offsetof(struct kvec, iov_base)); vringh_getdesc_user()
680 offsetof(struct kvec, iov_len)); vringh_getdesc_user()
682 != sizeof(((struct kvec *)NULL)->iov_base)); vringh_getdesc_user()
684 != sizeof(((struct kvec *)NULL)->iov_len)); vringh_getdesc_user()
/linux-4.4.14/drivers/mtd/
H A Dmtdconcat.c158 concat_writev(struct mtd_info *mtd, const struct kvec *vecs, concat_writev()
162 struct kvec *vecs_copy; concat_writev()
180 vecs_copy = kmemdup(vecs, sizeof(struct kvec) * count, GFP_KERNEL); concat_writev()
H A Dmtdcore.c1157 static int default_mtd_writev(struct mtd_info *mtd, const struct kvec *vecs, default_mtd_writev()
1189 int mtd_writev(struct mtd_info *mtd, const struct kvec *vecs, mtd_writev()
H A Dmtdpart.c221 static int part_writev(struct mtd_info *mtd, const struct kvec *vecs, part_writev()
/linux-4.4.14/fs/afs/
H A Drxrpc.c274 struct kvec *iov) afs_send_pages()
344 struct kvec iov[1]; afs_make_call()
805 struct kvec iov[1]; afs_send_simple_reply()
/linux-4.4.14/include/target/iscsi/
H A Discsi_target_core.h297 struct kvec *iov;
461 struct kvec *iov_data;
464 struct kvec iov_misc[ISCSI_MISC_IOVECS];
/linux-4.4.14/net/tipc/
H A Dserver.c82 struct kvec iov;
251 struct kvec iov; tipc_receive_from_sock()
H A Dsubscr.c76 struct kvec msg_sect; tipc_subscrp_send_event()
/linux-4.4.14/include/linux/mtd/
H A Dmtd.h219 int (*_writev) (struct mtd_info *mtd, const struct kvec *vecs,
295 int mtd_writev(struct mtd_info *mtd, const struct kvec *vecs,
/linux-4.4.14/net/rds/
H A Dtcp_send.c68 struct kvec vec = { rds_tcp_sendmsg()
/linux-4.4.14/net/ceph/
H A Dmessenger.c528 struct kvec iov = {buf, len}; ceph_tcp_recvmsg()
558 static int ceph_tcp_sendmsg(struct socket *sock, struct kvec *iov, ceph_tcp_sendmsg()
592 struct kvec iov; ceph_tcp_sendpage()
798 * Chop off a kvec from the end. Return residual number of bytes for
799 * that kvec, i.e. how many bytes would have been written if the kvec
2238 struct kvec *section, read_partial_message_section()
2540 /* kvec data queued? */ try_write()
/linux-4.4.14/net/bluetooth/cmtp/
H A Dcore.c197 struct kvec iv = { data, len }; cmtp_send_frame()
/linux-4.4.14/mm/
H A Dswap.c368 * @kiov: An array of struct kvec structures
379 int get_kernel_pages(const struct kvec *kiov, int nr_segs, int write, get_kernel_pages()
409 const struct kvec kiov = { get_kernel_page()
/linux-4.4.14/fs/ocfs2/dlm/
H A Ddlmast.c456 struct kvec vec[2]; dlm_send_proxy_ast_msg()
H A Ddlmconvert.c372 struct kvec vec[2]; dlm_send_remote_convert_request()
H A Ddlmunlock.c320 struct kvec vec[2]; dlm_send_remote_unlock_request()
/linux-4.4.14/drivers/mtd/chips/
H A Dcfi_cmdset_0001.c64 static int cfi_intelext_writev(struct mtd_info *, const struct kvec *, unsigned long, loff_t, size_t *);
1672 unsigned long adr, const struct kvec **pvec, do_write_buffer()
1679 const struct kvec *vec; do_write_buffer()
1837 static int cfi_intelext_writev (struct mtd_info *mtd, const struct kvec *vecs, cfi_intelext_writev()
1892 struct kvec vec; cfi_intelext_write_buffers()
H A Dcfi_cmdset_0020.c39 static int cfi_staa_writev(struct mtd_info *mtd, const struct kvec *vecs,
662 cfi_staa_writev(struct mtd_info *mtd, const struct kvec *vecs, cfi_staa_writev()
/linux-4.4.14/drivers/staging/lustre/lnet/klnds/o2iblnd/
H A Do2iblnd_cb.c660 unsigned int niov, struct kvec *iov, int offset, int nob) kiblnd_setup_rd_iov()
1425 struct kvec *payload_iov = lntmsg->msg_iov; kiblnd_send()
1591 struct kvec *iov = lntmsg->msg_iov; kiblnd_reply()
1650 unsigned int niov, struct kvec *iov, lnet_kiov_t *kiov, kiblnd_recv()
H A Do2iblnd.h983 unsigned int niov, struct kvec *iov, lnet_kiov_t *kiov,
/linux-4.4.14/net/9p/
H A Dtrans_virtio.c356 p = data->kvec->iov_base + data->iov_offset; p9_get_mapped_pages()
H A Dclient.c2063 struct kvec kv = {.iov_base = data, .iov_len = count}; p9_client_readdir()
/linux-4.4.14/net/bluetooth/
H A Da2mp.c54 struct kvec iv; a2mp_send()
H A D6lowpan.c509 struct kvec iv; send_pkt()
H A Dsmp.c606 struct kvec iv[2]; smp_send_cmd()
/linux-4.4.14/include/net/
H A Dip.h166 struct kvec iov[1];
/linux-4.4.14/drivers/media/dvb-core/
H A Ddvb_net.c71 static inline __u32 iov_crc32( __u32 c, struct kvec *iov, unsigned int cnt ) iov_crc32()
579 struct kvec iov[3] = { dvb_net_ule()
/linux-4.4.14/net/bluetooth/rfcomm/
H A Dcore.c800 struct kvec iv = { data, len }; rfcomm_send_frame()
1101 struct kvec iv[3]; rfcomm_send_test()
/linux-4.4.14/net/netfilter/ipvs/
H A Dip_vs_sync.c1601 struct kvec iov; ip_vs_send_async()
1633 struct kvec iov; ip_vs_receive()
/linux-4.4.14/drivers/scsi/
H A Discsi_tcp.c292 struct kvec iov = { iscsi_sw_tcp_xmit_segment()
/linux-4.4.14/drivers/block/
H A Dnbd.c173 struct kvec iov; sock_xmit()
/linux-4.4.14/net/bluetooth/hidp/
H A Dcore.c611 struct kvec iv = { data, len }; hidp_send_frame()
/linux-4.4.14/net/
H A Dsocket.c626 struct kvec *vec, size_t num, size_t size) kernel_sendmsg()
741 struct kvec *vec, size_t num, size_t size, int flags) kernel_recvmsg()
/linux-4.4.14/fs/dlm/
H A Dlowcomms.c573 struct kvec iov[2]; receive_from_sock()
/linux-4.4.14/net/core/
H A Dsock.c2264 struct kvec iov; sock_no_sendpage()
/linux-4.4.14/fs/nfs/
H A Dnfs4xdr.c2701 /* Set up reply kvec to capture returned fs_locations array. */ nfs4_xdr_enc_fs_locations()
2892 /* set up reply kvec. Subtract notification bitmap max size (2) nfs4_xdr_enc_getdeviceinfo()
/linux-4.4.14/drivers/block/drbd/
H A Ddrbd_main.c1771 struct kvec iov; drbd_send()
H A Ddrbd_receiver.c483 struct kvec iov = { drbd_recv_short()

Completed in 3526 milliseconds