Home
last modified time | relevance | path

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

12

/fs/
Dblock_dev.c40 struct block_device bdev;
51 struct block_device *I_BDEV(struct inode *inode) in I_BDEV()
69 static void bdev_write_inode(struct block_device *bdev) in bdev_write_inode()
90 void kill_bdev(struct block_device *bdev) in kill_bdev()
103 void invalidate_bdev(struct block_device *bdev) in invalidate_bdev()
119 static void set_init_blocksize(struct block_device *bdev) in set_init_blocksize()
133 int set_blocksize(struct block_device *bdev, int size) in set_blocksize()
218 struct block_device *bdev = I_BDEV(bdev_file_inode(file)); in __blkdev_direct_IO_simple()
351 struct block_device *bdev = I_BDEV(inode); in __blkdev_direct_IO()
469 int __sync_blockdev(struct block_device *bdev, int wait) in __sync_blockdev()
[all …]
Dinternal.h27 extern int __sync_blockdev(struct block_device *bdev, int wait);
34 static inline int __sync_blockdev(struct block_device *bdev, int wait) in __sync_blockdev()
Dsuper.c662 static struct super_block *__get_super(struct block_device *bdev, bool excl) in __get_super()
705 struct super_block *get_super(struct block_device *bdev) in get_super()
711 static struct super_block *__get_super_thawed(struct block_device *bdev, in __get_super_thawed()
737 struct super_block *get_super_thawed(struct block_device *bdev) in get_super_thawed()
752 struct super_block *get_super_exclusive_thawed(struct block_device *bdev) in get_super_exclusive_thawed()
766 struct super_block *get_active_super(struct block_device *bdev) in get_active_super()
1099 struct block_device *bdev; in mount_bdev()
1172 struct block_device *bdev = sb->s_bdev; in kill_block_super()
Ddax.c492 static int copy_user_dax(struct block_device *bdev, struct dax_device *dax_dev, in copy_user_dax()
656 static int dax_writeback_one(struct block_device *bdev, in dax_writeback_one()
765 struct block_device *bdev, struct writeback_control *wbc) in dax_writeback_mapping_range()
824 struct block_device *bdev, struct dax_device *dax_dev, in dax_insert_mapping()
892 static bool dax_range_is_aligned(struct block_device *bdev, in dax_range_is_aligned()
905 int __dax_zero_page_range(struct block_device *bdev, in __dax_zero_page_range()
948 struct block_device *bdev = iomap->bdev; in dax_iomap_actor()
1230 struct block_device *bdev = iomap->bdev; in dax_pmd_insert_mapping()
Dmpage.c107 mpage_alloc(struct block_device *bdev, in mpage_alloc()
197 struct block_device *bdev = NULL; in do_mpage_readpage()
533 struct block_device *bdev = NULL; in __mpage_writepage()
536 struct block_device *boundary_bdev = NULL; in __mpage_writepage()
Dbuffer.c201 __find_get_block_slow(struct block_device *bdev, sector_t block) in __find_get_block_slow()
585 void write_boundary_block(struct block_device *bdev, in write_boundary_block()
934 static sector_t blkdev_max_block(struct block_device *bdev, unsigned int size) in blkdev_max_block()
950 init_page_buffers(struct page *page, struct block_device *bdev, in init_page_buffers()
984 grow_dev_page(struct block_device *bdev, sector_t block, in grow_dev_page()
1052 grow_buffers(struct block_device *bdev, sector_t block, int size, gfp_t gfp) in grow_buffers()
1081 __getblk_slow(struct block_device *bdev, sector_t block, in __getblk_slow()
1316 lookup_bh_lru(struct block_device *bdev, sector_t block, unsigned size) in lookup_bh_lru()
1351 __find_get_block(struct block_device *bdev, sector_t block, unsigned size) in __find_get_block()
1376 __getblk_gfp(struct block_device *bdev, sector_t block, in __getblk_gfp()
[all …]
Dsync.c83 static void fdatawrite_one_bdev(struct block_device *bdev, void *arg) in fdatawrite_one_bdev()
88 static void fdatawait_one_bdev(struct block_device *bdev, void *arg) in fdatawait_one_bdev()
Ddirect-io.c430 struct block_device *bdev, in dio_bio_alloc()
1174 struct block_device *bdev, struct iov_iter *iter, in do_blockdev_direct_IO()
1405 struct block_device *bdev, struct iov_iter *iter, in __blockdev_direct_IO()
/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/nfs/blocklayout/
Ddev.c239 struct block_device *bdev; in bl_parse_simple()
308 static struct block_device *
311 struct block_device *bdev; in bl_open_udev_path()
333 static struct block_device *
336 struct block_device *bdev; in bl_open_dm_mpath_udev_path()
356 struct block_device *bdev; in bl_parse_scsi()
Dblocklayout.h99 struct block_device *bdev;
112 struct block_device *bdev;
/fs/btrfs/
Ddisk-io.h69 struct buffer_head *btrfs_read_dev_super(struct block_device *bdev);
70 int btrfs_read_dev_one_super(struct block_device *bdev, int copy_num,
Dvolumes.h74 struct block_device *bdev;
238 struct block_device *latest_bdev;
487 void btrfs_scratch_superblocks(struct block_device *bdev, const char *device_path);
Dextent_map.h38 struct block_device *bdev;
Dcheck-integrity.c201 struct block_device *bdev;
278 struct block_device *bdev,
288 struct block_device *bdev_ref_to,
290 struct block_device *bdev_ref_from,
526 struct block_device *bdev, in btrfsic_block_hashtable_lookup()
575 struct block_device *bdev_ref_to, in btrfsic_block_link_hashtable_lookup()
577 struct block_device *bdev_ref_from, in btrfsic_block_link_hashtable_lookup()
787 struct block_device *const superblock_bdev = device->bdev; in btrfsic_process_superblock_dev_mirror()
1759 struct block_device *bdev = dev_state->bdev; in btrfsic_process_written_block()
/fs/xfs/
Dxfs_aops.h61 extern struct block_device *xfs_find_bdev_for_inode(struct inode *);
Dxfs_super.h62 struct block_device;
Dxfs_buf.h110 struct block_device *bt_bdev;
389 struct block_device *, struct dax_device *);
Dxfs_super.c684 struct block_device **bdevp) in xfs_blkdev_get()
700 struct block_device *bdev) in xfs_blkdev_put()
720 struct block_device *logdev = mp->m_logdev_targp->bt_bdev; in xfs_close_devices()
728 struct block_device *rtdev = mp->m_rtdev_targp->bt_bdev; in xfs_close_devices()
753 struct block_device *ddev = mp->m_super->s_bdev; in xfs_open_devices()
756 struct block_device *logdev = NULL, *rtdev = NULL; in xfs_open_devices()
Dxfs_discard.c44 struct block_device *bdev = mp->m_ddev_targp->bt_bdev; in xfs_trim_extents()
/fs/nfsd/
Dblocklayout.c213 static int nfsd4_scsi_identify_device(struct block_device *bdev, in nfsd4_scsi_identify_device()
393 struct block_device *bdev = ls->ls_file->f_path.mnt->mnt_sb->s_bdev; in nfsd4_scsi_fence_client()
/fs/jfs/
Djfs_logmgr.h372 struct block_device *bdev; /* 4: log lv pointer */
/fs/f2fs/
Dsegment.c559 struct block_device *bdev) in __submit_flush_wait()
917 struct block_device *bdev, block_t lstart, in __create_discard_cmd()
949 struct block_device *bdev, block_t lstart, in __attach_discard_cmd()
1092 struct block_device *bdev, block_t lstart,
1100 struct block_device *bdev = dc->bdev; in __submit_discard_cmd()
1203 struct block_device *bdev, block_t lstart, in __insert_discard_tree()
1275 struct block_device *bdev, block_t lstart, in __update_discard_tree_range()
1366 struct block_device *bdev, block_t blkstart, block_t blklen) in __queue_discard_cmd()
1729 struct block_device *bdev, block_t blkstart, block_t blklen) in __f2fs_issue_discard_zone()
1775 struct block_device *bdev, block_t blkstart, block_t blklen) in __issue_discard_async()
[all …]
/fs/nilfs2/
Dthe_nilfs.h107 struct block_device *ns_bdev;
/fs/ext4/
Dreadpage.c154 struct block_device *bdev = inode->i_sb->s_bdev; in ext4_mpage_readpages()

12