Lines Matching refs:bv_len
151 return bvec->bv_len != PAGE_SIZE; in is_partial_io()
186 *index += (*offset + bvec->bv_len) / PAGE_SIZE; in update_position()
187 *offset = (*offset + bvec->bv_len) % PAGE_SIZE; in update_position()
626 if (!bio_add_page(bio, bvec->bv_page, bvec->bv_len, bvec->bv_offset)) { in read_from_bdev_async()
700 bvec.bv_len = PAGE_SIZE; in writeback_store()
755 bio_add_page(&bio, bvec.bv_page, bvec.bv_len, in writeback_store()
1273 bvec.bv_len = PAGE_SIZE; in __zram_bvec_read()
1342 memcpy(dst + bvec->bv_offset, src + offset, bvec->bv_len); in zram_bvec_read()
1495 memcpy(dst + offset, src + bvec->bv_offset, bvec->bv_len); in zram_bvec_write()
1500 vec.bv_len = PAGE_SIZE; in zram_bvec_write()
1607 unsigned int unwritten = bvec.bv_len; in __zram_make_request()
1610 bv.bv_len = min_t(unsigned int, PAGE_SIZE - offset, in __zram_make_request()
1618 bv.bv_offset += bv.bv_len; in __zram_make_request()
1619 unwritten -= bv.bv_len; in __zram_make_request()
1685 bv.bv_len = PAGE_SIZE; in zram_rw_page()