Lines Matching refs:buf_bytes
732 unsigned buf_bytes)
734 unsigned nr_vecs = DIV_ROUND_UP(buf_bytes, PAGE_SIZE);
743 if (bch2_bio_alloc_pages(&m->op.wbio.bio, buf_bytes, GFP_KERNEL)) {
751 m->rbio.bio.bi_iter.bi_size = buf_bytes;
765 unsigned buf_bytes = 0;
767 buf_bytes = max_t(unsigned, buf_bytes, p.crc.uncompressed_size << 9);
769 return __bch2_data_update_bios_init(m, c, io_opts, buf_bytes);
869 unsigned buf_bytes = 0;
901 buf_bytes = max_t(unsigned, buf_bytes, p.crc.uncompressed_size << 9);
991 ret = __bch2_data_update_bios_init(m, c, io_opts, buf_bytes);