Lines Matching refs:bv_len
147 return bvec->bv_len != PAGE_SIZE; in is_partial_io()
182 *index += (*offset + bvec->bv_len) / PAGE_SIZE; in update_position()
183 *offset = (*offset + bvec->bv_len) % PAGE_SIZE; in update_position()
600 if (!bio_add_page(bio, bvec->bv_page, bvec->bv_len, bvec->bv_offset)) { in read_from_bdev_async()
661 bvec.bv_len = PAGE_SIZE; in writeback_store()
716 bio_add_page(&bio, bvec.bv_page, bvec.bv_len, in writeback_store()
1228 bvec.bv_len = PAGE_SIZE; in __zram_bvec_read()
1296 memcpy(dst + bvec->bv_offset, src + offset, bvec->bv_len); in zram_bvec_read()
1448 memcpy(dst + offset, src + bvec->bv_offset, bvec->bv_len); in zram_bvec_write()
1453 vec.bv_len = PAGE_SIZE; in zram_bvec_write()
1514 generic_start_io_acct(q, op, bvec->bv_len >> SECTOR_SHIFT, in zram_bvec_rw()
1565 unsigned int unwritten = bvec.bv_len; in __zram_make_request()
1568 bv.bv_len = min_t(unsigned int, PAGE_SIZE - offset, in __zram_make_request()
1574 bv.bv_offset += bv.bv_len; in __zram_make_request()
1575 unwritten -= bv.bv_len; in __zram_make_request()
1648 bv.bv_len = PAGE_SIZE; in zram_rw_page()