Lines Matching refs:bv_len
153 bv.bv_len = min(iov_iter_count(it), in do_try_sendpage()
154 it->bvec->bv_len - it->iov_offset); in do_try_sendpage()
167 bv.bv_offset, bv.bv_len, in do_try_sendpage()
170 iov_iter_bvec(&msg.msg_iter, WRITE, &bv, 1, bv.bv_len); in do_try_sendpage()
235 iov_iter_bvec(&con->v2.in_iter, READ, &con->v2.in_bvec, 1, bv->bv_len); in set_in_bvec()
280 con->v2.out_bvec.bv_len); in set_out_bvec()
290 con->v2.out_bvec.bv_len = min(con->v2.out_zero, (int)PAGE_SIZE); in set_out_bvec_zero()
293 con->v2.out_bvec.bv_len); in set_out_bvec_zero()
868 bv->bv_len = len; in get_bvec_at()
903 ceph_msg_data_advance(cursor, bv.bv_len); in calc_sg_cnt_cursor()
951 sg_set_page(*sg, bv.bv_page, bv.bv_len, bv.bv_offset); in init_sgs_cursor()
954 ceph_msg_data_advance(cursor, bv.bv_len); in init_sgs_cursor()
1758 con->v2.in_bvec.bv_len); in prepare_read_data_cont()
1760 ceph_msg_data_advance(&con->v2.in_cursor, con->v2.in_bvec.bv_len); in prepare_read_data_cont()
2873 con->v2.out_bvec.bv_offset, con->v2.out_bvec.bv_len); in queue_data_cont()
2875 ceph_msg_data_advance(&con->v2.out_cursor, con->v2.out_bvec.bv_len); in queue_data_cont()
2902 bv.bv_len = min(con->v2.out_enc_resid, (int)PAGE_SIZE); in queue_enc_page()
2906 con->v2.out_enc_resid -= bv.bv_len; in queue_enc_page()
2927 con->v2.out_zero -= con->v2.out_bvec.bv_len; in queue_zeros()
3223 WARN_ON(!resid || resid > con->v2.out_bvec.bv_len); in revoke_at_queue_data_cont()
3224 sent = con->v2.out_bvec.bv_len - resid; in revoke_at_queue_data_cont()
3358 WARN_ON(!resid || resid > con->v2.in_bvec.bv_len); in revoke_at_prepare_read_data_cont()
3359 recved = con->v2.in_bvec.bv_len - resid; in revoke_at_prepare_read_data_cont()