Searched refs:bt_bdev (Results 1 – 16 of 16) sorted by relevance
/linux-6.12.1/fs/xfs/ |
D | xfs_discard.c | 123 error = __blkdev_issue_discard(mp->m_ddev_targp->bt_bdev, in xfs_discard_extents() 466 struct block_device *bdev = mp->m_rtdev_targp->bt_bdev; in xfs_discard_rtdev_extents() 645 bdev_discard_granularity(mp->m_ddev_targp->bt_bdev); in xfs_ioc_trim() 656 bdev_max_discard_sectors(mp->m_rtdev_targp->bt_bdev)) in xfs_ioc_trim() 657 rt_bdev = mp->m_rtdev_targp->bt_bdev; in xfs_ioc_trim() 658 if (!bdev_max_discard_sectors(mp->m_ddev_targp->bt_bdev) && !rt_bdev) in xfs_ioc_trim() 694 if (bdev_max_discard_sectors(mp->m_ddev_targp->bt_bdev)) { in xfs_ioc_trim()
|
D | xfs_buf.h | 110 struct block_device *bt_bdev; member 387 #define xfs_getsize_buftarg(buftarg) block_size((buftarg)->bt_bdev) 388 #define xfs_readonly_buftarg(buftarg) bdev_read_only((buftarg)->bt_bdev)
|
D | xfs_buf_mem.h | 15 return btp->bt_bdev == NULL; in xfs_buftarg_is_mem()
|
D | xfs_notify_failure.c | 301 ddev_end = ddev_start + bdev_nr_bytes(mp->m_ddev_targp->bt_bdev) - 1; in xfs_dax_notify_failure() 306 len = bdev_nr_bytes(mp->m_ddev_targp->bt_bdev); in xfs_dax_notify_failure()
|
D | xfs_buf.c | 1559 bio = bio_alloc(bp->b_target->bt_bdev, nr_pages, op, GFP_NOIO); in xfs_buf_ioapply_map() 2035 if (btp->bt_bdev != btp->bt_mount->m_super->s_bdev) in xfs_free_buftarg() 2052 sectorsize, btp->bt_bdev); in xfs_setsize_buftarg() 2113 btp->bt_bdev = file_bdev(bdev_file); in xfs_alloc_buftarg() 2114 btp->bt_dev = btp->bt_bdev->bd_dev; in xfs_alloc_buftarg() 2115 btp->bt_daxdev = fs_dax_get_by_bdev(btp->bt_bdev, &btp->bt_dax_part_off, in xfs_alloc_buftarg() 2122 if (xfs_setsize_buftarg(btp, bdev_logical_block_size(btp->bt_bdev))) in xfs_alloc_buftarg() 2124 if (xfs_init_buftarg(btp, bdev_logical_block_size(btp->bt_bdev), in xfs_alloc_buftarg()
|
D | xfs_super.c | 350 bdev_is_partition(mp->m_ddev_targp->bt_bdev)) { in xfs_setup_dax_always() 414 blkdev_issue_flush(mp->m_logdev_targp->bt_bdev); in xfs_shutdown_devices() 415 invalidate_bdev(mp->m_logdev_targp->bt_bdev); in xfs_shutdown_devices() 418 blkdev_issue_flush(mp->m_rtdev_targp->bt_bdev); in xfs_shutdown_devices() 419 invalidate_bdev(mp->m_rtdev_targp->bt_bdev); in xfs_shutdown_devices() 421 blkdev_issue_flush(mp->m_ddev_targp->bt_bdev); in xfs_shutdown_devices() 422 invalidate_bdev(mp->m_ddev_targp->bt_bdev); in xfs_shutdown_devices()
|
D | xfs_buf_mem.c | 91 btp->bt_bdev = NULL; /* in-memory buftargs have no bdev */ in xmbuf_alloc()
|
D | xfs_file.c | 154 error = blkdev_issue_flush(mp->m_rtdev_targp->bt_bdev); in xfs_file_fsync() 156 error = blkdev_issue_flush(mp->m_ddev_targp->bt_bdev); in xfs_file_fsync() 179 err2 = blkdev_issue_flush(mp->m_ddev_targp->bt_bdev); in xfs_file_fsync()
|
D | xfs_aops.c | 536 sis->bdev = xfs_inode_buftarg(XFS_I(file_inode(swap_file)))->bt_bdev; in xfs_iomap_swapfile_activate()
|
D | xfs_inode.h | 578 if (bdev_stable_writes(xfs_inode_buftarg(ip)->bt_bdev)) in xfs_update_stable_writes()
|
D | xfs_iomap.c | 133 iomap->bdev = target->bt_bdev; in xfs_bmbt_to_iomap() 158 iomap->bdev = target->bt_bdev; in xfs_hole_to_iomap()
|
D | xfs_iops.c | 640 struct block_device *bdev = target->bt_bdev; in xfs_vn_getattr()
|
D | xfs_log.c | 1666 bio_init(&iclog->ic_bio, log->l_targ->bt_bdev, iclog->ic_bvec, in xlog_write_iclog() 1687 blkdev_issue_flush(log->l_mp->m_ddev_targp->bt_bdev)) in xlog_write_iclog()
|
D | xfs_ioctl.c | 1034 invalidate_bdev(mp->m_ddev_targp->bt_bdev); in xfs_ioc_setlabel()
|
D | xfs_bmap_util.c | 66 return blkdev_issue_zeroout(target->bt_bdev, in xfs_zero_extent()
|
D | xfs_log_recover.c | 140 error = xfs_rw_bdev(log->l_targ->bt_bdev, log->l_logBBstart + blk_no, in xlog_do_io()
|