Home
last modified time | relevance | path

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

/linux-6.12.1/fs/xfs/
Dxfs_discard.c123 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()
Dxfs_buf.h110 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)
Dxfs_buf_mem.h15 return btp->bt_bdev == NULL; in xfs_buftarg_is_mem()
Dxfs_notify_failure.c301 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()
Dxfs_buf.c1559 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()
Dxfs_super.c350 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()
Dxfs_buf_mem.c91 btp->bt_bdev = NULL; /* in-memory buftargs have no bdev */ in xmbuf_alloc()
Dxfs_file.c154 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()
Dxfs_aops.c536 sis->bdev = xfs_inode_buftarg(XFS_I(file_inode(swap_file)))->bt_bdev; in xfs_iomap_swapfile_activate()
Dxfs_inode.h578 if (bdev_stable_writes(xfs_inode_buftarg(ip)->bt_bdev)) in xfs_update_stable_writes()
Dxfs_iomap.c133 iomap->bdev = target->bt_bdev; in xfs_bmbt_to_iomap()
158 iomap->bdev = target->bt_bdev; in xfs_hole_to_iomap()
Dxfs_iops.c640 struct block_device *bdev = target->bt_bdev; in xfs_vn_getattr()
Dxfs_log.c1666 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()
Dxfs_ioctl.c1034 invalidate_bdev(mp->m_ddev_targp->bt_bdev); in xfs_ioc_setlabel()
Dxfs_bmap_util.c66 return blkdev_issue_zeroout(target->bt_bdev, in xfs_zero_extent()
Dxfs_log_recover.c140 error = xfs_rw_bdev(log->l_targ->bt_bdev, log->l_logBBstart + blk_no, in xlog_do_io()