Home
last modified time | relevance | path

Searched refs:bio_init (Results 1 – 25 of 46) sorted by relevance

12

/linux-6.12.1/block/
Dblk-map.c160 bio_init(bio, NULL, bio->bi_inline_vecs, nr_pages, req_op(rq)); in bio_copy_user_iov()
267 bio_init(bio, NULL, bio->bi_inline_vecs, nr_vecs, req_op(rq)); in blk_rq_map_bio_alloc()
404 bio_init(bio, NULL, bio->bi_inline_vecs, nr_pages, 0); in bio_map_kern()
494 bio_init(bio, NULL, bio->bi_inline_vecs, nr_pages, 0); in bio_copy_kern()
Dbio.c245 void bio_init(struct bio *bio, struct block_device *bdev, struct bio_vec *table, in bio_init() function
286 EXPORT_SYMBOL(bio_init);
464 bio_init(bio, bdev, nr_vecs ? bio->bi_inline_vecs : NULL, nr_vecs, opf); in bio_alloc_percpu_cache()
578 bio_init(bio, bdev, bvl, nr_vecs, opf); in bio_alloc_bioset()
580 bio_init(bio, bdev, bio->bi_inline_vecs, BIO_INLINE_VECS, opf); in bio_alloc_bioset()
582 bio_init(bio, bdev, NULL, 0, opf); in bio_alloc_bioset()
895 bio_init(bio, bdev, bio_src->bi_io_vec, 0, bio_src->bi_opf); in bio_init_clone()
Dblk-flush.c472 bio_init(&bio, bdev, NULL, 0, REQ_OP_WRITE | REQ_PREFLUSH); in blkdev_issue_flush()
Dfops.c70 bio_init(&bio, bdev, vecs, nr_pages, REQ_OP_READ); in __blkdev_direct_IO_simple()
74 bio_init(&bio, bdev, vecs, nr_pages, dio_bio_write_op(iocb)); in __blkdev_direct_IO_simple()
Dblk-crypto-fallback.c170 bio_init(bio, bio_src->bi_bdev, bio->bi_inline_vecs, nr_segs, in blk_crypto_fallback_clone_bio()
/linux-6.12.1/drivers/nvme/target/
Dio-cmd-bdev.c282 bio_init(bio, req->ns->bdev, req->inline_bvec, in nvmet_bdev_execute_rw()
347 bio_init(bio, req->ns->bdev, req->inline_bvec, in nvmet_bdev_execute_flush()
Dpassthru.c271 bio_init(bio, NULL, req->inline_bvec, in nvmet_passthru_map_sg()
Dzns.c566 bio_init(bio, req->ns->bdev, req->inline_bvec, in nvmet_bdev_execute_zone_append()
/linux-6.12.1/drivers/md/bcache/
Dio.c29 bio_init(bio, NULL, bio->bi_inline_vecs, in bch_bbio_alloc()
Ddebug.c118 bio_init(check, bio->bi_bdev, check->bi_inline_vecs, nr_segs, in bch_data_verify()
Dmovinggc.c82 bio_init(bio, NULL, bio->bi_inline_vecs, in moving_init()
Dsuper.c345 bio_init(bio, dc->bdev, dc->sb_bv, 1, 0); in bch_write_bdev_super()
388 bio_init(bio, ca->bdev, ca->sb_bv, 1, 0); in bcache_write_super()
2233 bio_init(&ca->journal.bio, NULL, ca->journal.bio.bi_inline_vecs, 8, 0); in cache_alloc()
Dwriteback.c334 bio_init(bio, NULL, bio->bi_inline_vecs, in dirty_init()
Djournal.c618 bio_init(bio, ca->bdev, bio->bi_inline_vecs, 1, REQ_OP_DISCARD); in do_journal_discard()
/linux-6.12.1/mm/
Dpage_io.c418 bio_init(&bio, sis->bdev, &bv, 1, in swap_writepage_bdev_sync()
581 bio_init(&bio, sis->bdev, &bv, 1, REQ_OP_READ); in swap_read_folio_bdev_sync()
/linux-6.12.1/fs/erofs/
Dfileio.c69 bio_init(&rq->bio, NULL, rq->bvecs, BIO_MAX_VECS, REQ_OP_READ); in erofs_fileio_rq_alloc()
Dfscache.c200 bio_init(&io->bio, NULL, io->bvecs, BIO_MAX_VECS, REQ_OP_READ); in erofs_fscache_bio_alloc()
/linux-6.12.1/fs/squashfs/
Dblock.c207 bio_init(bio, sb->s_bdev, bio->bi_inline_vecs, page_count, REQ_OP_READ); in squashfs_bio_read()
/linux-6.12.1/fs/bcachefs/
Dmove.c294 bio_init(&io->write.op.wbio.bio, NULL, io->bi_inline_vecs, pages, 0); in bch2_move_extent()
304 bio_init(&io->rbio.bio, NULL, io->bi_inline_vecs, pages, 0); in bch2_move_extent()
Dio_read.c204 bio_init(&(*rbio)->bio, NULL, (*rbio)->bio.bi_inline_vecs, pages, 0); in __promote_alloc()
222 bio_init(bio, NULL, bio->bi_inline_vecs, pages, 0); in __promote_alloc()
/linux-6.12.1/drivers/md/
Ddm-flakey.c429 bio_init(clone, fc->dev->bdev, bio->bi_inline_vecs, nr_iovecs, bio->bi_opf); in clone_bio()
/linux-6.12.1/include/linux/
Dbio.h409 void bio_init(struct bio *bio, struct block_device *bdev, struct bio_vec *table,
/linux-6.12.1/drivers/target/
Dtarget_core_pscsi.c865 bio_init(bio, NULL, bio->bi_inline_vecs, nr_vecs, in pscsi_map_sg()
/linux-6.12.1/fs/btrfs/
Dbio.c818 bio_init(&bio, smap.dev->bdev, &bvec, 1, REQ_OP_WRITE | REQ_SYNC); in btrfs_repair_io_failure()
/linux-6.12.1/drivers/block/zram/
Dzram_drv.c692 bio_init(&bio, zram->bdev, &bio_vec, 1, in writeback_store()
774 bio_init(&bio, zw->zram->bdev, &bv, 1, REQ_OP_READ); in zram_sync_read()

12