Searched refs:BIO_MAX_VECS (Results 1 – 25 of 34) sorted by relevance
12
| /Linux-v5.15/fs/crypto/ |
| D | bio.c | 55 bio = bio_alloc(GFP_NOFS, BIO_MAX_VECS); in fscrypt_zeroout_range_inline_crypt() 77 if (num_pages == BIO_MAX_VECS || !len || in fscrypt_zeroout_range_inline_crypt() 129 BUILD_BUG_ON(ARRAY_SIZE(pages) > BIO_MAX_VECS); in fscrypt_zeroout_range()
|
| /Linux-v5.15/block/ |
| D | bio.c | 41 { .nr_vecs = BIO_MAX_VECS, .name = "biovec-max" }, 54 case 129 ... BIO_MAX_VECS: in biovec_slab() 159 BIO_BUG_ON(nr_vecs > BIO_MAX_VECS); in bvec_free() 161 if (nr_vecs == BIO_MAX_VECS) in bvec_free() 196 if (*nr_vecs < BIO_MAX_VECS) { in bvec_alloc() 202 *nr_vecs = BIO_MAX_VECS; in bvec_alloc()
|
| D | fops.c | 261 nr_pages = bio_iov_vecs_to_alloc(iter, BIO_MAX_VECS); in __blkdev_direct_IO() 328 nr_pages = bio_iov_vecs_to_alloc(iter, BIO_MAX_VECS + 1); in blkdev_direct_IO() 329 if (is_sync_kiocb(iocb) && nr_pages <= BIO_MAX_VECS) in blkdev_direct_IO()
|
| D | bounce.c | 220 if (i++ < BIO_MAX_VECS) in __blk_queue_bounce()
|
| D | blk-lib.c | 300 return min(pages, (sector_t)BIO_MAX_VECS); in __blkdev_sectors_to_bio_pages()
|
| D | blk-map.c | 244 bio = bio_kmalloc(gfp_mask, iov_iter_npages(iter, BIO_MAX_VECS)); in bio_map_user_iov()
|
| D | blk-crypto-fallback.c | 222 if (++i == BIO_MAX_VECS) in blk_crypto_split_bio_if_needed()
|
| /Linux-v5.15/drivers/nvme/target/ |
| D | passthru.c | 65 max_hw_sectors = min_not_zero(BIO_MAX_VECS << (PAGE_SHIFT - 9), in nvmet_passthru_override_id_ctrl() 204 if (req->sg_cnt > BIO_MAX_VECS) in nvmet_passthru_map_sg()
|
| /Linux-v5.15/fs/squashfs/ |
| D | block.c | 89 if (page_count <= BIO_MAX_VECS) in squashfs_bio_read()
|
| /Linux-v5.15/include/linux/ |
| D | bio.h | 22 #define BIO_MAX_VECS 256U macro 26 return min(nr_segs, BIO_MAX_VECS); in bio_max_segs()
|
| /Linux-v5.15/fs/iomap/ |
| D | direct-io.c | 299 nr_pages = bio_iov_vecs_to_alloc(dio->submit.iter, BIO_MAX_VECS); in iomap_dio_bio_iter() 341 BIO_MAX_VECS); in iomap_dio_bio_iter()
|
| D | buffered-io.c | 1183 bio = bio_alloc_bioset(GFP_NOFS, BIO_MAX_VECS, &iomap_ioend_bioset); in iomap_alloc_ioend() 1213 new = bio_alloc(GFP_NOFS, BIO_MAX_VECS); in iomap_chain_bio()
|
| /Linux-v5.15/fs/f2fs/ |
| D | segment.h | 864 return 8 * BIO_MAX_VECS; in nr_pages_to_skip() 881 desired = BIO_MAX_VECS; in nr_pages_to_write()
|
| /Linux-v5.15/fs/ext4/ |
| D | page-io.c | 401 bio = bio_alloc(GFP_NOIO, BIO_MAX_VECS); in io_submit_init_bio()
|
| /Linux-v5.15/fs/nilfs2/ |
| D | segbuf.c | 402 wi->max_pages = BIO_MAX_VECS; in nilfs_segbuf_prepare_write()
|
| /Linux-v5.15/fs/ |
| D | mpage.c | 619 BIO_MAX_VECS, GFP_NOFS|__GFP_HIGH); in __mpage_writepage()
|
| /Linux-v5.15/drivers/md/ |
| D | dm-crypt.c | 232 #define DM_CRYPT_MIN_PAGES_PER_CLIENT (BIO_MAX_VECS * 16) 3253 ret = mempool_init(&cc->page_pool, BIO_MAX_VECS, crypt_page_alloc, crypt_page_free, cc); in crypt_ctr() 3394 if (unlikely(bio->bi_iter.bi_size > (BIO_MAX_VECS << PAGE_SHIFT)) && in crypt_map() 3396 dm_accept_partial_bio(bio, ((BIO_MAX_VECS << PAGE_SHIFT) >> SECTOR_SHIFT)); in crypt_map()
|
| D | dm-writecache.c | 2046 g->wc_list_contiguous = BIO_MAX_VECS; in writecache_writeback() 2049 if (unlikely(e->wc_list_contiguous == BIO_MAX_VECS)) { in writecache_writeback()
|
| D | raid5-cache.c | 738 struct bio *bio = bio_alloc_bioset(GFP_NOIO, BIO_MAX_VECS, &log->bs); in r5l_bio_alloc() 1637 ctx->ra_bio = bio_alloc_bioset(GFP_KERNEL, BIO_MAX_VECS, &log->bs); in r5l_recovery_allocate_ra_pool()
|
| D | raid5-ppl.c | 499 bio = bio_alloc_bioset(GFP_NOIO, BIO_MAX_VECS, in ppl_submit_iounit()
|
| /Linux-v5.15/fs/gfs2/ |
| D | lops.c | 268 struct bio *bio = bio_alloc(GFP_NOIO, BIO_MAX_VECS); in gfs2_log_alloc_bio()
|
| /Linux-v5.15/fs/erofs/ |
| D | zdata.c | 1316 bio = bio_alloc(GFP_NOIO, BIO_MAX_VECS); in z_erofs_submit_queue()
|
| /Linux-v5.15/drivers/md/bcache/ |
| D | request.c | 896 size_limit = min_t(unsigned int, BIO_MAX_VECS * PAGE_SECTORS, in cached_dev_cache_miss()
|
| /Linux-v5.15/fs/zonefs/ |
| D | super.c | 691 nr_pages = iov_iter_npages(from, BIO_MAX_VECS); in zonefs_file_dio_append()
|
| /Linux-v5.15/drivers/block/drbd/ |
| D | drbd_int.h | 1327 #if DRBD_MAX_BIO_SIZE > (BIO_MAX_VECS << PAGE_SHIFT)
|
12