Home
last modified time | relevance | path

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

12

/linux-6.12.1/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.12.1/block/
Dblk-lib.c47 bio = bio_alloc(bdev, 0, REQ_OP_DISCARD, gfp_mask); in blk_alloc_discard_bio()
134 bio = bio_alloc(bdev, 0, REQ_OP_WRITE_ZEROES, gfp_mask); in __blkdev_issue_write_zeroes()
203 bio = bio_alloc(bdev, nr_vecs, REQ_OP_WRITE, gfp_mask); in __blkdev_issue_zero_pages()
/linux-6.12.1/fs/crypto/
Dbio.c59 bio = bio_alloc(inode->i_sb->s_bdev, BIO_MAX_VECS, REQ_OP_WRITE, in fscrypt_zeroout_range_inline_crypt()
158 bio = bio_alloc(inode->i_sb->s_bdev, nr_pages, REQ_OP_WRITE, GFP_NOFS); in fscrypt_zeroout_range()
/linux-6.12.1/drivers/md/
Ddm-log-writes.c221 bio = bio_alloc(lc->logdev->bdev, 1, REQ_OP_WRITE, GFP_KERNEL); in write_metadata()
273 bio = bio_alloc(lc->logdev->bdev, bio_pages, REQ_OP_WRITE, in write_inline_data()
354 bio = bio_alloc(lc->logdev->bdev, bio_max_segs(block->vec_cnt), in log_one_block()
371 bio = bio_alloc(lc->logdev->bdev, in log_one_block()
Ddm-zoned-metadata.c553 bio = bio_alloc(dev->bdev, 1, REQ_OP_READ | REQ_META | REQ_PRIO, in dmz_get_mblock_slow()
723 bio = bio_alloc(dev->bdev, 1, REQ_OP_WRITE | REQ_META | REQ_PRIO, in dmz_write_mblock()
752 bio = bio_alloc(dev->bdev, 1, op | REQ_SYNC | REQ_META | REQ_PRIO, in dmz_rdwr_block()
/linux-6.12.1/drivers/nvdimm/
Dnd_virtio.c117 struct bio *child = bio_alloc(bio->bi_bdev, 0, in async_pmem_flush()
/linux-6.12.1/fs/
Dmpage.c290 args->bio = bio_alloc(bdev, bio_max_segs(args->nr_pages), opf, in do_mpage_readpage()
596 bio = bio_alloc(bdev, BIO_MAX_VECS, in __mpage_writepage()
/linux-6.12.1/drivers/nvme/target/
Dio-cmd-bdev.c285 bio = bio_alloc(req->ns->bdev, bio_max_segs(sg_cnt), opf, in nvmet_bdev_execute_rw()
311 bio = bio_alloc(req->ns->bdev, bio_max_segs(sg_cnt), in nvmet_bdev_execute_rw()
Dpassthru.c274 bio = bio_alloc(NULL, bio_max_segs(req->sg_cnt), req_op(rq), in nvmet_passthru_map_sg()
Dzns.c569 bio = bio_alloc(req->ns->bdev, req->sg_cnt, opf, GFP_KERNEL); in nvmet_bdev_execute_zone_append()
/linux-6.12.1/fs/hfsplus/
Dwrapper.c68 bio = bio_alloc(sb->s_bdev, 1, opf, GFP_NOIO); in hfsplus_submit_bio()
/linux-6.12.1/mm/
Dpage_io.c438 bio = bio_alloc(sis->bdev, 1, in swap_writepage_bdev_async()
600 bio = bio_alloc(sis->bdev, 1, REQ_OP_READ, GFP_KERNEL); in swap_read_folio_bdev_async()
/linux-6.12.1/fs/ext4/
Dreadpage.c353 bio = bio_alloc(bdev, bio_max_segs(nr_pages), in ext4_mpage_readpages()
Dpage-io.c399 bio = bio_alloc(bh->b_bdev, BIO_MAX_VECS, REQ_OP_WRITE, GFP_NOIO); in io_submit_init_bio()
/linux-6.12.1/fs/jfs/
Djfs_metapage.c423 bio = bio_alloc(inode->i_sb->s_bdev, 1, REQ_OP_WRITE, GFP_NOFS); in metapage_write_folio()
507 bio = bio_alloc(inode->i_sb->s_bdev, 1, REQ_OP_READ, in metapage_read_folio()
Djfs_logmgr.c1975 bio = bio_alloc(file_bdev(log->bdev_file), 1, REQ_OP_READ, GFP_NOFS); in lbmRead()
2120 bio = bio_alloc(bdev, 1, REQ_OP_WRITE | REQ_SYNC, in lbmStartIO()
/linux-6.12.1/fs/gfs2/
Dlops.c268 struct bio *bio = bio_alloc(sb->s_bdev, BIO_MAX_VECS, 0, GFP_NOIO); in gfs2_log_alloc_bio()
485 new = bio_alloc(prev->bi_bdev, nr_iovecs, prev->bi_opf, GFP_NOIO); in gfs2_chain_bio()
Dmeta_io.c231 bio = bio_alloc(bh->b_bdev, num, opf, GFP_NOIO); in gfs2_submit_bhs()
/linux-6.12.1/fs/nilfs2/
Dsegbuf.c382 wi->bio = bio_alloc(wi->nilfs->ns_bdev, wi->nr_vecs, in nilfs_segbuf_submit_bh()
/linux-6.12.1/include/linux/
Dbio.h371 static inline struct bio *bio_alloc(struct block_device *bdev, in bio_alloc() function
/linux-6.12.1/fs/iomap/
Ddirect-io.c68 return bio_alloc(iter->iomap.bdev, nr_vecs, opf, GFP_KERNEL); in iomap_dio_alloc_bio()
Dbuffered-io.c416 ctx->bio = bio_alloc(iomap->bdev, bio_max_segs(nr_vecs), in iomap_readpage_iter()
424 ctx->bio = bio_alloc(iomap->bdev, 1, REQ_OP_READ, in iomap_readpage_iter()
/linux-6.12.1/drivers/block/xen-blkback/
Dblkback.c1434 bio = bio_alloc(preq.bdev, bio_max_segs(nseg - i), in dispatch_rw_block_io()
1450 bio = bio_alloc(preq.bdev, 0, operation | operation_flags, in dispatch_rw_block_io()
/linux-6.12.1/fs/bcachefs/
Dbtree_node_scan.c214 struct bio *bio = bio_alloc(NULL, 1, 0, GFP_KERNEL); in read_btree_nodes_worker()
/linux-6.12.1/drivers/block/rnbd/
Drnbd-srv.c148 bio = bio_alloc(file_bdev(sess_dev->bdev_file), 1, in process_rdma()

12