Searched refs:bio_max_segs (Results 1 – 19 of 19) sorted by relevance
/linux-6.1.9/fs/xfs/ |
D | xfs_bio_io.c | 9 return bio_max_segs(howmany(count, PAGE_SIZE)); in bio_max_vecs()
|
D | xfs_buf.c | 1481 nr_pages = bio_max_segs(total_nr_pages); in xfs_buf_ioapply_map()
|
/linux-6.1.9/drivers/nvme/target/ |
D | io-cmd-bdev.c | 203 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()
|
D | passthru.c | 273 bio = bio_alloc(NULL, bio_max_segs(req->sg_cnt), req_op(rq), in nvmet_passthru_map_sg()
|
/linux-6.1.9/drivers/md/ |
D | dm-log-writes.c | 268 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()
|
D | dm-io.c | 339 num_bvecs = bio_max_segs(dm_sector_div_up(remaining, in do_region()
|
/linux-6.1.9/fs/ext4/ |
D | readpage.c | 370 bio = bio_alloc(bdev, bio_max_segs(nr_pages), in ext4_mpage_readpages()
|
/linux-6.1.9/drivers/target/ |
D | target_core_iblock.c | 357 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()
|
D | target_core_pscsi.c | 864 nr_vecs = bio_max_segs(nr_pages); in pscsi_map_sg()
|
/linux-6.1.9/fs/ |
D | mpage.c | 277 args->bio = bio_alloc(bdev, bio_max_segs(args->nr_pages), opf, in do_mpage_readpage()
|
D | direct-io.c | 690 nr_pages = bio_max_segs(sdio->pages_in_io); in dio_new_bio()
|
/linux-6.1.9/block/ |
D | blk-map.c | 152 nr_pages = bio_max_segs(DIV_ROUND_UP(offset + len, PAGE_SIZE)); in bio_copy_user_iov()
|
D | fops.c | 371 return __blkdev_direct_IO(iocb, iter, bio_max_segs(nr_pages)); in blkdev_direct_IO()
|
/linux-6.1.9/include/linux/ |
D | bio.h | 15 static inline unsigned int bio_max_segs(unsigned int nr_segs) in bio_max_segs() function
|
/linux-6.1.9/fs/nfs/blocklayout/ |
D | blocklayout.c | 157 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/ |
D | blkback.c | 1330 bio = bio_alloc(preq.bdev, bio_max_segs(nseg - i), in dispatch_rw_block_io()
|
/linux-6.1.9/fs/iomap/ |
D | buffered-io.c | 300 ctx->bio = bio_alloc(iomap->bdev, bio_max_segs(nr_vecs), in iomap_readpage_iter()
|
/linux-6.1.9/fs/f2fs/ |
D | node.c | 2829 nrpages = bio_max_segs(last_offset - i); in f2fs_restore_node_summary()
|
D | data.c | 1036 bio = bio_alloc_bioset(bdev, bio_max_segs(nr_pages), in f2fs_grab_read_bio()
|