Home
last modified time | relevance | path

Searched refs:bio_alloc (Results 1 – 25 of 45) sorted by relevance

12

/linux-5.19.10/fs/xfs/
Dxfs_bio_io.c29 bio = bio_alloc(bdev, bio_max_vecs(left), op | REQ_META | REQ_SYNC, in xfs_rw_bdev()
41 bio = bio_alloc(prev->bi_bdev, bio_max_vecs(left), in xfs_rw_bdev()
/linux-5.19.10/fs/crypto/
Dbio.c57 bio = bio_alloc(inode->i_sb->s_bdev, BIO_MAX_VECS, REQ_OP_WRITE, in fscrypt_zeroout_range_inline_crypt()
152 bio = bio_alloc(inode->i_sb->s_bdev, nr_pages, REQ_OP_WRITE, GFP_NOFS); in fscrypt_zeroout_range()
/linux-5.19.10/drivers/nvdimm/
Dnd_virtio.c108 struct bio *child = bio_alloc(bio->bi_bdev, 0, REQ_PREFLUSH, in async_pmem_flush()
/linux-5.19.10/drivers/md/
Ddm-log-writes.c220 bio = bio_alloc(lc->logdev->bdev, 1, REQ_OP_WRITE, GFP_KERNEL); in write_metadata()
272 bio = bio_alloc(lc->logdev->bdev, bio_pages, REQ_OP_WRITE, in write_inline_data()
353 bio = bio_alloc(lc->logdev->bdev, bio_max_segs(block->vec_cnt), in log_one_block()
370 bio = bio_alloc(lc->logdev->bdev, in log_one_block()
/linux-5.19.10/drivers/nvme/target/
Dio-cmd-bdev.c282 bio = bio_alloc(req->ns->bdev, bio_max_segs(sg_cnt), op, in nvmet_bdev_execute_rw()
308 bio = bio_alloc(req->ns->bdev, bio_max_segs(sg_cnt), in nvmet_bdev_execute_rw()
Dpassthru.c267 bio = bio_alloc(NULL, bio_max_segs(req->sg_cnt), req_op(rq), in nvmet_passthru_map_sg()
Dzns.c574 bio = bio_alloc(req->ns->bdev, req->sg_cnt, op, GFP_KERNEL); in nvmet_bdev_execute_zone_append()
/linux-5.19.10/fs/
Dmpage.c272 args->bio = bio_alloc(bdev, bio_max_segs(args->nr_pages), op, in do_mpage_readpage()
586 bio = bio_alloc(bdev, BIO_MAX_VECS, in __mpage_writepage()
/linux-5.19.10/mm/
Dpage_io.c357 bio = bio_alloc(sis->bdev, 1, in __swap_writepage()
490 bio = bio_alloc(sis->bdev, 1, REQ_OP_READ, GFP_KERNEL); in swap_readpage()
/linux-5.19.10/fs/hfsplus/
Dwrapper.c66 bio = bio_alloc(sb->s_bdev, 1, op | op_flags, GFP_NOIO); in hfsplus_submit_bio()
/linux-5.19.10/fs/ext4/
Dreadpage.c368 bio = bio_alloc(bdev, bio_max_segs(nr_pages), in ext4_mpage_readpages()
Dpage-io.c400 bio = bio_alloc(bh->b_bdev, BIO_MAX_VECS, REQ_OP_WRITE, GFP_NOIO); in io_submit_init_bio()
/linux-5.19.10/fs/jfs/
Djfs_metapage.c420 bio = bio_alloc(inode->i_sb->s_bdev, 1, REQ_OP_WRITE, GFP_NOFS); in metapage_writepage()
499 bio = bio_alloc(inode->i_sb->s_bdev, 1, REQ_OP_READ, in metapage_read_folio()
Djfs_logmgr.c1975 bio = bio_alloc(log->bdev, 1, REQ_OP_READ, GFP_NOFS); in lbmRead()
2116 bio = bio_alloc(log->bdev, 1, REQ_OP_WRITE | REQ_SYNC, GFP_NOFS); in lbmStartIO()
/linux-5.19.10/fs/iomap/
Dbuffered-io.c295 ctx->bio = bio_alloc(iomap->bdev, bio_max_segs(nr_vecs), in iomap_readpage_iter()
303 ctx->bio = bio_alloc(iomap->bdev, 1, REQ_OP_READ, in iomap_readpage_iter()
1248 new = bio_alloc(prev->bi_bdev, BIO_MAX_VECS, prev->bi_opf, GFP_NOFS); in iomap_chain_bio()
Ddirect-io.c60 return bio_alloc(iter->iomap.bdev, nr_vecs, opf, GFP_KERNEL); in iomap_dio_alloc_bio()
/linux-5.19.10/fs/gfs2/
Dmeta_io.c227 bio = bio_alloc(bh->b_bdev, num, op | op_flags, GFP_NOIO); in gfs2_submit_bhs()
Dlops.c268 struct bio *bio = bio_alloc(sb->s_bdev, BIO_MAX_VECS, 0, GFP_NOIO); in gfs2_log_alloc_bio()
491 new = bio_alloc(prev->bi_bdev, nr_iovecs, prev->bi_opf, GFP_NOIO); in gfs2_chain_bio()
/linux-5.19.10/fs/nilfs2/
Dsegbuf.c376 wi->bio = bio_alloc(wi->nilfs->ns_bdev, wi->nr_vecs, in nilfs_segbuf_submit_bh()
/linux-5.19.10/drivers/block/xen-blkback/
Dblkback.c1330 bio = bio_alloc(preq.bdev, bio_max_segs(nseg - i), in dispatch_rw_block_io()
1346 bio = bio_alloc(preq.bdev, 0, operation | operation_flags, in dispatch_rw_block_io()
/linux-5.19.10/fs/btrfs/
Dscrub.c1413 bio = bio_alloc(first_sector->dev->bdev, BIO_MAX_VECS, REQ_OP_READ, GFP_NOFS); in scrub_recheck_block_on_raid56()
1653 sbio->bio = bio_alloc(sbio->dev->bdev, sctx->sectors_per_bio, in scrub_add_sector_to_wr_bio()
2074 sbio->bio = bio_alloc(sbio->dev->bdev, sctx->sectors_per_bio, in scrub_add_sector_to_rd_bio()
2195 bio = bio_alloc(NULL, BIO_MAX_VECS, REQ_OP_READ, GFP_NOFS); in scrub_missing_raid56_pages()
2829 bio = bio_alloc(NULL, BIO_MAX_VECS, REQ_OP_READ, GFP_NOFS); in scrub_parity_check_and_repair()
/linux-5.19.10/block/
Dfops.c239 bio = bio_alloc(bdev, nr_pages, opf, GFP_KERNEL); in __blkdev_direct_IO()
/linux-5.19.10/include/linux/
Dbio.h420 static inline struct bio *bio_alloc(struct block_device *bdev, in bio_alloc() function
/linux-5.19.10/drivers/block/rnbd/
Drnbd-srv.c152 bio = bio_alloc(sess_dev->rnbd_dev->bdev, 1, in process_rdma()
/linux-5.19.10/drivers/target/
Dtarget_core_iblock.c418 bio = bio_alloc(ib_dev->ibd_bd, 0, REQ_OP_WRITE | REQ_PREFLUSH, in iblock_execute_sync_cache()

12