Searched refs:bio_max_segs (Results 1 – 19 of 19) sorted by relevance
| /linux/drivers/nvme/target/ |
| H A D | io-cmd-bdev.c | 205 bio_max_segs(req->metadata_sg_cnt)); in nvmet_bdev_alloc_bip() 286 bio = bio_alloc(req->ns->bdev, bio_max_segs(sg_cnt), opf, in nvmet_bdev_execute_rw() 312 bio = bio_alloc(req->ns->bdev, bio_max_segs(sg_cnt), in nvmet_bdev_execute_rw()
|
| H A D | passthru.c | 276 bio = bio_alloc(NULL, bio_max_segs(req->sg_cnt), req_op(rq), in nvmet_passthru_map_sg()
|
| /linux/fs/xfs/ |
| H A D | xfs_bio_io.c | 9 return bio_max_segs(howmany(count, PAGE_SIZE)); in bio_max_vecs()
|
| /linux/fs/iomap/ |
| H A D | bio.c | 101 bio = bio_alloc(iomap->bdev, bio_max_segs(nr_vecs), REQ_OP_READ, in iomap_bio_read_folio_range()
|
| /linux/drivers/md/ |
| H A D | dm-log-writes.c | 269 bio_pages = bio_max_segs(DIV_ROUND_UP(datalen, PAGE_SIZE)); in write_inline_data() 354 bio = bio_alloc(lc->logdev->bdev, bio_max_segs(block->vec_cnt), in log_one_block() 372 bio_max_segs(block->vec_cnt - i), in log_one_block()
|
| H A D | dm-io.c | 349 num_bvecs = bio_max_segs(dm_sector_div_up(remaining, in do_region()
|
| /linux/fs/ext4/ |
| H A D | readpage.c | 355 bio = bio_alloc(bdev, bio_max_segs(nr_pages), in ext4_mpage_readpages()
|
| /linux/drivers/target/ |
| H A D | target_core_iblock.c | 364 bio = bio_alloc_bioset(ib_dev->ibd_bd, bio_max_segs(sg_num), opf, in iblock_get_bio() 704 bip = bio_integrity_alloc(bio, GFP_NOIO, bio_max_segs(cmd->t_prot_nents)); in iblock_alloc_bip()
|
| H A D | target_core_pscsi.c | 861 nr_vecs = bio_max_segs(nr_pages); in pscsi_map_sg()
|
| /linux/fs/ |
| H A D | mpage.c | 287 args->bio = bio_alloc(bdev, bio_max_segs(args->nr_pages), opf, in do_mpage_readpage()
|
| H A D | direct-io.c | 673 nr_pages = bio_max_segs(sdio->pages_in_io); in dio_new_bio()
|
| /linux/block/ |
| H A D | blk-map.c | 173 nr_pages = bio_max_segs(DIV_ROUND_UP(offset + len, PAGE_SIZE)); in bio_copy_user_iov()
|
| H A D | fops.c | 436 return __blkdev_direct_IO(iocb, iter, bdev, bio_max_segs(nr_pages)); in blkdev_direct_IO()
|
| /linux/include/linux/ |
| H A D | bio.h | 18 static inline unsigned int bio_max_segs(unsigned int nr_segs) in bio_max_segs() function
|
| /linux/fs/nfs/blocklayout/ |
| H A D | blocklayout.c | 157 bio = bio_alloc(map->bdev, bio_max_segs(npg), op, GFP_NOIO); in do_add_page_to_bio()
|
| /linux/drivers/block/xen-blkback/ |
| H A D | blkback.c | 1433 bio = bio_alloc(preq.bdev, bio_max_segs(nseg - i), in dispatch_rw_block_io()
|
| /linux/fs/ntfs3/ |
| H A D | inode.c | 635 bio = bio_alloc(iomap->bdev, bio_max_segs(nr_vecs), REQ_OP_READ, in ntfs_iomap_bio_read_folio_range()
|
| /linux/fs/f2fs/ |
| H A D | node.c | 2976 nrpages = bio_max_segs(last_offset - i); in f2fs_restore_node_summary()
|
| H A D | data.c | 1111 bio = bio_alloc_bioset(bdev, bio_max_segs(nr_pages), in f2fs_grab_read_bio()
|