Searched refs:bt_bdev (Results 1 - 16 of 16) sorted by relevance

/linux-master/fs/xfs/
H A Dxfs_buf_mem.h15 return btp->bt_bdev == NULL;
H A Dxfs_discard.c122 error = __blkdev_issue_discard(mp->m_ddev_targp->bt_bdev,
379 bdev_discard_granularity(mp->m_ddev_targp->bt_bdev);
388 if (!bdev_max_discard_sectors(mp->m_ddev_targp->bt_bdev))
H A Dxfs_buf.h110 struct block_device *bt_bdev; member in struct:xfs_buftarg
387 #define xfs_getsize_buftarg(buftarg) block_size((buftarg)->bt_bdev)
388 #define xfs_readonly_buftarg(buftarg) bdev_read_only((buftarg)->bt_bdev)
H A Dxfs_notify_failure.c301 ddev_end = ddev_start + bdev_nr_bytes(mp->m_ddev_targp->bt_bdev) - 1;
306 len = bdev_nr_bytes(mp->m_ddev_targp->bt_bdev);
H A Dxfs_buf_mem.c91 btp->bt_bdev = NULL; /* in-memory buftargs have no bdev */
H A Dxfs_buf.c1556 bio = bio_alloc(bp->b_target->bt_bdev, nr_pages, op, GFP_NOIO);
2032 if (btp->bt_bdev != btp->bt_mount->m_super->s_bdev)
2046 if (set_blocksize(btp->bt_bdev, sectorsize)) {
2049 sectorsize, btp->bt_bdev);
2110 btp->bt_bdev = file_bdev(bdev_file);
2111 btp->bt_dev = btp->bt_bdev->bd_dev;
2112 btp->bt_daxdev = fs_dax_get_by_bdev(btp->bt_bdev, &btp->bt_dax_part_off,
2119 if (xfs_setsize_buftarg(btp, bdev_logical_block_size(btp->bt_bdev)))
2121 if (xfs_init_buftarg(btp, bdev_logical_block_size(btp->bt_bdev),
H A Dxfs_super.c348 bdev_is_partition(mp->m_ddev_targp->bt_bdev)) {
412 blkdev_issue_flush(mp->m_logdev_targp->bt_bdev);
413 invalidate_bdev(mp->m_logdev_targp->bt_bdev);
416 blkdev_issue_flush(mp->m_rtdev_targp->bt_bdev);
417 invalidate_bdev(mp->m_rtdev_targp->bt_bdev);
419 blkdev_issue_flush(mp->m_ddev_targp->bt_bdev);
420 invalidate_bdev(mp->m_ddev_targp->bt_bdev);
H A Dxfs_file.c167 error = blkdev_issue_flush(mp->m_rtdev_targp->bt_bdev);
169 error = blkdev_issue_flush(mp->m_ddev_targp->bt_bdev);
192 err2 = blkdev_issue_flush(mp->m_ddev_targp->bt_bdev);
H A Dxfs_inode.h580 if (bdev_stable_writes(xfs_inode_buftarg(ip)->bt_bdev))
H A Dxfs_aops.c566 sis->bdev = xfs_inode_buftarg(XFS_I(file_inode(swap_file)))->bt_bdev;
H A Dxfs_iomap.c132 iomap->bdev = target->bt_bdev;
157 iomap->bdev = target->bt_bdev;
H A Dxfs_iops.c616 struct block_device *bdev = target->bt_bdev;
H A Dxfs_log.c1907 bio_init(&iclog->ic_bio, log->l_targ->bt_bdev, iclog->ic_bvec,
1928 blkdev_issue_flush(log->l_mp->m_ddev_targp->bt_bdev))
H A Dxfs_bmap_util.c66 return blkdev_issue_zeroout(target->bt_bdev,
H A Dxfs_ioctl.c1822 invalidate_bdev(mp->m_ddev_targp->bt_bdev);
H A Dxfs_log_recover.c140 error = xfs_rw_bdev(log->l_targ->bt_bdev, log->l_logBBstart + blk_no,

Completed in 294 milliseconds