Home
last modified time | relevance | path

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

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

Completed in 44 milliseconds