Searched refs:bio_max_segs (Results 1 – 19 of 19) sorted by relevance
/Linux-v5.15/drivers/nvme/target/ |
D | io-cmd-bdev.c | 194 bio_max_segs(req->metadata_sg_cnt)); in nvmet_bdev_alloc_bip() 271 bio = bio_alloc(GFP_KERNEL, bio_max_segs(sg_cnt)); in nvmet_bdev_execute_rw() 298 bio = bio_alloc(GFP_KERNEL, bio_max_segs(sg_cnt)); in nvmet_bdev_execute_rw()
|
D | passthru.c | 211 bio = bio_alloc(GFP_KERNEL, bio_max_segs(req->sg_cnt)); in nvmet_passthru_map_sg()
|
/Linux-v5.15/fs/xfs/ |
D | xfs_bio_io.c | 9 return bio_max_segs(howmany(count, PAGE_SIZE)); in bio_max_vecs()
|
D | xfs_buf.c | 1441 nr_pages = bio_max_segs(total_nr_pages); in xfs_buf_ioapply_map()
|
/Linux-v5.15/drivers/md/ |
D | dm-log-writes.c | 274 bio_pages = bio_max_segs(DIV_ROUND_UP(datalen, PAGE_SIZE)); in write_inline_data() 366 bio = bio_alloc(GFP_KERNEL, bio_max_segs(block->vec_cnt)); in log_one_block() 389 bio_max_segs(block->vec_cnt - i)); in log_one_block()
|
D | dm-io.c | 344 num_bvecs = bio_max_segs(dm_sector_div_up(remaining, in do_region()
|
/Linux-v5.15/fs/ext4/ |
D | readpage.c | 374 bio = bio_alloc(GFP_KERNEL, bio_max_segs(nr_pages)); in ext4_mpage_readpages()
|
/Linux-v5.15/drivers/target/ |
D | target_core_iblock.c | 354 bio = bio_alloc_bioset(GFP_NOIO, bio_max_segs(sg_num), in iblock_get_bio() 677 bip = bio_integrity_alloc(bio, GFP_NOIO, bio_max_segs(cmd->t_prot_nents)); in iblock_alloc_bip()
|
D | target_core_pscsi.c | 883 nr_vecs = bio_max_segs(nr_pages); in pscsi_map_sg()
|
/Linux-v5.15/block/ |
D | blk-map.c | 152 nr_pages = bio_max_segs(DIV_ROUND_UP(offset + len, PAGE_SIZE)); in bio_copy_user_iov()
|
D | fops.c | 332 return __blkdev_direct_IO(iocb, iter, bio_max_segs(nr_pages)); in blkdev_direct_IO()
|
/Linux-v5.15/fs/ |
D | mpage.c | 307 bio_max_segs(args->nr_pages), gfp); in do_mpage_readpage()
|
D | direct-io.c | 698 nr_pages = bio_max_segs(sdio->pages_in_io); in dio_new_bio()
|
/Linux-v5.15/include/linux/ |
D | bio.h | 24 static inline unsigned int bio_max_segs(unsigned int nr_segs) in bio_max_segs() function
|
/Linux-v5.15/fs/nfs/blocklayout/ |
D | blocklayout.c | 124 npg = bio_max_segs(npg); in bl_alloc_init_bio()
|
/Linux-v5.15/drivers/block/xen-blkback/ |
D | blkback.c | 1329 bio = bio_alloc(GFP_KERNEL, bio_max_segs(nseg - i)); in dispatch_rw_block_io()
|
/Linux-v5.15/fs/iomap/ |
D | buffered-io.c | 291 ctx->bio = bio_alloc(gfp, bio_max_segs(nr_vecs)); in iomap_readpage_iter()
|
/Linux-v5.15/fs/f2fs/ |
D | node.c | 2820 nrpages = bio_max_segs(last_offset - i); in f2fs_restore_node_summary()
|
D | data.c | 989 bio_max_segs(nr_pages), &f2fs_bioset); in f2fs_grab_read_bio()
|