Home
last modified time | relevance | path

Searched refs:buf_bytes (Results 1 – 1 of 1) sorted by relevance

/fs/bcachefs/
A Ddata_update.c732 unsigned buf_bytes) in __bch2_data_update_bios_init() argument
734 unsigned nr_vecs = DIV_ROUND_UP(buf_bytes, PAGE_SIZE); in __bch2_data_update_bios_init()
743 if (bch2_bio_alloc_pages(&m->op.wbio.bio, buf_bytes, GFP_KERNEL)) { in __bch2_data_update_bios_init()
751 m->rbio.bio.bi_iter.bi_size = buf_bytes; in __bch2_data_update_bios_init()
765 unsigned buf_bytes = 0; in bch2_data_update_bios_init() local
767 buf_bytes = max_t(unsigned, buf_bytes, p.crc.uncompressed_size << 9); in bch2_data_update_bios_init()
769 return __bch2_data_update_bios_init(m, c, io_opts, buf_bytes); in bch2_data_update_bios_init()
869 unsigned buf_bytes = 0; in bch2_data_update_init() local
901 buf_bytes = max_t(unsigned, buf_bytes, p.crc.uncompressed_size << 9); in bch2_data_update_init()
991 ret = __bch2_data_update_bios_init(m, c, io_opts, buf_bytes); in bch2_data_update_init()

Completed in 4 milliseconds