/linux-6.1.9/net/sunrpc/ |
D | socklib.c | 210 iov_iter_advance(&msg->msg_iter, seek); in xprt_sendmsg() 217 iov_iter_kvec(&msg->msg_iter, WRITE, vec, 1, vec->iov_len); in xprt_send_kvec() 224 iov_iter_bvec(&msg->msg_iter, WRITE, xdr->bvec, xdr_buf_pagecount(xdr), in xprt_send_pagedata() 247 iov_iter_kvec(&msg->msg_iter, WRITE, iov, 2, len); in xprt_send_rm_and_kvec()
|
D | svcsock.c | 263 iov_iter_bvec(&msg.msg_iter, READ, bvec, i, buflen); in svc_tcp_read_msg() 265 iov_iter_advance(&msg.msg_iter, seek); in svc_tcp_read_msg() 877 iov_iter_kvec(&msg.msg_iter, READ, &iov, 1, want); in svc_tcp_read_marker()
|
/linux-6.1.9/io_uring/ |
D | net.c | 171 size_t fast_idx = kmsg->msg.msg_iter.iov - kmsg->fast_iov; in io_setup_async_msg() 172 async_msg->msg.msg_iter.iov = &async_msg->fast_iov[fast_idx]; in io_setup_async_msg() 299 min_ret = iov_iter_count(&kmsg->msg.msg_iter); in io_sendmsg() 367 ret = import_single_range(WRITE, sr->buf, sr->len, &iov, &msg.msg_iter); in io_send() 375 min_ret = iov_iter_count(&msg.msg_iter); in io_send() 454 &iomsg->free_iov, &iomsg->msg.msg_iter, in __io_recvmsg_copy_hdr() 508 &iomsg->msg.msg_iter, true); in __io_compat_recvmsg_copy_hdr() 766 iov_iter_init(&kmsg->msg.msg_iter, READ, kmsg->fast_iov, 1, in io_recvmsg() 774 min_ret = iov_iter_count(&kmsg->msg.msg_iter); in io_recvmsg() 860 ret = import_single_range(READ, sr->buf, len, &iov, &msg.msg_iter); in io_recv() [all …]
|
/linux-6.1.9/fs/afs/ |
D | rxrpc.c | 362 iov_iter_kvec(&msg.msg_iter, WRITE, iov, 1, call->request_size); in afs_make_call() 374 msg.msg_iter = *call->write_iter; in afs_make_call() 380 iov_iter_count(&msg.msg_iter), in afs_make_call() 382 *call->write_iter = msg.msg_iter; in afs_make_call() 403 iov_iter_kvec(&msg.msg_iter, READ, NULL, 0, 0); in afs_make_call() 405 &msg.msg_iter, &len, false, in afs_make_call() 825 iov_iter_kvec(&msg.msg_iter, WRITE, NULL, 0, 0); in afs_send_empty_reply() 865 iov_iter_kvec(&msg.msg_iter, WRITE, iov, 1, len); in afs_send_simple_reply()
|
/linux-6.1.9/drivers/xen/ |
D | pvcalls-front.c | 485 struct iov_iter *msg_iter, in __write_ring() argument 512 len = copy_from_iter(data->out + masked_prod, len, msg_iter); in __write_ring() 516 array_size - masked_prod, msg_iter); in __write_ring() 521 len = ret + copy_from_iter(data->out, len - ret, msg_iter); in __write_ring() 523 len = copy_from_iter(data->out + masked_prod, len, msg_iter); in __write_ring() 561 &map->active.data, &msg->msg_iter, in pvcalls_front_sendmsg() 580 struct iov_iter *msg_iter, in __read_ring() argument 604 len = copy_to_iter(data->in + masked_cons, len, msg_iter); in __read_ring() 608 array_size - masked_cons, msg_iter); in __read_ring() 613 len = ret + copy_to_iter(data->in, len - ret, msg_iter); in __read_ring() [all …]
|
D | pvcalls-back.c | 132 iov_iter_kvec(&msg.msg_iter, WRITE, vec, 1, wanted); in pvcalls_conn_back_read() 138 iov_iter_kvec(&msg.msg_iter, WRITE, vec, 2, wanted); in pvcalls_conn_back_read() 191 iov_iter_kvec(&msg.msg_iter, READ, vec, 1, size); in pvcalls_conn_back_write() 197 iov_iter_kvec(&msg.msg_iter, READ, vec, 2, size); in pvcalls_conn_back_write()
|
/linux-6.1.9/net/tls/ |
D | tls_device.c | 428 struct iov_iter *msg_iter; member 516 iter_offset.msg_iter); in tls_push_data() 583 iter.msg_iter = &msg->msg_iter; in tls_device_sendmsg() 597 struct iov_iter msg_iter; in tls_device_sendpage() local 623 iov_iter_kvec(&msg_iter, WRITE, &iov, 1, size); in tls_device_sendpage() 624 iter_offset.msg_iter = &msg_iter; in tls_device_sendpage() 698 struct iov_iter msg_iter; in tls_device_push_pending_record() local 700 iov_iter_kvec(&msg_iter, WRITE, NULL, 0, 0); in tls_device_push_pending_record() 701 iter.msg_iter = &msg_iter; in tls_device_push_pending_record()
|
D | tls_sw.c | 925 bool is_kvec = iov_iter_is_kvec(&msg->msg_iter); in tls_sw_sendmsg() 1007 ret = sk_msg_zerocopy_from_iter(sk, &msg->msg_iter, in tls_sw_sendmsg() 1033 iov_iter_revert(&msg->msg_iter, in tls_sw_sendmsg() 1057 ret = sk_msg_memcopy_from_iter(sk, &msg->msg_iter, in tls_sw_sendmsg() 1608 err = tls_decrypt_sg(sk, &msg->msg_iter, NULL, darg); in tls_decrypt_sw() 1920 bool is_kvec = iov_iter_is_kvec(&msg->msg_iter); in tls_sw_recvmsg()
|
/linux-6.1.9/include/net/ |
D | udplite.h | 25 return copy_from_iter_full(to, len, &msg->msg_iter) ? 0 : -EFAULT; in udplite_getfrag()
|
/linux-6.1.9/fs/cifs/ |
D | smbdirect.c | 1942 if (iov_iter_rw(&msg->msg_iter) == WRITE) { in smbd_recv() 1945 iov_iter_rw(&msg->msg_iter)); in smbd_recv() 1950 switch (iov_iter_type(&msg->msg_iter)) { in smbd_recv() 1952 buf = msg->msg_iter.kvec->iov_base; in smbd_recv() 1953 to_read = msg->msg_iter.kvec->iov_len; in smbd_recv() 1958 page = msg->msg_iter.bvec->bv_page; in smbd_recv() 1959 page_offset = msg->msg_iter.bvec->bv_offset; in smbd_recv() 1960 to_read = msg->msg_iter.bvec->bv_len; in smbd_recv() 1967 iov_iter_type(&msg->msg_iter)); in smbd_recv() 1974 msg->msg_iter.count = 0; in smbd_recv()
|
D | transport.c | 350 iov_iter_kvec(&smb_msg.msg_iter, WRITE, &hiov, 1, 4); in __smb_send_rqst() 371 iov_iter_kvec(&smb_msg.msg_iter, WRITE, iov, n_vec, size); in __smb_send_rqst() 387 iov_iter_bvec(&smb_msg.msg_iter, WRITE, in __smb_send_rqst()
|
/linux-6.1.9/tools/perf/trace/beauty/include/linux/ |
D | socket.h | 58 struct iov_iter msg_iter; /* data */ member 169 return iov_iter_count(&msg->msg_iter); in msg_data_left()
|
/linux-6.1.9/include/linux/ |
D | socket.h | 58 struct iov_iter msg_iter; /* data */ member 169 return iov_iter_count(&msg->msg_iter); in msg_data_left()
|
/linux-6.1.9/include/trace/events/ |
D | afs.h | 965 __entry->offset = msg->msg_iter.xarray_start + msg->msg_iter.iov_offset; 966 __entry->count = iov_iter_count(&msg->msg_iter); 989 __entry->offset = msg->msg_iter.xarray_start + msg->msg_iter.iov_offset; 990 __entry->count = iov_iter_count(&msg->msg_iter);
|
/linux-6.1.9/crypto/ |
D | algif_hash.c | 94 len = af_alg_make_sg(&ctx->sgl, &msg->msg_iter, len); in hash_sendmsg() 106 iov_iter_revert(&msg->msg_iter, len); in hash_sendmsg()
|
/linux-6.1.9/net/tipc/ |
D | msg.c | 231 if (cpy != copy_from_iter(skb->data + mlen, cpy, &m->msg_iter)) in tipc_msg_append() 404 if (copy_from_iter_full(pktpos, dsz, &m->msg_iter)) in tipc_msg_build() 435 if (!copy_from_iter_full(pktpos, pktrem, &m->msg_iter)) { in tipc_msg_build()
|
/linux-6.1.9/net/ |
D | socket.c | 753 iov_iter_kvec(&msg->msg_iter, WRITE, vec, num, size); in kernel_sendmsg() 779 iov_iter_kvec(&msg->msg_iter, WRITE, vec, num, size); in kernel_sendmsg_locked() 1037 iov_iter_kvec(&msg->msg_iter, READ, vec, num, size); in kernel_recvmsg() 1073 struct msghdr msg = {.msg_iter = *to, in sock_read_iter() 1087 *to = msg.msg_iter; in sock_read_iter() 1095 struct msghdr msg = {.msg_iter = *from, in sock_write_iter() 1109 *from = msg.msg_iter; in sock_write_iter() 2095 err = import_single_range(WRITE, buff, len, &iov, &msg.msg_iter); in __sys_sendto() 2160 err = import_single_range(READ, ubuf, size, &iov, &msg.msg_iter); in __sys_recvfrom() 2422 UIO_FASTIOV, iov, &kmsg->msg_iter); in copy_msghdr_from_user()
|
/linux-6.1.9/drivers/vhost/ |
D | net.c | 641 *len = init_iov_iter(vq, &msg->msg_iter, nvq->vhost_hlen, *out); in get_tx_bufs() 815 err = vhost_net_build_xdp(nvq, &msg.msg_iter); in handle_tx_copy() 1187 iov_iter_init(&msg.msg_iter, READ, vq->iov, 1, 1); in handle_rx() 1194 iov_iter_init(&msg.msg_iter, READ, vq->iov, in, vhost_len); in handle_rx() 1195 fixup = msg.msg_iter; in handle_rx() 1200 iov_iter_advance(&msg.msg_iter, vhost_hlen); in handle_rx()
|
/linux-6.1.9/net/core/ |
D | datagram.c | 764 if (skb_copy_and_csum_datagram(skb, hlen, &msg->msg_iter, in skb_copy_and_csum_datagram_msg() 769 iov_iter_revert(&msg->msg_iter, chunk); in skb_copy_and_csum_datagram_msg()
|
/linux-6.1.9/net/rds/ |
D | recv.c | 692 ret = inc->i_conn->c_trans->inc_copy_to_user(inc, &msg->msg_iter); in rds_recvmsg() 705 iov_iter_revert(&msg->msg_iter, ret); in rds_recvmsg()
|
D | send.c | 1262 num_sgs = iov_iter_npages(&msg->msg_iter, INT_MAX); in rds_sendmsg() 1282 ret = rds_message_copy_from_user(rm, &msg->msg_iter, zcopy); in rds_sendmsg()
|
/linux-6.1.9/net/smc/ |
D | smc_clc.c | 676 iov_iter_kvec(&msg.msg_iter, READ, &vec, 1, in smc_clc_wait_msg() 723 iov_iter_kvec(&msg.msg_iter, READ, &vec, 1, recvlen); in smc_clc_wait_msg() 740 iov_iter_kvec(&msg.msg_iter, READ, &vec, 1, recvlen); in smc_clc_wait_msg()
|
/linux-6.1.9/include/net/bluetooth/ |
D | bluetooth.h | 521 if (!copy_from_iter_full(skb_put(skb, size), size, &msg->msg_iter)) { in bt_skb_sendmsg()
|
/linux-6.1.9/net/caif/ |
D | caif_socket.c | 537 if (unlikely(msg->msg_iter.nr_segs == 0) || in caif_seqpkt_sendmsg() 538 unlikely(msg->msg_iter.iov->iov_base == NULL)) in caif_seqpkt_sendmsg()
|
/linux-6.1.9/drivers/net/ |
D | tap.c | 1227 return tap_get_user(q, ctl ? ctl->ptr : NULL, &m->msg_iter, in tap_sendmsg() 1241 ret = tap_do_read(q, &m->msg_iter, flags & MSG_DONTWAIT, skb); in tap_recvmsg()
|