| /linux/rust/kernel/ |
| H A D | alloc.rs | 7 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/fs/xfs/ |
| H A D | xfs_attr_item.h | 15 struct kvec name; 16 struct kvec new_name; /* PPTR_REPLACE only */ 17 struct kvec value; 18 struct kvec new_value; /* PPTR_REPLACE only */
|
| /linux/fs/9p/ |
| H A D | xattr.c | 24 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()
|
| H A D | vfs_dir.c | 92 struct kvec kvec; in v9fs_dir_readdir() local 102 kvec.iov_base = rdir->buf; in v9fs_dir_readdir() 103 kvec.iov_len = buflen; in v9fs_dir_readdir() 110 iov_iter_kvec(&to, ITER_DEST, &kvec, 1, buflen); in v9fs_dir_readdir()
|
| /linux/fs/smb/client/ |
| H A D | smb2proto.h | 54 struct kvec *reparse_iov, 55 struct kvec *xattr_iov); 58 const char *full_path, u32 *tag, struct kvec *rsp, 103 const struct kvec *iov, const char *full_path, 135 struct create_posix_rsp *posix, struct kvec *err_iov, 189 unsigned int *nbytes, struct kvec *iov, int n_vec); 242 int smb2_parse_contexts(struct TCP_Server_Info *server, struct kvec *rsp_iov, 249 struct kvec *iov, unsigned int min_buf_size); 251 struct kvec *iov, unsigned int minbufsize, 258 struct kvec *iov, int nvec); [all …]
|
| H A D | smb2inode.c | 28 static struct reparse_data_buffer *reparse_buf_ptr(struct kvec *iov) in reparse_buf_ptr() 64 struct kvec *rsp_iov) in parse_posix_sids() 106 static int check_wsl_eas(struct kvec *rsp_iov) in check_wsl_eas() 177 struct cifs_open_parms *oparms, struct kvec *in_iov, in smb2_compound_op() 179 struct kvec *out_iov, int *out_buftype, struct dentry *dentry) in smb2_compound_op() 193 struct kvec *rsp_iov, *iov; in smb2_compound_op() 891 const struct kvec *iov) in parse_create_response() 922 struct kvec *out_iov, int *out_buftype) in ea_unsupported() 939 static inline void free_rsp_iov(struct kvec *iovs, int *buftype, int count) in free_rsp_iov() 956 struct kvec in_iov[3], out_iov[5] = {}; in smb2_query_path_info() [all …]
|
| H A D | smb1transport.c | 142 struct kvec iov[1]; in SendReceiveNoRsp() 143 struct kvec rsp_iov; in SendReceiveNoRsp() 165 struct kvec iov[1]; in cifs_check_receive() 211 struct kvec *iov, int n_vec, int *resp_buf_type /* ret */, in SendReceive2() 212 const int flags, struct kvec *resp_iov) in SendReceive2() 229 struct kvec resp_iov = {}; in SendReceive() 230 struct kvec iov = { .iov_base = in_buf, .iov_len = in_len }; in SendReceive()
|
| H A D | smb2pdu.c | 1046 add_posix_context(struct kvec *iov, unsigned int *num_iovec, umode_t mode) in add_posix_context() 1084 struct kvec iov[1]; in SMB2_negotiate() 1085 struct kvec rsp_iov; in SMB2_negotiate() 1520 struct kvec iov[2]; 1601 struct kvec *iov = sess_data->iov; in SMB2_sess_free_buffer() 1617 struct kvec rsp_iov = { NULL, 0 }; in SMB2_sess_sendreceive() 1646 memcpy(&sess_data->iov[0], &rsp_iov, sizeof(struct kvec)); in SMB2_sess_sendreceive() 2025 struct kvec iov[1]; in SMB2_logoff() 2026 struct kvec rsp_iov; in SMB2_logoff() 2099 struct kvec iov[2]; in SMB2_tcon() [all …]
|
| H A D | cifsglob.h | 260 struct kvec iov; 291 struct kvec *rq_iov; /* array of kvecs */ 414 u32 *tag, struct kvec *rsp, 498 struct cifs_io_parms *, unsigned int *, struct kvec *, 629 struct reparse_data_buffer * (*get_reparse_point_buffer)(const struct kvec *rsp_iov, 637 struct kvec *reparse_iov, 638 struct kvec *xattr_iov); 1411 struct kvec *ea_cctx; 1502 struct kvec iov[2]; 2256 struct kvec rsp_iov[MAX_COMPOUND]; [all …]
|
| /linux/net/rxrpc/ |
| H A D | rxperf.c | 51 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() 447 call->kvec[0].iov_len = call->iov_len; in rxperf_deliver_request() 448 call->kvec[0].iov_base = call->tmp; in rxperf_deliver_request() 449 iov_iter_kvec(&call->iter, READ, call->kvec, 1, call->iov_len); in rxperf_deliver_request() 492 call->kvec[0].iov_len = call->iov_len; in rxperf_deliver_request() 493 call->kvec[0].iov_base = call->tmp; in rxperf_deliver_request() 494 iov_iter_kvec(&call->iter, READ, call->kvec, 1, call->iov_len); in rxperf_deliver_request() [all …]
|
| H A D | output.c | 82 struct kvec *kv = call->local->kvec; in rxrpc_alloc_ack() 116 page_frag_free(call->local->kvec[0].iov_base); in rxrpc_free_ack() 117 if (call->local->kvec[1].iov_base) in rxrpc_free_ack() 118 page_frag_free(call->local->kvec[1].iov_base); in rxrpc_free_ack() 155 struct kvec *kv = call->local->kvec; in rxrpc_fill_out_ack() 248 struct kvec *kv = call->local->kvec; in rxrpc_send_ack_packet() 305 struct kvec *kv = call->local->kvec; in rxrpc_send_ACK() 369 struct kvec iov[1]; in rxrpc_send_abort_packet() 437 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/s390/mm/ |
| H A D | maccess.c | 118 struct kvec kvec; in memcpy_real() local 120 kvec.iov_base = dest; in memcpy_real() 121 kvec.iov_len = count; in memcpy_real() 122 iov_iter_kvec(&iter, ITER_DEST, &kvec, 1, count); in memcpy_real()
|
| /linux/arch/x86/kernel/ |
| H A D | crash_dump_64.c | 57 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/fs/smb/server/ |
| H A D | transport_tcp.c | 35 struct kvec *iov; 121 static unsigned int kvec_array_init(struct kvec *new, struct kvec *iov, in kvec_array_init() 151 static struct kvec *get_conn_iovec(struct tcp_transport *t, unsigned int nr_segs) in get_conn_iovec() 153 struct kvec *new_iov; in get_conn_iovec() 338 static int ksmbd_tcp_readv(struct tcp_transport *t, struct kvec *iov_orig, in ksmbd_tcp_readv() 346 struct kvec *iov; in ksmbd_tcp_readv() 410 struct kvec iov; in ksmbd_tcp_read() 418 static int ksmbd_tcp_writev(struct ksmbd_transport *t, struct kvec *iov, in ksmbd_tcp_writev()
|
| H A D | ksmbd_work.c | 31 work->iov = kzalloc_objs(struct kvec, work->iov_alloc_cnt, in ksmbd_alloc_work_struct() 120 struct kvec *new; in __ksmbd_iov_pin_rsp() 124 sizeof(struct kvec) * work->iov_alloc_cnt, in __ksmbd_iov_pin_rsp()
|
| H A D | auth.c | 472 void ksmbd_sign_smb2_pdu(struct ksmbd_conn *conn, char *key, struct kvec *iov, in ksmbd_sign_smb2_pdu() 493 int ksmbd_sign_smb3_pdu(struct ksmbd_conn *conn, char *key, struct kvec *iov, in ksmbd_sign_smb3_pdu() 536 struct kvec label; 537 struct kvec context; 542 struct kvec label, struct kvec context, __u8 *key, in generate_key() 751 static struct scatterlist *ksmbd_init_sg(struct kvec *iov, unsigned int nvec, in ksmbd_init_sg() 823 int ksmbd_crypt_message(struct ksmbd_work *work, struct kvec *iov, in ksmbd_crypt_message()
|
| /linux/net/handshake/ |
| H A D | alert.c | 40 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 D | kunit_iov_iter.c | 75 struct kvec *kvec, unsigned int kvmax, in iov_kunit_load_kvec() argument 87 kvec[i].iov_base = buffer + pr->from; in iov_kunit_load_kvec() 88 kvec[i].iov_len = pr->to - pr->from; in iov_kunit_load_kvec() 93 iov_iter_kvec(iter, dir, kvec, i, size); in iov_kunit_load_kvec() 104 struct kvec kvec[8]; in iov_kunit_copy_to_kvec() local 119 iov_kunit_load_kvec(test, &iter, READ, kvec, ARRAY_SIZE(kvec), in iov_kunit_copy_to_kvec() 154 struct kvec kvec[8]; in iov_kunit_copy_from_kvec() local 169 iov_kunit_load_kvec(test, &iter, WRITE, kvec, ARRAY_SIZE(kvec), in iov_kunit_copy_from_kvec() 704 struct kvec kvec[8]; in iov_kunit_extract_pages_kvec() local 715 iov_kunit_load_kvec(test, &iter, READ, kvec, ARRAY_SIZE(kvec), in iov_kunit_extract_pages_kvec()
|
| /linux/include/linux/ceph/ |
| H A D | messenger.h | 272 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 D | xdr.c | 150 const struct kvec *head = xdr->head; in xdr_buf_to_bvec() 151 const struct kvec *tail = xdr->tail; in xdr_buf_to_bvec() 203 struct kvec *head = xdr->head; in xdr_inline_pages() 204 struct kvec *tail = xdr->tail; in xdr_inline_pages() 447 static void xdr_buf_iov_zero(const struct kvec *iov, unsigned int base, in xdr_buf_iov_zero() 533 struct kvec *head = buf->head; in xdr_buf_try_expand() 534 struct kvec *tail = buf->tail; in xdr_buf_try_expand() 561 const struct kvec *tail = buf->tail; in xdr_buf_tail_copy_right() 575 const struct kvec *tail = buf->tail; in xdr_buf_pages_copy_right() 608 const struct kvec *head = buf->head; in xdr_buf_head_copy_right() [all …]
|
| /linux/fs/jffs2/ |
| H A D | writev.c | 16 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/ |
| H A D | vringh.h | 117 struct kvec *iov; 192 struct kvec *kvec, unsigned num) in vringh_kiov_init() argument 197 kiov->iov = kvec; in vringh_kiov_init()
|
| /linux/include/crypto/internal/ |
| H A D | kdf_selftest.h | 18 struct kvec info; 29 const struct kvec *info, in kdf_test()
|
| /linux/drivers/xen/xenbus/ |
| H A D | xenbus_xs.c | 291 struct kvec *vec; in xenbus_dev_request_and_reply() 297 vec = (struct kvec *)(req + 1); in xenbus_dev_request_and_reply() 317 const struct kvec *iovec, in xs_talkv() 374 struct kvec iovec; in xs_single() 497 struct kvec iovec[2]; in xenbus_write() 651 struct kvec iov[2]; in xs_watch() 664 struct kvec iov[2]; in xs_unwatch()
|
| /linux/net/qrtr/ |
| H A D | ns.c | 114 struct kvec iv; in service_announce_new() 140 struct kvec iv; in service_announce_del() 171 struct kvec iv; in lookup_notify() 303 struct kvec iv; in say_hello() 343 struct kvec iv; in ctrl_cmd_bye() 396 struct kvec iv; in ctrl_cmd_del_client() 597 struct kvec iv; in qrtr_ns_worker()
|