Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/nvme/target/
Dio-cmd-bdev.c194 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()
Dpassthru.c211 bio = bio_alloc(GFP_KERNEL, bio_max_segs(req->sg_cnt)); in nvmet_passthru_map_sg()
/Linux-v5.15/fs/xfs/
Dxfs_bio_io.c9 return bio_max_segs(howmany(count, PAGE_SIZE)); in bio_max_vecs()
Dxfs_buf.c1441 nr_pages = bio_max_segs(total_nr_pages); in xfs_buf_ioapply_map()
/Linux-v5.15/drivers/md/
Ddm-log-writes.c274 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()
Ddm-io.c344 num_bvecs = bio_max_segs(dm_sector_div_up(remaining, in do_region()
/Linux-v5.15/fs/ext4/
Dreadpage.c374 bio = bio_alloc(GFP_KERNEL, bio_max_segs(nr_pages)); in ext4_mpage_readpages()
/Linux-v5.15/drivers/target/
Dtarget_core_iblock.c354 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()
Dtarget_core_pscsi.c883 nr_vecs = bio_max_segs(nr_pages); in pscsi_map_sg()
/Linux-v5.15/block/
Dblk-map.c152 nr_pages = bio_max_segs(DIV_ROUND_UP(offset + len, PAGE_SIZE)); in bio_copy_user_iov()
Dfops.c332 return __blkdev_direct_IO(iocb, iter, bio_max_segs(nr_pages)); in blkdev_direct_IO()
/Linux-v5.15/fs/
Dmpage.c307 bio_max_segs(args->nr_pages), gfp); in do_mpage_readpage()
Ddirect-io.c698 nr_pages = bio_max_segs(sdio->pages_in_io); in dio_new_bio()
/Linux-v5.15/include/linux/
Dbio.h24 static inline unsigned int bio_max_segs(unsigned int nr_segs) in bio_max_segs() function
/Linux-v5.15/fs/nfs/blocklayout/
Dblocklayout.c124 npg = bio_max_segs(npg); in bl_alloc_init_bio()
/Linux-v5.15/drivers/block/xen-blkback/
Dblkback.c1329 bio = bio_alloc(GFP_KERNEL, bio_max_segs(nseg - i)); in dispatch_rw_block_io()
/Linux-v5.15/fs/iomap/
Dbuffered-io.c291 ctx->bio = bio_alloc(gfp, bio_max_segs(nr_vecs)); in iomap_readpage_iter()
/Linux-v5.15/fs/f2fs/
Dnode.c2820 nrpages = bio_max_segs(last_offset - i); in f2fs_restore_node_summary()
Ddata.c989 bio_max_segs(nr_pages), &f2fs_bioset); in f2fs_grab_read_bio()