/kernel/linux/linux-5.10/fs/xfs/ |
D | xfs_mount.c | 279 ASSERT(mp->m_ddev_targp != NULL); in xfs_readsb() 288 sector_size = xfs_getsize_buftarg(mp->m_ddev_targp); in xfs_readsb() 298 error = xfs_buf_read_uncached(mp->m_ddev_targp, XFS_SB_DADDR, in xfs_readsb() 514 error = xfs_buf_read_uncached(mp->m_ddev_targp, in xfs_check_sizes() 523 if (mp->m_logdev_targp == mp->m_ddev_targp) in xfs_check_sizes() 1070 if (mp->m_logdev_targp && mp->m_logdev_targp != mp->m_ddev_targp) in xfs_mountfs() 1072 xfs_wait_buftarg(mp->m_ddev_targp); in xfs_mountfs() 1324 if (xfs_readonly_buftarg(mp->m_ddev_targp) || in xfs_dev_is_read_only()
|
D | xfs_discard.c | 31 struct block_device *bdev = mp->m_ddev_targp->bt_bdev; in xfs_trim_extents() 155 struct request_queue *q = bdev_get_queue(mp->m_ddev_targp->bt_bdev); in xfs_ioc_trim()
|
D | xfs_super.c | 352 struct dax_device *dax_ddev = mp->m_ddev_targp->bt_daxdev; in xfs_close_devices() 354 if (mp->m_logdev_targp && mp->m_logdev_targp != mp->m_ddev_targp) { in xfs_close_devices() 370 xfs_free_buftarg(mp->m_ddev_targp); in xfs_close_devices() 422 mp->m_ddev_targp = xfs_alloc_buftarg(mp, ddev, dax_ddev); in xfs_open_devices() 423 if (!mp->m_ddev_targp) in xfs_open_devices() 437 mp->m_logdev_targp = mp->m_ddev_targp; in xfs_open_devices() 446 xfs_free_buftarg(mp->m_ddev_targp); in xfs_open_devices() 469 error = xfs_setsize_buftarg(mp->m_ddev_targp, mp->m_sb.sb_sectsize); in xfs_setup_devices() 473 if (mp->m_logdev_targp && mp->m_logdev_targp != mp->m_ddev_targp) { in xfs_setup_devices() 802 id = huge_encode_dev(mp->m_ddev_targp->bt_dev); in xfs_fs_statfs() [all …]
|
D | xfs_symlink.c | 56 error = xfs_buf_read(mp->m_ddev_targp, d, BTOBB(byte_cnt), 0, in xfs_readlink_bmap_ilocked() 278 error = xfs_trans_get_buf(tp, mp->m_ddev_targp, d, in xfs_symlink() 420 error = xfs_trans_get_buf(tp, mp->m_ddev_targp, in xfs_inactive_symlink_rmt()
|
D | xfs_attr_inactive.c | 208 error = xfs_trans_get_buf(*trans, mp->m_ddev_targp, in xfs_attr3_node_inactive() 302 error = xfs_trans_get_buf(*trans, mp->m_ddev_targp, blkno, in xfs_attr3_root_inactive()
|
D | xfs_pwork.c | 129 struct xfs_buftarg *btp = mp->m_ddev_targp; in xfs_pwork_guess_datadev_parallelism()
|
D | xfs_dquot_item_recover.c | 126 error = xfs_trans_read_buf(mp, NULL, mp->m_ddev_targp, dq_f->qlf_blkno, in xlog_recover_dquot_commit_pass2()
|
D | xfs_file.c | 198 else if (mp->m_logdev_targp != mp->m_ddev_targp) in xfs_file_fsync() 199 xfs_blkdev_issue_flush(mp->m_ddev_targp); in xfs_file_fsync() 211 mp->m_logdev_targp == mp->m_ddev_targp) in xfs_file_fsync() 212 xfs_blkdev_issue_flush(mp->m_ddev_targp); in xfs_file_fsync()
|
D | xfs_fsmap.c | 755 fm->fmr_device == new_encode_dev(mp->m_ddev_targp->bt_dev)) in xfs_getfsmap_is_valid_device() 851 handlers[0].dev = new_encode_dev(mp->m_ddev_targp->bt_dev); in xfs_getfsmap() 856 if (mp->m_logdev_targp != mp->m_ddev_targp) { in xfs_getfsmap()
|
D | xfs_mount.h | 81 xfs_buftarg_t *m_ddev_targp; /* saves taking the address */ member
|
D | xfs_qm.c | 928 error = xfs_trans_read_buf(mp, NULL, mp->m_ddev_targp, in xfs_qm_reset_dqcounts_all() 941 error = xfs_trans_read_buf(mp, NULL, mp->m_ddev_targp, in xfs_qm_reset_dqcounts_all() 1038 xfs_buf_readahead(mp->m_ddev_targp, in xfs_qm_reset_dqcounts_buf() 1242 bp = xfs_buf_incore(mp->m_ddev_targp, dqp->q_blkno, in xfs_qm_flush_one()
|
D | xfs_dquot.c | 335 error = xfs_trans_get_buf(tp, mp->m_ddev_targp, dqp->q_blkno, in xfs_dquot_disk_alloc() 431 error = xfs_trans_read_buf(mp, NULL, mp->m_ddev_targp, dqp->q_blkno, in xfs_dquot_disk_read() 1262 error = xfs_trans_read_buf(mp, NULL, mp->m_ddev_targp, dqp->q_blkno, in xfs_qm_dqflush()
|
D | xfs_inode.h | 207 (ip)->i_mount->m_rtdev_targp : (ip)->i_mount->m_ddev_targp)
|
D | xfs_fsops.c | 46 error = xfs_buf_read_uncached(mp->m_ddev_targp, in xfs_growfs_data_private()
|
D | xfs_inode_item_recover.c | 237 error = xfs_buf_read(mp->m_ddev_targp, in_f->ilf_blkno, in_f->ilf_len, in xlog_recover_inode_commit_pass2()
|
D | xfs_log.c | 763 xfs_wait_buftarg(mp->m_ddev_targp); in xfs_log_mount_finish() 960 xfs_wait_buftarg(mp->m_ddev_targp); in xfs_log_quiesce() 1909 if (log->l_targ != log->l_mp->m_ddev_targp || split) { in xlog_sync() 1910 xfs_blkdev_issue_flush(log->l_mp->m_ddev_targp); in xlog_sync()
|
D | xfs_buf_item_recover.c | 899 error = xfs_buf_read(mp->m_ddev_targp, buf_f->blf_blkno, buf_f->blf_len, in xlog_recover_buf_commit_pass2()
|
/kernel/linux/linux-5.10/fs/xfs/libxfs/ |
D | xfs_attr_remote.c | 419 error = xfs_buf_read(mp->m_ddev_targp, dblkno, dblkcnt, in xfs_attr_rmtval_get() 515 error = xfs_buf_get(mp->m_ddev_targp, dblkno, dblkcnt, &bp); in xfs_attr_rmtval_set_value() 553 bp = xfs_buf_incore(mp->m_ddev_targp, in xfs_attr_rmtval_stale()
|
D | xfs_sb.c | 269 sbp->sb_logstart == 0 && mp->m_logdev_targp == mp->m_ddev_targp)) { in xfs_validate_sb_common() 277 sbp->sb_logstart != 0 && mp->m_logdev_targp != mp->m_ddev_targp)) { in xfs_validate_sb_common() 1031 error = xfs_buf_get(mp->m_ddev_targp, in xfs_update_secondary_sbs() 1214 error = xfs_trans_read_buf(mp, tp, mp->m_ddev_targp, in xfs_sb_read_secondary() 1236 error = xfs_trans_get_buf(tp, mp->m_ddev_targp, in xfs_sb_get_secondary()
|
D | xfs_btree.c | 425 error = xfs_trans_read_buf(mp, tp, mp->m_ddev_targp, in xfs_btree_dup_cursor() 807 error = xfs_trans_read_buf(mp, tp, mp->m_ddev_targp, d, in xfs_btree_read_bufl() 833 xfs_buf_readahead(mp->m_ddev_targp, d, mp->m_bsize * count, ops); in xfs_btree_reada_bufl() 854 xfs_buf_readahead(mp->m_ddev_targp, d, mp->m_bsize * count, ops); in xfs_btree_reada_bufs() 981 xfs_buf_readahead(cur->bc_mp->m_ddev_targp, daddr, in xfs_btree_readahead_ptr() 1247 error = xfs_trans_get_buf(cur->bc_tp, mp->m_ddev_targp, d, mp->m_bsize, in xfs_btree_get_buf_block() 1279 error = xfs_trans_read_buf(mp, cur->bc_tp, mp->m_ddev_targp, d, in xfs_btree_read_buf_block()
|
D | xfs_alloc.c | 700 mp, tp, mp->m_ddev_targp, in xfs_alloc_read_agfl() 1073 error = xfs_trans_get_buf(args->tp, args->mp->m_ddev_targp, in xfs_alloc_ag_vextent_small() 2344 error = xfs_trans_get_buf(tp, tp->t_mountp->m_ddev_targp, in xfs_free_agfl_block() 2964 error = xfs_trans_read_buf(mp, tp, mp->m_ddev_targp, in xfs_read_agf()
|
D | xfs_da_btree.c | 396 error = xfs_trans_read_buf(mp, tp, mp->m_ddev_targp, mappedbno, in xfs_da3_node_read_mapped() 2603 error = xfs_trans_get_buf_map(tp, mp->m_ddev_targp, mapp, nmap, 0, &bp); in xfs_da_get_buf() 2640 error = xfs_trans_read_buf_map(mp, tp, mp->m_ddev_targp, mapp, nmap, 0, in xfs_da_read_buf() 2679 xfs_buf_readahead_map(dp->i_mount->m_ddev_targp, mapp, nmap, ops); in xfs_da_reada_buf()
|
D | xfs_inode_buf.c | 146 error = xfs_trans_read_buf(mp, tp, mp->m_ddev_targp, imap->im_blkno, in xfs_imap_to_bp()
|
/kernel/linux/linux-5.10/fs/xfs/scrub/ |
D | repair.c | 352 error = xfs_trans_get_buf(tp, mp->m_ddev_targp, in xrep_init_btblock() 458 bp = xfs_buf_incore(sc->mp->m_ddev_targp, in xrep_invalidate_blocks() 723 error = xfs_trans_read_buf(mp, ri->sc->tp, mp->m_ddev_targp, daddr, in xrep_findroot_block()
|
D | agheader_repair.c | 373 error = xfs_trans_read_buf(mp, sc->tp, mp->m_ddev_targp, in xrep_agf() 659 error = xfs_trans_read_buf(mp, sc->tp, mp->m_ddev_targp, in xrep_agfl() 905 error = xfs_trans_read_buf(mp, sc->tp, mp->m_ddev_targp, in xrep_agi()
|