Home
last modified time | relevance | path

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

/openbmc/linux/fs/xfs/
H A Dxfs_discard.c120 error = __blkdev_issue_discard(mp->m_ddev_targp->bt_bdev, in xfs_discard_extents()
370 bdev_discard_granularity(mp->m_ddev_targp->bt_bdev); in xfs_ioc_trim()
379 if (!bdev_max_discard_sectors(mp->m_ddev_targp->bt_bdev)) in xfs_ioc_trim()
H A Dxfs_buf.h101 struct block_device *bt_bdev; member
374 #define xfs_getsize_buftarg(buftarg) block_size((buftarg)->bt_bdev)
375 #define xfs_readonly_buftarg(buftarg) bdev_read_only((buftarg)->bt_bdev)
H A Dxfs_buf.c1489 bio = bio_alloc(bp->b_target->bt_bdev, nr_pages, op, GFP_NOIO); in xfs_buf_ioapply_map()
1948 struct block_device *bdev = btp->bt_bdev; in xfs_free_buftarg()
1972 if (set_blocksize(btp->bt_bdev, sectorsize)) { in xfs_setsize_buftarg()
1975 sectorsize, btp->bt_bdev); in xfs_setsize_buftarg()
1980 btp->bt_logical_sectorsize = bdev_logical_block_size(btp->bt_bdev); in xfs_setsize_buftarg()
1981 btp->bt_logical_sectormask = bdev_logical_block_size(btp->bt_bdev) - 1; in xfs_setsize_buftarg()
2014 btp->bt_bdev = bdev; in xfs_alloc_buftarg()
H A Dxfs_super.c346 bdev_is_partition(mp->m_ddev_targp->bt_bdev)) { in xfs_setup_dax_always()
409 blkdev_issue_flush(mp->m_logdev_targp->bt_bdev); in xfs_shutdown_devices()
410 invalidate_bdev(mp->m_logdev_targp->bt_bdev); in xfs_shutdown_devices()
413 blkdev_issue_flush(mp->m_rtdev_targp->bt_bdev); in xfs_shutdown_devices()
414 invalidate_bdev(mp->m_rtdev_targp->bt_bdev); in xfs_shutdown_devices()
416 blkdev_issue_flush(mp->m_ddev_targp->bt_bdev); in xfs_shutdown_devices()
417 invalidate_bdev(mp->m_ddev_targp->bt_bdev); in xfs_shutdown_devices()
H A Dxfs_notify_failure.c211 ddev_end = ddev_start + bdev_nr_bytes(mp->m_ddev_targp->bt_bdev) - 1; in xfs_dax_notify_failure()
H A Dxfs_file.c160 error = blkdev_issue_flush(mp->m_rtdev_targp->bt_bdev); in xfs_file_fsync()
162 error = blkdev_issue_flush(mp->m_ddev_targp->bt_bdev); in xfs_file_fsync()
185 err2 = blkdev_issue_flush(mp->m_ddev_targp->bt_bdev); in xfs_file_fsync()
H A Dxfs_aops.c539 sis->bdev = xfs_inode_buftarg(XFS_I(file_inode(swap_file)))->bt_bdev; in xfs_iomap_swapfile_activate()
H A Dxfs_inode.h579 if (bdev_stable_writes(xfs_inode_buftarg(ip)->bt_bdev)) in xfs_update_stable_writes()
H A Dxfs_iomap.c128 iomap->bdev = target->bt_bdev; in xfs_bmbt_to_iomap()
153 iomap->bdev = target->bt_bdev; in xfs_hole_to_iomap()
H A Dxfs_iops.c617 struct block_device *bdev = target->bt_bdev; in xfs_vn_getattr()
H A Dxfs_log.c1906 bio_init(&iclog->ic_bio, log->l_targ->bt_bdev, iclog->ic_bvec, in xlog_write_iclog()
1927 blkdev_issue_flush(log->l_mp->m_ddev_targp->bt_bdev)) in xlog_write_iclog()
H A Dxfs_bmap_util.c65 return blkdev_issue_zeroout(target->bt_bdev, in xfs_zero_extent()
H A Dxfs_ioctl.c1833 invalidate_bdev(mp->m_ddev_targp->bt_bdev); in xfs_ioc_setlabel()
H A Dxfs_log_recover.c140 error = xfs_rw_bdev(log->l_targ->bt_bdev, log->l_logBBstart + blk_no, in xlog_do_io()