Home
last modified time | relevance | path

Searched refs:block_device (Results 1 – 25 of 63) sorted by relevance

123

/fs/
Dblock_dev.c35 struct block_device bdev;
46 inline struct block_device *I_BDEV(struct inode *inode) in I_BDEV()
75 void kill_bdev(struct block_device *bdev) in kill_bdev()
88 void invalidate_bdev(struct block_device *bdev) in invalidate_bdev()
105 int set_blocksize(struct block_device *bdev, int size) in set_blocksize()
171 int __sync_blockdev(struct block_device *bdev, int wait) in __sync_blockdev()
184 int sync_blockdev(struct block_device *bdev) in sync_blockdev()
195 int fsync_bdev(struct block_device *bdev) in fsync_bdev()
219 struct super_block *freeze_bdev(struct block_device *bdev) in freeze_bdev()
262 int thaw_bdev(struct block_device *bdev, struct super_block *sb) in thaw_bdev()
[all …]
Dmbcache.c268 mb_cache_shrink(struct block_device *bdev) in mb_cache_shrink()
386 mb_cache_entry_insert(struct mb_cache_entry *ce, struct block_device *bdev, in mb_cache_entry_insert()
457 mb_cache_entry_get(struct mb_cache *cache, struct block_device *bdev, in mb_cache_entry_get()
505 struct block_device *bdev, unsigned int key) in __mb_cache_entry_find()
556 mb_cache_entry_find_first(struct mb_cache *cache, struct block_device *bdev, in mb_cache_entry_find_first()
591 struct block_device *bdev, unsigned int key) in mb_cache_entry_find_next()
Dinternal.h26 extern int __sync_blockdev(struct block_device *bdev, int wait);
33 static inline int __sync_blockdev(struct block_device *bdev, int wait) in __sync_blockdev()
Dmpage.c82 mpage_alloc(struct block_device *bdev, in mpage_alloc()
169 struct block_device *bdev = NULL; in do_mpage_readpage()
458 struct block_device *bdev = NULL; in __mpage_writepage()
461 struct block_device *boundary_bdev = NULL; in __mpage_writepage()
Dbuffer.c184 __find_get_block_slow(struct block_device *bdev, sector_t block) in __find_get_block_slow()
581 void write_boundary_block(struct block_device *bdev, in write_boundary_block()
916 static sector_t blkdev_max_block(struct block_device *bdev, unsigned int size) in blkdev_max_block()
932 init_page_buffers(struct page *page, struct block_device *bdev, in init_page_buffers()
966 grow_dev_page(struct block_device *bdev, sector_t block, in grow_dev_page()
1022 grow_buffers(struct block_device *bdev, sector_t block, int size) in grow_buffers()
1053 __getblk_slow(struct block_device *bdev, sector_t block, int size) in __getblk_slow()
1283 lookup_bh_lru(struct block_device *bdev, sector_t block, unsigned size) in lookup_bh_lru()
1318 __find_get_block(struct block_device *bdev, sector_t block, unsigned size) in __find_get_block()
1342 __getblk(struct block_device *bdev, sector_t block, unsigned size) in __getblk()
[all …]
Dsync.c82 static void fdatawrite_one_bdev(struct block_device *bdev, void *arg) in fdatawrite_one_bdev()
87 static void fdatawait_one_bdev(struct block_device *bdev, void *arg) in fdatawait_one_bdev()
Dsuper.c587 struct super_block *get_super(struct block_device *bdev) in get_super()
628 struct super_block *get_super_thawed(struct block_device *bdev) in get_super_thawed()
650 struct super_block *get_active_super(struct block_device *bdev) in get_active_super()
969 struct block_device *bdev; in mount_bdev()
1044 struct block_device *bdev = sb->s_bdev; in kill_block_super()
Ddirect-io.c356 struct block_device *bdev, in dio_bio_alloc()
1100 struct block_device *bdev, const struct iovec *iov, loff_t offset, in do_blockdev_direct_IO()
1335 struct block_device *bdev, const struct iovec *iov, loff_t offset, in __blockdev_direct_IO()
/fs/nfs/blocklayout/
Dblocklayout.h54 struct block_device *bm_mdev; /* meta device itself */
90 struct block_device *be_mdev;
102 struct block_device *bse_mdev;
176 void nfs4_blkdev_put(struct block_device *bdev);
Dblocklayoutdev.c59 void nfs4_blkdev_put(struct block_device *bdev) in nfs4_blkdev_put()
100 struct block_device *bd = NULL; in nfs4_blk_decode_device()
188 static struct block_device *translate_devid(struct pnfs_layout_hdr *lo, in translate_devid()
191 struct block_device *rv = NULL; in translate_devid()
/fs/udf/
Dlowlevel.c32 struct block_device *bdev = sb->s_bdev; in udf_get_last_session()
52 struct block_device *bdev = sb->s_bdev; in udf_get_last_block()
/fs/logfs/
Ddev_bdev.c22 static int sync_request(struct page *page, struct block_device *bdev, int rw) in sync_request()
50 struct block_device *bdev = logfs_super(sb)->s_bdev; in bdev_readpage()
288 struct block_device *bdev = logfs_super(sb)->s_bdev; in bdev_write_sb()
319 struct block_device *bdev; in logfs_get_sb_bdev()
/fs/nilfs2/
Dthe_nilfs.h102 struct block_device *ns_bdev;
267 struct the_nilfs *alloc_nilfs(struct block_device *bdev);
/fs/btrfs/
Dcheck-integrity.c188 struct block_device *bdev;
265 struct block_device *bdev,
275 struct block_device *bdev_ref_to,
277 struct block_device *bdev_ref_from,
287 struct block_device *bdev,
320 u32 len, struct block_device *bdev,
380 struct block_device *bdev);
519 struct block_device *bdev, in btrfsic_block_hashtable_lookup()
572 struct block_device *bdev_ref_to, in btrfsic_block_link_hashtable_lookup()
574 struct block_device *bdev_ref_from, in btrfsic_block_link_hashtable_lookup()
[all …]
Dvolumes.h57 struct block_device *bdev;
131 struct block_device *latest_bdev;
Dextent_map.h34 struct block_device *bdev;
Ddisk-io.h62 struct buffer_head *btrfs_read_dev_super(struct block_device *bdev);
Dcompression.c99 static struct bio *compressed_bio_alloc(struct block_device *bdev, in compressed_bio_alloc()
342 struct block_device *bdev; in btrfs_submit_compressed_write()
576 struct block_device *bdev; in btrfs_submit_compressed_read()
/fs/xfs/
Dxfs_super.h73 struct block_device;
Dxfs_buf.h86 struct block_device *bt_bdev;
356 struct block_device *, int, const char *);
Dxfs_super.c694 struct block_device **bdevp) in xfs_blkdev_get()
710 struct block_device *bdev) in xfs_blkdev_put()
728 struct block_device *logdev = mp->m_logdev_targp->bt_bdev; in xfs_close_devices()
733 struct block_device *rtdev = mp->m_rtdev_targp->bt_bdev; in xfs_close_devices()
754 struct block_device *ddev = mp->m_super->s_bdev; in xfs_open_devices()
755 struct block_device *logdev = NULL, *rtdev = NULL; in xfs_open_devices()
Dxfs_discard.c45 struct block_device *bdev = mp->m_ddev_targp->bt_bdev; in xfs_trim_extents()
/fs/f2fs/
Dgc.h98 struct block_device *bdev = sbi->sb->s_bdev; in is_idle()
/fs/ext2/
Dxip.c20 struct block_device *bdev = inode->i_sb->s_bdev; in __inode_direct_access()
/fs/jfs/
Djfs_logmgr.h372 struct block_device *bdev; /* 4: log lv pointer */

123