Home
last modified time | relevance | path

Searched refs:m_ddev_targp (Results 1 – 25 of 34) sorted by relevance

12

/kernel/linux/linux-5.10/fs/xfs/
Dxfs_mount.c279 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()
Dxfs_discard.c31 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()
Dxfs_super.c352 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 …]
Dxfs_symlink.c56 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()
Dxfs_attr_inactive.c208 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()
Dxfs_pwork.c129 struct xfs_buftarg *btp = mp->m_ddev_targp; in xfs_pwork_guess_datadev_parallelism()
Dxfs_dquot_item_recover.c126 error = xfs_trans_read_buf(mp, NULL, mp->m_ddev_targp, dq_f->qlf_blkno, in xlog_recover_dquot_commit_pass2()
Dxfs_file.c198 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()
Dxfs_fsmap.c755 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()
Dxfs_mount.h81 xfs_buftarg_t *m_ddev_targp; /* saves taking the address */ member
Dxfs_qm.c928 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()
Dxfs_dquot.c335 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()
Dxfs_inode.h207 (ip)->i_mount->m_rtdev_targp : (ip)->i_mount->m_ddev_targp)
Dxfs_fsops.c46 error = xfs_buf_read_uncached(mp->m_ddev_targp, in xfs_growfs_data_private()
Dxfs_inode_item_recover.c237 error = xfs_buf_read(mp->m_ddev_targp, in_f->ilf_blkno, in_f->ilf_len, in xlog_recover_inode_commit_pass2()
Dxfs_log.c763 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()
Dxfs_buf_item_recover.c899 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/
Dxfs_attr_remote.c419 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()
Dxfs_sb.c269 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()
Dxfs_btree.c425 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()
Dxfs_alloc.c700 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()
Dxfs_da_btree.c396 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()
Dxfs_inode_buf.c146 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/
Drepair.c352 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()
Dagheader_repair.c373 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()

12