Searched refs:bio_max_segs (Results 1 – 11 of 11) sorted by relevance
| /linux/fs/ntfs/ |
| H A D | bdev-io.c | 47 bio_max_segs(DIV_ROUND_UP(size, PAGE_SIZE)), in ntfs_bdev_read() 57 bio_max_segs(DIV_ROUND_UP(size - done, PAGE_SIZE)), in ntfs_bdev_read()
|
| /linux/fs/iomap/ |
| H A D | bio.c | 122 bio = bio_alloc_bioset(iomap->bdev, bio_max_segs(nr_vecs), REQ_OP_READ, in iomap_read_alloc_bio()
|
| /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/ |
| H A D | mpage.c | 286 args->bio = bio_alloc(bdev, bio_max_segs(args->nr_pages), opf, in do_mpage_readpage()
|
| /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/drivers/nvme/target/ |
| 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/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/drivers/target/ |
| H A D | target_core_pscsi.c | 861 nr_vecs = bio_max_segs(nr_pages); in pscsi_map_sg()
|
| /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()
|