Searched refs:bio_max_segs (Results 1 - 19 of 19) sorted by relevance
/linux-master/fs/xfs/ |
H A D | xfs_bio_io.c | 9 return bio_max_segs(howmany(count, PAGE_SIZE));
|
H A D | xfs_buf.c | 1554 nr_pages = bio_max_segs(total_nr_pages);
|
/linux-master/drivers/nvme/target/ |
H A D | io-cmd-bdev.c | 205 bio_max_segs(req->metadata_sg_cnt)); 283 bio = bio_alloc(req->ns->bdev, bio_max_segs(sg_cnt), opf, 309 bio = bio_alloc(req->ns->bdev, bio_max_segs(sg_cnt),
|
H A D | passthru.c | 274 bio = bio_alloc(NULL, bio_max_segs(req->sg_cnt), req_op(rq),
|
/linux-master/fs/ext4/ |
H A D | readpage.c | 354 bio = bio_alloc(bdev, bio_max_segs(nr_pages),
|
/linux-master/drivers/md/ |
H A D | dm-log-writes.c | 269 bio_pages = bio_max_segs(DIV_ROUND_UP(datalen, PAGE_SIZE)); 354 bio = bio_alloc(lc->logdev->bdev, bio_max_segs(block->vec_cnt), 372 bio_max_segs(block->vec_cnt - i),
|
H A D | dm-io.c | 349 num_bvecs = bio_max_segs(dm_sector_div_up(remaining,
|
/linux-master/drivers/target/ |
H A D | target_core_iblock.c | 367 bio = bio_alloc_bioset(ib_dev->ibd_bd, bio_max_segs(sg_num), opf, 689 bip = bio_integrity_alloc(bio, GFP_NOIO, bio_max_segs(cmd->t_prot_nents));
|
H A D | target_core_pscsi.c | 861 nr_vecs = bio_max_segs(nr_pages);
|
/linux-master/include/linux/ |
H A D | bio.h | 17 static inline unsigned int bio_max_segs(unsigned int nr_segs) function
|
/linux-master/block/ |
H A D | blk-map.c | 154 nr_pages = bio_max_segs(DIV_ROUND_UP(offset + len, PAGE_SIZE));
|
H A D | fops.c | 382 return __blkdev_direct_IO(iocb, iter, bio_max_segs(nr_pages));
|
/linux-master/fs/ |
H A D | mpage.c | 297 args->bio = bio_alloc(bdev, bio_max_segs(args->nr_pages), opf,
|
H A D | direct-io.c | 674 nr_pages = bio_max_segs(sdio->pages_in_io);
|
/linux-master/fs/nfs/blocklayout/ |
H A D | blocklayout.c | 157 bio = bio_alloc(map->bdev, bio_max_segs(npg), op, GFP_NOIO);
|
/linux-master/drivers/block/xen-blkback/ |
H A D | blkback.c | 1434 bio = bio_alloc(preq.bdev, bio_max_segs(nseg - i),
|
/linux-master/fs/iomap/ |
H A D | buffered-io.c | 418 ctx->bio = bio_alloc(iomap->bdev, bio_max_segs(nr_vecs),
|
/linux-master/fs/f2fs/ |
H A D | node.c | 2857 nrpages = bio_max_segs(last_offset - i);
|
H A D | data.c | 1045 bio = bio_alloc_bioset(bdev, bio_max_segs(nr_pages),
|
Completed in 223 milliseconds