Searched refs:bt_bdev (Results 1 – 7 of 7) sorted by relevance
97 struct block_device *bt_bdev; member385 #define xfs_getsize_buftarg(buftarg) block_size((buftarg)->bt_bdev)386 #define xfs_readonly_buftarg(buftarg) bdev_read_only((buftarg)->bt_bdev)
32 struct block_device *bdev = mp->m_ddev_targp->bt_bdev; in xfs_trim_extents()152 struct request_queue *q = bdev_get_queue(mp->m_ddev_targp->bt_bdev); in xfs_ioc_trim()
825 if (bdi_read_congested(target->bt_bdev->bd_bdi)) in xfs_buf_readahead_map()1340 bio_set_dev(bio, bp->b_target->bt_bdev); in xfs_buf_ioapply_map()1792 if (set_blocksize(btp->bt_bdev, sectorsize)) { in xfs_setsize_buftarg()1795 sectorsize, btp->bt_bdev); in xfs_setsize_buftarg()1800 btp->bt_logical_sectorsize = bdev_logical_block_size(btp->bt_bdev); in xfs_setsize_buftarg()1801 btp->bt_logical_sectormask = bdev_logical_block_size(btp->bt_bdev) - 1; in xfs_setsize_buftarg()1831 btp->bt_bdev = bdev; in xfs_alloc_buftarg()
682 blkdev_issue_flush(buftarg->bt_bdev, GFP_NOFS, NULL); in xfs_blkdev_issue_flush()692 struct block_device *logdev = mp->m_logdev_targp->bt_bdev; in xfs_close_devices()700 struct block_device *rtdev = mp->m_rtdev_targp->bt_bdev; in xfs_close_devices()1678 datadev_is_dax = bdev_dax_supported(mp->m_ddev_targp->bt_bdev, in xfs_fs_fill_super()1682 mp->m_rtdev_targp->bt_bdev, sb->s_blocksize); in xfs_fs_fill_super()
44 return mp->m_rtdev_targp->bt_bdev; in xfs_find_bdev_for_inode()46 return mp->m_ddev_targp->bt_bdev; in xfs_find_bdev_for_inode()
548 error = __blkdev_issue_discard(mp->m_ddev_targp->bt_bdev, in xlog_discard_busy_extents()
1880 invalidate_bdev(mp->m_ddev_targp->bt_bdev); in xfs_ioc_setlabel()