Home
last modified time | relevance | path

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

/linux/fs/xfs/
H A Dxfs_discard.c128 __blkdev_issue_discard(btp->bt_bdev, in xfs_discard_extents()
471 struct block_device *bdev = mp->m_rtdev_targp->bt_bdev; in xfs_discard_rtdev_extents()
816 bdev_discard_granularity(mp->m_ddev_targp->bt_bdev); in xfs_ioc_trim()
828 bdev_max_discard_sectors(mp->m_rtdev_targp->bt_bdev)) in xfs_ioc_trim()
829 rt_bdev = mp->m_rtdev_targp->bt_bdev; in xfs_ioc_trim()
830 if (!bdev_max_discard_sectors(mp->m_ddev_targp->bt_bdev) && !rt_bdev) in xfs_ioc_trim()
866 if (bdev_max_discard_sectors(mp->m_ddev_targp->bt_bdev)) { in xfs_ioc_trim()
H A Dxfs_buf.c1294 bio = bio_alloc(bp->b_target->bt_bdev, nr_vecs, xfs_buf_bio_op(bp), in xfs_buf_submit_bio()
1653 if (btp->bt_bdev != btp->bt_mount->m_super->s_bdev) in xfs_free_buftarg()
1669 min_bytes = bdev_atomic_write_unit_min_bytes(btp->bt_bdev); in xfs_configure_buftarg_atomic_writes()
1670 max_bytes = bdev_atomic_write_unit_max_bytes(btp->bt_bdev); in xfs_configure_buftarg_atomic_writes()
1696 if (btp->bt_bdev) { in xfs_configure_buftarg()
1699 error = bdev_validate_blocksize(btp->bt_bdev, sectorsize); in xfs_configure_buftarg()
1703 sectorsize, btp->bt_bdev, error); in xfs_configure_buftarg()
1707 if (bdev_can_atomic_write(btp->bt_bdev)) in xfs_configure_buftarg()
1781 btp->bt_bdev = file_bdev(bdev_file); in xfs_alloc_buftarg()
1782 btp->bt_dev = btp->bt_bdev->bd_dev; in xfs_alloc_buftarg()
[all …]
H A Dxfs_buf_mem.h15 return btp->bt_bdev == NULL; in xfs_buftarg_is_mem()
H A Dxfs_buf.h83 struct block_device *bt_bdev; member
364 #define xfs_readonly_buftarg(buftarg) bdev_read_only((buftarg)->bt_bdev)
H A Dxfs_verify_media.c335 bio = bio_alloc(btp->bt_bdev, 1, REQ_OP_READ, GFP_KERNEL); in xfs_verify_media()
345 bio_reset(bio, btp->bt_bdev, REQ_OP_READ); in xfs_verify_media()
H A Dxfs_zone_gc.c655 *is_seq = bdev_zone_is_seq(mp->m_rtdev_targp->bt_bdev, *daddr); in xfs_zone_gc_alloc_blocks()
713 struct block_device *bdev = mp->m_rtdev_targp->bt_bdev; in xfs_zone_gc_start_chunk()
991 bio_init(&bio, rtg_mount(rtg)->m_rtdev_targp->bt_bdev, NULL, 0, in xfs_zone_gc_reset_sync()
1006 if (blkdev_issue_flush(data->mp->m_rtdev_targp->bt_bdev) < 0) { in xfs_zone_gc_reset_zones()
1021 bio = bio_alloc_bioset(rtg_mount(rtg)->m_rtdev_targp->bt_bdev, in xfs_zone_gc_reset_zones()
H A Dxfs_aops.c636 wpc->iomap.bdev = mp->m_rtdev_targp->bt_bdev; in xfs_zoned_map_blocks()
789 if (bdev_has_integrity_csum(xfs_inode_buftarg(ip)->bt_bdev)) in xfs_get_iomap_read_ops()
856 sis->bdev = xfs_inode_buftarg(ip)->bt_bdev; in xfs_vm_swap_activate()
H A Dxfs_super.c380 bdev_is_partition(mp->m_ddev_targp->bt_bdev)) { in xfs_setup_dax_always()
445 blkdev_issue_flush(mp->m_logdev_targp->bt_bdev); in xfs_shutdown_devices()
446 invalidate_bdev(mp->m_logdev_targp->bt_bdev); in xfs_shutdown_devices()
449 blkdev_issue_flush(mp->m_rtdev_targp->bt_bdev); in xfs_shutdown_devices()
450 invalidate_bdev(mp->m_rtdev_targp->bt_bdev); in xfs_shutdown_devices()
452 blkdev_issue_flush(mp->m_ddev_targp->bt_bdev); in xfs_shutdown_devices()
453 invalidate_bdev(mp->m_ddev_targp->bt_bdev); in xfs_shutdown_devices()
567 mp->m_rtdev_targp->bt_bdev->bd_disk->bdi; in xfs_update_bdi_rahead()
H A Dxfs_zone_alloc.c767 *is_seq = bdev_zone_is_seq(mp->m_rtdev_targp->bt_bdev, *sector); in xfs_zone_alloc_blocks()
1002 struct block_device *bdev = mp->m_rtdev_targp->bt_bdev; in xfs_query_write_pointer()
1163 struct block_device *bdev = mp->m_rtdev_targp->bt_bdev; in xfs_calc_open_zones()
1273 return !bdev_zone_is_seq(rtg_mount(rtg)->m_rtdev_targp->bt_bdev, in xfs_zone_is_conv()
H A Dxfs_log.c1577 bio_init(&iclog->ic_bio, log->l_targ->bt_bdev, iclog->ic_bvec, in xlog_write_iclog()
1598 blkdev_issue_flush(log->l_mp->m_ddev_targp->bt_bdev)) in xlog_write_iclog()
H A Dxfs_bmap_util.c59 return blkdev_issue_zeroout(xfs_inode_buftarg(ip)->bt_bdev, in xfs_zero_extent()
H A Dxfs_log_recover.c140 error = xfs_rw_bdev(log->l_targ->bt_bdev, log->l_logBBstart + blk_no, in xlog_do_io()