Home
last modified time | relevance | path

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

1234567

/linux/fs/xfs/
H A Dxfs_attr_item.h
/linux/rust/kernel/
H A Dalloc.rs7 pub mod kvec; module
15 pub use self::kvec::IntoIter;
16 pub use self::kvec::KVVec;
17 pub use self::kvec::KVec;
18 pub use self::kvec::VVec;
19 pub use self::kvec::Vec;
/linux/include/linux/net/intel/libie/
H A Dcontrolq.h115 struct kvec recv_mem;
252 static inline void libie_ctlq_release_rx_buf(struct kvec *rx_buf) in libie_ctlq_release_rx_buf()
321 void (*resp_cb)(void *ctx, struct kvec *mem, int status);
326 struct kvec recv_mem;
373 void (*resp_cb)(void *ctx, struct kvec *mem, int status);
378 struct kvec send_buf;
379 struct kvec recv_mem;
/linux/fs/9p/
H A Dxattr.c24 struct kvec kvec = {.iov_base = buffer, .iov_len = buffer_size}; in v9fs_fid_xattr_get() local
28 iov_iter_kvec(&to, ITER_DEST, &kvec, 1, buffer_size); in v9fs_fid_xattr_get()
111 struct kvec kvec = {.iov_base = (void *)value, .iov_len = value_len}; in v9fs_fid_xattr_set() local
115 iov_iter_kvec(&from, ITER_SOURCE, &kvec, 1, value_len); in v9fs_fid_xattr_set()
/linux/fs/smb/client/
H A Dsmb2proto.h59 struct kvec *reparse_iov,
60 struct kvec *xattr_iov);
63 const char *full_path, u32 *tag, struct kvec *rsp,
110 const struct kvec *iov, const char *full_path,
150 struct create_posix_rsp *posix, struct kvec *err_iov,
208 unsigned int *nbytes, struct kvec *iov, int n_vec);
265 int smb2_parse_contexts(struct TCP_Server_Info *server, struct kvec *rsp_iov,
272 struct kvec *iov, unsigned int min_buf_size);
274 struct kvec *iov, unsigned int minbufsize,
280 struct kvec *io
[all...]
H A Dsmb2inode.c29 static struct reparse_data_buffer *reparse_buf_ptr(struct kvec *iov) in reparse_buf_ptr()
67 struct kvec *rsp_iov) in parse_posix_sids()
120 static int check_wsl_eas(struct kvec *rsp_iov) in check_wsl_eas()
213 struct cifs_open_parms *oparms, struct kvec *in_iov,
215 struct kvec *out_iov, int *out_buftype, struct dentry *dentry) in smb2_compound_op()
229 struct kvec *rsp_iov, *iov; in smb2_compound_op()
795 const struct kvec *iov) in parse_create_response()
836 struct kvec *out_iov, int *out_buftype)
853 static inline void free_rsp_iov(struct kvec *iovs, int *buftype, int count) in ea_unsupported()
870 struct kvec in_io in smb2_query_path_info()
[all...]
H A Dcifsglob.h259 struct kvec iov;
286 * formed by a kvec array, followed by an array of pages. Page data is assumed
290 struct kvec *rq_iov; /* array of kvecs */
412 u32 *tag, struct kvec *rsp,
496 struct cifs_io_parms *, unsigned int *, struct kvec *,
630 struct reparse_data_buffer * (*get_reparse_point_buffer)(const struct kvec *rsp_iov,
638 struct kvec *reparse_iov,
639 struct kvec *xattr_iov);
1425 struct kvec *ea_cctx;
1533 struct kvec io
[all...]
H A Dsmb2pdu.c1115 add_posix_context(struct kvec *iov, unsigned int *num_iovec, umode_t mode) in SMB2_negotiate()
1153 struct kvec iov[1]; in SMB2_negotiate()
1154 struct kvec rsp_iov; in SMB2_negotiate()
1588 struct kvec iov[2]; in SMB2_sess_alloc_buffer()
1669 struct kvec *iov = sess_data->iov; in SMB2_sess_sendreceive()
1685 struct kvec rsp_iov = { NULL, 0 }; in SMB2_sess_establish_session()
1714 memcpy(&sess_data->iov[0], &rsp_iov, sizeof(struct kvec)); in SMB2_auth_kerberos()
2105 struct kvec iov[1]; in SMB2_logoff()
2106 struct kvec rsp_iov; in SMB2_logoff()
2171 struct kvec io in SMB2_tcon()
[all...]
/linux/net/rxrpc/
H A Drxperf.c51 struct kvec kvec[1]; member
164 call->kvec[0].iov_len = sizeof(call->params); in rxperf_charge_preallocation()
165 call->kvec[0].iov_base = &call->params; in rxperf_charge_preallocation()
166 iov_iter_kvec(&call->iter, READ, call->kvec, 1, call->iov_len); in rxperf_charge_preallocation()
459 call->kvec[0].iov_len = call->iov_len; in rxperf_deliver_request()
460 call->kvec[0].iov_base = call->tmp; in rxperf_deliver_request()
461 iov_iter_kvec(&call->iter, READ, call->kvec, 1, call->iov_len); in rxperf_deliver_request()
515 struct kvec iov[1]; in rxperf_process_call()
H A Doutput.c80 struct kvec *kv = call->local->kvec; in rxrpc_alloc_ack()
114 page_frag_free(call->local->kvec[0].iov_base); in rxrpc_free_ack()
115 if (call->local->kvec[1].iov_base) in rxrpc_free_ack()
116 page_frag_free(call->local->kvec[1].iov_base); in rxrpc_free_ack()
153 struct kvec *kv = call->local->kvec; in rxrpc_fill_out_ack()
246 struct kvec *kv = call->local->kvec; in rxrpc_send_ack_packet()
303 struct kvec *kv = call->local->kvec; in rxrpc_send_ACK()
367 struct kvec iov[1]; in rxrpc_send_abort_packet()
435 struct kvec *kv = &call->local->kvec[1 + subpkt]; in rxrpc_prepare_data_subpacket()
658 call->local->kvec[0].iov_base = whdr; in rxrpc_send_data_packet()
[all …]
/linux/arch/x86/kernel/
H A Dcrash_dump_64.c57 struct kvec kvec = { .iov_base = buf, .iov_len = count }; in elfcorehdr_read() local
60 iov_iter_kvec(&iter, ITER_DEST, &kvec, 1, count); in elfcorehdr_read()
/linux/net/handshake/
H A Dalert.c40 struct kvec iov; in tls_alert_send()
100 const struct kvec *iov; in tls_alert_recv()
103 iov = msg->msg_iter.kvec; in tls_alert_recv()
/linux/lib/tests/
H A Dkunit_iov_iter.c95 struct kvec *kvec, unsigned int kvmax, in iov_kunit_load_kvec() argument
107 kvec[i].iov_base = buffer + pr->from; in iov_kunit_load_kvec()
108 kvec[i].iov_len = pr->to - pr->from; in iov_kunit_load_kvec()
113 iov_iter_kvec(iter, dir, kvec, i, size); in iov_kunit_load_kvec()
124 struct kvec kvec[8]; in iov_kunit_copy_to_kvec() local
139 iov_kunit_load_kvec(test, &iter, READ, kvec, ARRAY_SIZE(kvec), in iov_kunit_copy_to_kvec()
174 struct kvec kvec[8]; in iov_kunit_copy_from_kvec() local
189 iov_kunit_load_kvec(test, &iter, WRITE, kvec, ARRAY_SIZE(kvec), in iov_kunit_copy_from_kvec()
720 struct kvec kvec[8]; in iov_kunit_extract_pages_kvec() local
731 iov_kunit_load_kvec(test, &iter, READ, kvec, ARRAY_SIZE(kvec), in iov_kunit_extract_pages_kvec()
[all …]
/linux/fs/smb/server/
H A Dtransport_tcp.c45 struct kvec *iov;
165 static unsigned int kvec_array_init(struct kvec *new, struct kvec *iov, in get_conn_iovec()
195 static struct kvec *get_conn_iovec(struct tcp_transport *t, unsigned int nr_segs) in ksmbd_tcp_new_connection()
197 struct kvec *new_iov; in ksmbd_tcp_new_connection()
397 static int ksmbd_tcp_readv(struct tcp_transport *t, struct kvec *iov_orig, in ksmbd_tcp_readv()
405 struct kvec *iov; in ksmbd_tcp_readv()
469 struct kvec iov;
540 struct kvec iov = { in create_socket()
H A Dksmbd_work.h44 struct kvec *iov;
48 struct kvec iov_inline[KSMBD_WORK_INLINE_IOVS];
/linux/include/linux/ceph/
H A Dmessenger.h272 struct kvec front; /* unaligned blobs of message */
326 struct kvec out_kvec[8], /* sending header/footer data */
347 struct kvec in_sr_kvec; /* current location to receive into */
397 struct kvec in_kvecs[5]; /* recvmsg */
403 struct kvec out_kvecs[8]; /* sendmsg */
439 struct kvec in_sign_kvecs[8];
440 struct kvec out_sign_kvecs[8];
/linux/net/sunrpc/
H A Dxdr.c151 const struct kvec *head = xdr->head; in xdr_buf_to_bvec()
152 const struct kvec *tail = xdr->tail; in xdr_buf_to_bvec()
406 struct kvec *head = xdr->head; in xdr_inline_pages()
407 struct kvec *tail = xdr->tail; in xdr_inline_pages()
650 static void xdr_buf_iov_zero(const struct kvec *iov, unsigned int base, in xdr_buf_iov_zero()
736 struct kvec *head = buf->head; in xdr_buf_try_expand()
737 struct kvec *tail = buf->tail; in xdr_buf_try_expand()
764 const struct kvec *tail = buf->tail; in xdr_buf_tail_copy_right()
778 const struct kvec *tail = buf->tail; in xdr_buf_pages_copy_right()
811 const struct kvec *hea in xdr_buf_head_copy_right()
[all...]
/linux/fs/jffs2/
H 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/fs/
H A Dcoredump.c756 struct kvec iov = { .iov_base = ack, .iov_len = size }; in coredump_sock_recv()
767 struct kvec iov = { .iov_base = req, .iov_len = sizeof(*req) }; in coredump_sock_send()
810 struct kvec iov = { .iov_base = &mark, .iov_len = sizeof(mark) }; in coredump_sock_mark()
1374 struct kvec kvec[2]; in dump_emit_chunk()
1384 kvec[nseg].iov_base = cprm->record_hdr; in dump_emit_chunk()
1385 kvec[nseg].iov_len = hdrlen; in dump_emit_chunk()
1388 kvec[nseg].iov_base = (void *)addr; in dump_emit_chunk()
1389 kvec[nseg].iov_len = nr; in dump_emit_chunk()
1392 iov_iter_kvec(&iter, ITER_SOURCE, kvec, nse in dump_emit_chunk()
1372 struct kvec kvec[2]; dump_emit_chunk() local
1417 struct kvec kvec; dump_emit_record() local
[all...]
/linux/include/linux/
H A Dvringh.h117 struct kvec *iov;
192 struct kvec *kvec, unsigned num) in vringh_kiov_init() argument
197 kiov->iov = kvec; in vringh_kiov_init()
H A Duio.h19 struct kvec { argument
71 const struct kvec *kvec;
301 void iov_iter_kvec(struct iov_iter *i, unsigned int direction, const struct kvec *kvec,
18 struct kvec { global() struct
20 iov_lenkvec global() argument
69 const struct kvec *kvec; global() member
/linux/include/crypto/internal/
H A Dkdf_selftest.h18 struct kvec info;
29 const struct kvec *info, in kdf_test()
/linux/drivers/xen/xenbus/
H A Dxenbus_xs.c294 struct kvec *vec; in xenbus_dev_request_and_reply()
300 vec = (struct kvec *)(req + 1); in xenbus_dev_request_and_reply()
320 const struct kvec *iovec, in xs_talkv()
377 struct kvec iovec; in xs_single()
506 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/
H A Discsi_target_util.h63 extern int rx_data(struct iscsit_conn *, struct kvec *, int, int);
64 extern int tx_data(struct iscsit_conn *, struct kvec *, int, int);
/linux/drivers/net/ethernet/intel/ixd/
H A Dixd_ctlq.c39 .send_buf = (struct kvec) { in ixd_ctlq_init_sparams()
59 struct kvec *recv_mem; in ixd_ctlq_do_req()

1234567