Home
last modified time | relevance | path

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

/linux-6.1.9/fs/xfs/
Dxfs_bio_io.c9 return bio_max_segs(howmany(count, PAGE_SIZE)); in bio_max_vecs()
Dxfs_buf.c1481 nr_pages = bio_max_segs(total_nr_pages); in xfs_buf_ioapply_map()
/linux-6.1.9/drivers/nvme/target/
Dio-cmd-bdev.c203 bio_max_segs(req->metadata_sg_cnt)); in nvmet_bdev_alloc_bip()
282 bio = bio_alloc(req->ns->bdev, bio_max_segs(sg_cnt), opf, in nvmet_bdev_execute_rw()
308 bio = bio_alloc(req->ns->bdev, bio_max_segs(sg_cnt), in nvmet_bdev_execute_rw()
Dpassthru.c273 bio = bio_alloc(NULL, bio_max_segs(req->sg_cnt), req_op(rq), in nvmet_passthru_map_sg()
/linux-6.1.9/drivers/md/
Ddm-log-writes.c268 bio_pages = bio_max_segs(DIV_ROUND_UP(datalen, PAGE_SIZE)); in write_inline_data()
353 bio = bio_alloc(lc->logdev->bdev, bio_max_segs(block->vec_cnt), in log_one_block()
371 bio_max_segs(block->vec_cnt - i), in log_one_block()
Ddm-io.c339 num_bvecs = bio_max_segs(dm_sector_div_up(remaining, in do_region()
/linux-6.1.9/fs/ext4/
Dreadpage.c370 bio = bio_alloc(bdev, bio_max_segs(nr_pages), in ext4_mpage_readpages()
/linux-6.1.9/drivers/target/
Dtarget_core_iblock.c357 bio = bio_alloc_bioset(ib_dev->ibd_bd, bio_max_segs(sg_num), opf, in iblock_get_bio()
679 bip = bio_integrity_alloc(bio, GFP_NOIO, bio_max_segs(cmd->t_prot_nents)); in iblock_alloc_bip()
Dtarget_core_pscsi.c864 nr_vecs = bio_max_segs(nr_pages); in pscsi_map_sg()
/linux-6.1.9/fs/
Dmpage.c277 args->bio = bio_alloc(bdev, bio_max_segs(args->nr_pages), opf, in do_mpage_readpage()
Ddirect-io.c690 nr_pages = bio_max_segs(sdio->pages_in_io); in dio_new_bio()
/linux-6.1.9/block/
Dblk-map.c152 nr_pages = bio_max_segs(DIV_ROUND_UP(offset + len, PAGE_SIZE)); in bio_copy_user_iov()
Dfops.c371 return __blkdev_direct_IO(iocb, iter, bio_max_segs(nr_pages)); in blkdev_direct_IO()
/linux-6.1.9/include/linux/
Dbio.h15 static inline unsigned int bio_max_segs(unsigned int nr_segs) in bio_max_segs() function
/linux-6.1.9/fs/nfs/blocklayout/
Dblocklayout.c157 bio = bio_alloc(map->bdev, bio_max_segs(npg), op, GFP_NOIO); in do_add_page_to_bio()
/linux-6.1.9/drivers/block/xen-blkback/
Dblkback.c1330 bio = bio_alloc(preq.bdev, bio_max_segs(nseg - i), in dispatch_rw_block_io()
/linux-6.1.9/fs/iomap/
Dbuffered-io.c300 ctx->bio = bio_alloc(iomap->bdev, bio_max_segs(nr_vecs), in iomap_readpage_iter()
/linux-6.1.9/fs/f2fs/
Dnode.c2829 nrpages = bio_max_segs(last_offset - i); in f2fs_restore_node_summary()
Ddata.c1036 bio = bio_alloc_bioset(bdev, bio_max_segs(nr_pages), in f2fs_grab_read_bio()