Home
last modified time | relevance | path

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

12

/linux-6.1.9/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-6.1.9/fs/crypto/
Dbio.c61 bio = bio_alloc(inode->i_sb->s_bdev, BIO_MAX_VECS, REQ_OP_WRITE, in fscrypt_zeroout_range_inline_crypt()
156 bio = bio_alloc(inode->i_sb->s_bdev, nr_pages, REQ_OP_WRITE, GFP_NOFS); in fscrypt_zeroout_range()
/linux-6.1.9/drivers/nvdimm/
Dnd_virtio.c108 struct bio *child = bio_alloc(bio->bi_bdev, 0, REQ_PREFLUSH, in async_pmem_flush()
/linux-6.1.9/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-6.1.9/drivers/nvme/target/
Dio-cmd-bdev.c282 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()
Dpassthru.c273 bio = bio_alloc(NULL, bio_max_segs(req->sg_cnt), req_op(rq), in nvmet_passthru_map_sg()
Dzns.c573 bio = bio_alloc(req->ns->bdev, req->sg_cnt, opf, GFP_KERNEL); in nvmet_bdev_execute_zone_append()
/linux-6.1.9/fs/
Dmpage.c277 args->bio = bio_alloc(bdev, bio_max_segs(args->nr_pages), opf, in do_mpage_readpage()
587 bio = bio_alloc(bdev, BIO_MAX_VECS, in __mpage_writepage()
/linux-6.1.9/mm/
Dpage_io.c357 bio = bio_alloc(sis->bdev, 1, in __swap_writepage()
493 bio = bio_alloc(sis->bdev, 1, REQ_OP_READ, GFP_KERNEL); in swap_readpage()
/linux-6.1.9/fs/hfsplus/
Dwrapper.c67 bio = bio_alloc(sb->s_bdev, 1, opf, GFP_NOIO); in hfsplus_submit_bio()
/linux-6.1.9/fs/ext4/
Dreadpage.c370 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-6.1.9/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-6.1.9/fs/iomap/
Dbuffered-io.c300 ctx->bio = bio_alloc(iomap->bdev, bio_max_segs(nr_vecs), in iomap_readpage_iter()
308 ctx->bio = bio_alloc(iomap->bdev, 1, REQ_OP_READ, in iomap_readpage_iter()
1257 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-6.1.9/fs/gfs2/
Dmeta_io.c226 bio = bio_alloc(bh->b_bdev, num, opf, 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-6.1.9/fs/nilfs2/
Dsegbuf.c376 wi->bio = bio_alloc(wi->nilfs->ns_bdev, wi->nr_vecs, in nilfs_segbuf_submit_bh()
/linux-6.1.9/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-6.1.9/block/
Dfops.c244 bio = bio_alloc(bdev, nr_pages, opf, GFP_KERNEL); in __blkdev_direct_IO()
/linux-6.1.9/include/linux/
Dbio.h420 static inline struct bio *bio_alloc(struct block_device *bdev, in bio_alloc() function
/linux-6.1.9/fs/btrfs/
Dscrub.c1589 bio = bio_alloc(sblock->dev->bdev, BIO_MAX_VECS, REQ_OP_READ, GFP_NOFS); in scrub_recheck_block_on_raid56()
1834 sbio->bio = bio_alloc(sbio->dev->bdev, sctx->sectors_per_bio, in scrub_add_sector_to_wr_bio()
2245 sbio->bio = bio_alloc(sbio->dev->bdev, sctx->sectors_per_bio, in scrub_add_sector_to_rd_bio()
2367 bio = bio_alloc(NULL, BIO_MAX_VECS, REQ_OP_READ, GFP_NOFS); in scrub_missing_raid56_pages()
2964 bio = bio_alloc(NULL, BIO_MAX_VECS, REQ_OP_READ, GFP_NOFS); in scrub_parity_check_and_repair()
/linux-6.1.9/drivers/block/rnbd/
Drnbd-srv.c148 bio = bio_alloc(sess_dev->bdev, 1, in process_rdma()
/linux-6.1.9/drivers/target/
Dtarget_core_iblock.c420 bio = bio_alloc(ib_dev->ibd_bd, 0, REQ_OP_WRITE | REQ_PREFLUSH, in iblock_execute_sync_cache()

12