Home
last modified time | relevance | path

Searched refs:bt_bdev (Results 1 – 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/fs/xfs/
Dxfs_buf.h90 struct block_device *bt_bdev; member
353 #define xfs_getsize_buftarg(buftarg) block_size((buftarg)->bt_bdev)
354 #define xfs_readonly_buftarg(buftarg) bdev_read_only((buftarg)->bt_bdev)
359 return queue_dma_alignment(bt->bt_bdev->bd_disk->queue); in xfs_buftarg_dma_alignment()
Dxfs_discard.c31 struct block_device *bdev = mp->m_ddev_targp->bt_bdev; in xfs_trim_extents()
155 struct request_queue *q = bdev_get_queue(mp->m_ddev_targp->bt_bdev); in xfs_ioc_trim()
Dxfs_pwork.c135 return blk_queue_nonrot(btp->bt_bdev->bd_disk->queue) ? 2 : 1; in xfs_pwork_guess_datadev_parallelism()
Dxfs_buf.c898 if (bdi_read_congested(target->bt_bdev->bd_bdi)) in xfs_buf_readahead_map()
1511 bio_set_dev(bio, bp->b_target->bt_bdev); in xfs_buf_ioapply_map()
1965 if (set_blocksize(btp->bt_bdev, sectorsize)) { in xfs_setsize_buftarg()
1968 sectorsize, btp->bt_bdev); in xfs_setsize_buftarg()
1973 btp->bt_logical_sectorsize = bdev_logical_block_size(btp->bt_bdev); in xfs_setsize_buftarg()
1974 btp->bt_logical_sectormask = bdev_logical_block_size(btp->bt_bdev) - 1; in xfs_setsize_buftarg()
2004 btp->bt_bdev = bdev; in xfs_alloc_buftarg()
Dxfs_super.c345 blkdev_issue_flush(buftarg->bt_bdev, GFP_NOFS); in xfs_blkdev_issue_flush()
355 struct block_device *logdev = mp->m_logdev_targp->bt_bdev; in xfs_close_devices()
363 struct block_device *rtdev = mp->m_rtdev_targp->bt_bdev; in xfs_close_devices()
1552 datadev_is_dax = bdev_dax_supported(mp->m_ddev_targp->bt_bdev, in xfs_fc_fill_super()
1556 mp->m_rtdev_targp->bt_bdev, sb->s_blocksize); in xfs_fc_fill_super()
Dxfs_iomap.c81 iomap->bdev = target->bt_bdev; in xfs_bmbt_to_iomap()
104 iomap->bdev = target->bt_bdev; in xfs_hole_to_iomap()
Dxfs_aops.c663 sis->bdev = xfs_inode_buftarg(XFS_I(file_inode(swap_file)))->bt_bdev; in xfs_iomap_swapfile_activate()
Dxfs_log_cil.c545 error = __blkdev_issue_discard(mp->m_ddev_targp->bt_bdev, in xlog_discard_busy_extents()
Dxfs_bmap_util.c65 return blkdev_issue_zeroout(target->bt_bdev, in xfs_zero_extent()
Dxfs_ioctl.c2029 invalidate_bdev(mp->m_ddev_targp->bt_bdev); in xfs_ioc_setlabel()
Dxfs_log_recover.c146 error = xfs_rw_bdev(log->l_targ->bt_bdev, log->l_logBBstart + blk_no, in xlog_do_io()
Dxfs_log.c1720 bio_set_dev(&iclog->ic_bio, log->l_targ->bt_bdev); in xlog_write_iclog()