Lines Matching refs:in_iter

112 	     iov_iter_is_discard(&con->v2.in_iter) ? "discard" : "need",  in ceph_tcp_recv()
113 iov_iter_count(&con->v2.in_iter)); in ceph_tcp_recv()
114 ret = do_recvmsg(con->sock, &con->v2.in_iter); in ceph_tcp_recv()
116 iov_iter_count(&con->v2.in_iter)); in ceph_tcp_recv()
213 WARN_ON(!iov_iter_is_kvec(&con->v2.in_iter)); in add_in_kvec()
219 con->v2.in_iter.nr_segs++; in add_in_kvec()
220 con->v2.in_iter.count += len; in add_in_kvec()
225 WARN_ON(iov_iter_count(&con->v2.in_iter)); in reset_in_kvecs()
228 iov_iter_kvec(&con->v2.in_iter, READ, con->v2.in_kvecs, 0, 0); in reset_in_kvecs()
233 WARN_ON(iov_iter_count(&con->v2.in_iter)); in set_in_bvec()
236 iov_iter_bvec(&con->v2.in_iter, READ, &con->v2.in_bvec, 1, bv->bv_len); in set_in_bvec()
241 WARN_ON(iov_iter_count(&con->v2.in_iter)); in set_in_skip()
244 iov_iter_discard(&con->v2.in_iter, READ, len); in set_in_skip()
2866 WARN_ON(iov_iter_count(&con->v2.in_iter)); in populate_in_iter()
2916 if (WARN_ON(!iov_iter_count(&con->v2.in_iter))) in populate_in_iter()
2919 iov_iter_count(&con->v2.in_iter)); in populate_in_iter()
2928 iov_iter_count(&con->v2.in_iter)); in ceph_con_v2_try_read()
2938 if (WARN_ON(!iov_iter_count(&con->v2.in_iter))) in ceph_con_v2_try_read()
3435 WARN_ON(!iov_iter_is_kvec(&con->v2.in_iter)); in revoke_at_prepare_read_data()
3436 resid = iov_iter_count(&con->v2.in_iter); in revoke_at_prepare_read_data()
3442 con->v2.in_iter.count -= resid; in revoke_at_prepare_read_data()
3454 WARN_ON(!iov_iter_is_bvec(&con->v2.in_iter)); in revoke_at_prepare_read_data_cont()
3455 resid = iov_iter_count(&con->v2.in_iter); in revoke_at_prepare_read_data_cont()
3467 con->v2.in_iter.count -= resid; in revoke_at_prepare_read_data_cont()
3477 WARN_ON(!iov_iter_is_bvec(&con->v2.in_iter)); in revoke_at_prepare_read_enc_page()
3478 resid = iov_iter_count(&con->v2.in_iter); in revoke_at_prepare_read_enc_page()
3483 con->v2.in_iter.count -= resid; in revoke_at_prepare_read_enc_page()
3492 resid = iov_iter_count(&con->v2.in_iter); in revoke_at_handle_epilogue()
3496 con->v2.in_iter.count -= resid; in revoke_at_handle_epilogue()
3538 iov_iter_truncate(&con->v2.in_iter, 0); in ceph_con_v2_reset_protocol()