Home
last modified time | relevance | path

Searched refs:mdev (Results 1 – 5 of 5) sorted by relevance

/fs/erofs/
A Dfileio.c71 static struct erofs_fileio_rq *erofs_fileio_rq_alloc(struct erofs_map_dev *mdev) in erofs_fileio_rq_alloc() argument
77 rq->iocb.ki_filp = mdev->m_dif->file; in erofs_fileio_rq_alloc()
78 rq->sb = mdev->m_sb; in erofs_fileio_rq_alloc()
82 struct bio *erofs_fileio_bio_alloc(struct erofs_map_dev *mdev) in erofs_fileio_bio_alloc() argument
84 return &erofs_fileio_rq_alloc(mdev)->bio; in erofs_fileio_bio_alloc()
A Ddata.c275 struct erofs_map_dev mdev; in erofs_iomap_begin() local
294 mdev = (struct erofs_map_dev) { in erofs_iomap_begin()
298 ret = erofs_map_dev(sb, &mdev); in erofs_iomap_begin()
303 iomap->dax_dev = mdev.m_dif->dax_dev; in erofs_iomap_begin()
305 iomap->bdev = mdev.m_bdev; in erofs_iomap_begin()
306 iomap->addr = mdev.m_dif->fsoff + mdev.m_pa; in erofs_iomap_begin()
308 iomap->addr += mdev.m_dif->dax_part_off; in erofs_iomap_begin()
A Dfscache.c193 struct bio *erofs_fscache_bio_alloc(struct erofs_map_dev *mdev) in erofs_fscache_bio_alloc() argument
199 io->io.private = mdev->m_dif->fscache->cookie; in erofs_fscache_bio_alloc()
261 struct erofs_map_dev mdev; in erofs_fscache_data_read_slice() local
306 mdev = (struct erofs_map_dev) { in erofs_fscache_data_read_slice()
310 ret = erofs_map_dev(sb, &mdev); in erofs_fscache_data_read_slice()
318 ret = erofs_fscache_read_io_async(mdev.m_dif->fscache->cookie, in erofs_fscache_data_read_slice()
319 mdev.m_pa + (pos - map.m_la), io); in erofs_fscache_data_read_slice()
A Dinternal.h501 struct bio *erofs_fileio_bio_alloc(struct erofs_map_dev *mdev);
504 static inline struct bio *erofs_fileio_bio_alloc(struct erofs_map_dev *mdev) { return NULL; } in erofs_fileio_bio_alloc() argument
515 struct bio *erofs_fscache_bio_alloc(struct erofs_map_dev *mdev);
534 static inline struct bio *erofs_fscache_bio_alloc(struct erofs_map_dev *mdev) { return NULL; } in erofs_fscache_bio_alloc() argument
A Dzdata.c1687 struct erofs_map_dev mdev; in z_erofs_submit_queue() local
1701 mdev = (struct erofs_map_dev) { in z_erofs_submit_queue()
1704 (void)erofs_map_dev(sb, &mdev); in z_erofs_submit_queue()
1706 cur = mdev.m_pa; in z_erofs_submit_queue()
1712 bio->bi_bdev != mdev.m_bdev)) { in z_erofs_submit_queue()
1745 bio = erofs_fileio_bio_alloc(&mdev); in z_erofs_submit_queue()
1747 bio = erofs_fscache_bio_alloc(&mdev); in z_erofs_submit_queue()
1749 bio = bio_alloc(mdev.m_bdev, BIO_MAX_VECS, in z_erofs_submit_queue()
1753 (mdev.m_dif->fsoff + cur) >> 9; in z_erofs_submit_queue()

Completed in 14 milliseconds