Searched refs:BIO_MAX_VECS (Results 1 – 25 of 36) sorted by relevance
12
/linux/fs/crypto/ |
A D | bio.c | 57 bio = bio_alloc(GFP_NOFS, BIO_MAX_VECS); in fscrypt_zeroout_range_inline_crypt() 79 if (num_pages == BIO_MAX_VECS || !len || in fscrypt_zeroout_range_inline_crypt() 131 BUILD_BUG_ON(ARRAY_SIZE(pages) > BIO_MAX_VECS); in fscrypt_zeroout_range()
|
/linux/block/ |
A D | bio.c | 41 { .nr_vecs = BIO_MAX_VECS, .name = "biovec-max" }, 54 case 129 ... BIO_MAX_VECS: in biovec_slab() 160 BUG_ON(nr_vecs > BIO_MAX_VECS); in bvec_free() 162 if (nr_vecs == BIO_MAX_VECS) in bvec_free() 197 if (*nr_vecs < BIO_MAX_VECS) { in bvec_alloc() 203 *nr_vecs = BIO_MAX_VECS; in bvec_alloc()
|
A D | fops.c | 254 nr_pages = bio_iov_vecs_to_alloc(iter, BIO_MAX_VECS); in __blkdev_direct_IO() 380 nr_pages = bio_iov_vecs_to_alloc(iter, BIO_MAX_VECS + 1); in blkdev_direct_IO() 381 if (likely(nr_pages <= BIO_MAX_VECS)) { in blkdev_direct_IO()
|
A D | bounce.c | 221 if (i++ < BIO_MAX_VECS) in __blk_queue_bounce()
|
A D | blk-lib.c | 300 return min(pages, (sector_t)BIO_MAX_VECS); in __blkdev_sectors_to_bio_pages()
|
A D | blk-map.c | 244 bio = bio_kmalloc(gfp_mask, iov_iter_npages(iter, BIO_MAX_VECS)); in bio_map_user_iov()
|
A D | blk-crypto-fallback.c | 220 if (++i == BIO_MAX_VECS) in blk_crypto_fallback_split_bio_if_needed()
|
/linux/drivers/nvme/target/ |
A 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/fs/squashfs/ |
A D | block.c | 89 if (page_count <= BIO_MAX_VECS) in squashfs_bio_read()
|
/linux/fs/iomap/ |
A D | direct-io.c | 302 nr_pages = bio_iov_vecs_to_alloc(dio->submit.iter, BIO_MAX_VECS); in iomap_dio_bio_iter() 344 BIO_MAX_VECS); in iomap_dio_bio_iter()
|
A D | buffered-io.c | 1189 bio = bio_alloc_bioset(GFP_NOFS, BIO_MAX_VECS, &iomap_ioend_bioset); in iomap_alloc_ioend() 1219 new = bio_alloc(GFP_NOFS, BIO_MAX_VECS); in iomap_chain_bio()
|
/linux/include/linux/ |
A D | bio.h | 13 #define BIO_MAX_VECS 256U macro 17 return min(nr_segs, BIO_MAX_VECS); in bio_max_segs()
|
/linux/fs/f2fs/ |
A D | segment.h | 865 return 8 * BIO_MAX_VECS; in nr_pages_to_skip() 882 desired = BIO_MAX_VECS; in nr_pages_to_write()
|
/linux/fs/nilfs2/ |
A D | segbuf.c | 402 wi->max_pages = BIO_MAX_VECS; in nilfs_segbuf_prepare_write()
|
/linux/fs/ext4/ |
A D | page-io.c | 401 bio = bio_alloc(GFP_NOIO, BIO_MAX_VECS); in io_submit_init_bio()
|
/linux/fs/ |
A D | mpage.c | 619 BIO_MAX_VECS, GFP_NOFS|__GFP_HIGH); in __mpage_writepage()
|
/linux/drivers/md/ |
A D | dm-crypt.c | 235 #define DM_CRYPT_MIN_PAGES_PER_CLIENT (BIO_MAX_VECS * 16) 3266 ret = mempool_init(&cc->page_pool, BIO_MAX_VECS, crypt_page_alloc, crypt_page_free, cc); in crypt_ctr() 3408 if (unlikely(bio->bi_iter.bi_size > (BIO_MAX_VECS << PAGE_SHIFT)) && in crypt_map() 3410 dm_accept_partial_bio(bio, ((BIO_MAX_VECS << PAGE_SHIFT) >> SECTOR_SHIFT)); in crypt_map()
|
A 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()
|
A 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()
|
A D | raid5-ppl.c | 499 bio = bio_alloc_bioset(GFP_NOIO, BIO_MAX_VECS, in ppl_submit_iounit()
|
/linux/fs/gfs2/ |
A D | lops.c | 268 struct bio *bio = bio_alloc(GFP_NOIO, BIO_MAX_VECS); in gfs2_log_alloc_bio()
|
A D | file.c | 790 pages = min_t(int, BIO_MAX_VECS, DIV_ROUND_UP(count, PAGE_SIZE)); in should_fault_in_pages()
|
/linux/fs/btrfs/ |
A D | scrub.c | 1425 bio = btrfs_bio_alloc(BIO_MAX_VECS); in scrub_recheck_block_on_raid56() 2228 bio = btrfs_bio_alloc(BIO_MAX_VECS); in scrub_missing_raid56_pages() 2844 bio = btrfs_bio_alloc(BIO_MAX_VECS); in scrub_parity_check_and_repair()
|
A D | compression.c | 466 bio = btrfs_bio_alloc(BIO_MAX_VECS); in alloc_compressed_bio()
|
/linux/fs/erofs/ |
A D | zdata.c | 1304 bio = bio_alloc(GFP_NOIO, BIO_MAX_VECS); in z_erofs_submit_queue()
|
Completed in 64 milliseconds
12