Lines Matching defs:bv
146 struct bio_vec bv;
154 bvec_set_page(&bv, it->bvec->bv_page,
168 if (sendpage_ok(bv.bv_page))
173 iov_iter_bvec(&msg.msg_iter, ITER_SOURCE, &bv, 1, bv.bv_len);
232 static void set_in_bvec(struct ceph_connection *con, const struct bio_vec *bv)
236 con->v2.in_bvec = *bv;
237 iov_iter_bvec(&con->v2.in_iter, ITER_DEST, &con->v2.in_bvec, 1, bv->bv_len);
273 static void set_out_bvec(struct ceph_connection *con, const struct bio_vec *bv,
279 con->v2.out_bvec = *bv;
860 struct bio_vec *bv)
873 bvec_set_page(bv, page, len, off);
897 struct bio_vec bv;
905 get_bvec_at(cursor, &bv);
908 ceph_msg_data_advance(cursor, bv.bv_len);
949 struct bio_vec bv;
955 get_bvec_at(cursor, &bv);
956 sg_set_page(*sg, bv.bv_page, bv.bv_len, bv.bv_offset);
959 ceph_msg_data_advance(cursor, bv.bv_len);
1112 struct bio_vec bv;
1114 get_bvec_at(cursor, &bv);
1115 len = min_t(int, len, bv.bv_len);
1116 memcpy_page(bv.bv_page, bv.bv_offset,
1862 struct bio_vec bv;
1868 get_bvec_at(&con->v2.in_cursor, &bv);
1878 bv.bv_page = con->bounce_page;
1879 bv.bv_offset = 0;
1881 set_in_bvec(con, &bv);
1888 struct bio_vec bv;
1895 get_bvec_at(&con->v2.in_cursor, &bv);
1896 memcpy_to_page(bv.bv_page, bv.bv_offset,
1908 get_bvec_at(&con->v2.in_cursor, &bv);
1910 bv.bv_page = con->bounce_page;
1911 bv.bv_offset = 0;
1913 set_in_bvec(con, &bv);
1929 struct bio_vec bv;
1940 get_bvec_at(cursor, &bv);
1941 memcpy_to_page(bv.bv_page, bv.bv_offset,
1957 get_bvec_at(cursor, &bv);
1958 if (bv.bv_len > cursor->sr_resid)
1959 bv.bv_len = cursor->sr_resid;
1961 bv.bv_page = con->bounce_page;
1962 bv.bv_offset = 0;
1964 set_in_bvec(con, &bv);
1965 con->v2.data_len_remain -= bv.bv_len;
2005 get_bvec_at(cursor, &bv);
2006 if (bv.bv_len > cursor->sr_resid)
2007 bv.bv_len = cursor->sr_resid;
2017 bv.bv_page = con->bounce_page;
2018 bv.bv_offset = 0;
2020 set_in_bvec(con, &bv);
2079 struct bio_vec bv;
2085 bvec_set_page(&bv, con->v2.in_enc_pages[con->v2.in_enc_i],
2088 set_in_bvec(con, &bv);
2090 con->v2.in_enc_resid -= bv.bv_len;
3189 struct bio_vec bv;
3195 get_bvec_at(&con->v2.out_cursor, &bv);
3196 set_out_bvec(con, &bv, true);
3202 struct bio_vec bv;
3210 get_bvec_at(&con->v2.out_cursor, &bv);
3211 set_out_bvec(con, &bv, true);
3227 struct bio_vec bv;
3233 bvec_set_page(&bv, con->v2.out_enc_pages[con->v2.out_enc_i],
3236 set_out_bvec(con, &bv, false);
3238 con->v2.out_enc_resid -= bv.bv_len;