Home
last modified time | relevance | path

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

12

/linux-6.6.21/fs/xfs/
Dxfs_notify_failure.c199 mp->m_logdev_targp != mp->m_ddev_targp) { in xfs_dax_notify_failure()
210 ddev_start = mp->m_ddev_targp->bt_dax_part_off; in xfs_dax_notify_failure()
211 ddev_end = ddev_start + bdev_nr_bytes(mp->m_ddev_targp->bt_bdev) - 1; in xfs_dax_notify_failure()
Dxfs_mount.c161 ASSERT(mp->m_ddev_targp != NULL); in xfs_readsb()
170 sector_size = xfs_getsize_buftarg(mp->m_ddev_targp); in xfs_readsb()
180 error = xfs_buf_read_uncached(mp->m_ddev_targp, XFS_SB_DADDR, in xfs_readsb()
401 error = xfs_buf_read_uncached(mp->m_ddev_targp, in xfs_check_sizes()
410 if (mp->m_logdev_targp == mp->m_ddev_targp) in xfs_check_sizes()
1026 if (mp->m_logdev_targp && mp->m_logdev_targp != mp->m_ddev_targp) in xfs_mountfs()
1028 xfs_buftarg_drain(mp->m_ddev_targp); in xfs_mountfs()
1260 if (xfs_readonly_buftarg(mp->m_ddev_targp) || in xfs_dev_is_read_only()
Dxfs_super.c332 if (!mp->m_ddev_targp->bt_daxdev && in xfs_setup_dax_always()
346 bdev_is_partition(mp->m_ddev_targp->bt_bdev)) { in xfs_setup_dax_always()
408 if (mp->m_logdev_targp && mp->m_logdev_targp != mp->m_ddev_targp) { in xfs_shutdown_devices()
416 blkdev_issue_flush(mp->m_ddev_targp->bt_bdev); in xfs_shutdown_devices()
417 invalidate_bdev(mp->m_ddev_targp->bt_bdev); in xfs_shutdown_devices()
471 mp->m_ddev_targp = xfs_alloc_buftarg(mp, ddev); in xfs_open_devices()
472 if (!mp->m_ddev_targp) in xfs_open_devices()
486 mp->m_logdev_targp = mp->m_ddev_targp; in xfs_open_devices()
498 xfs_free_buftarg(mp->m_ddev_targp); in xfs_open_devices()
517 error = xfs_setsize_buftarg(mp->m_ddev_targp, mp->m_sb.sb_sectsize); in xfs_setup_devices()
[all …]
Dxfs_discard.c120 error = __blkdev_issue_discard(mp->m_ddev_targp->bt_bdev, in xfs_discard_extents()
370 bdev_discard_granularity(mp->m_ddev_targp->bt_bdev); in xfs_ioc_trim()
379 if (!bdev_max_discard_sectors(mp->m_ddev_targp->bt_bdev)) in xfs_ioc_trim()
Dxfs_symlink.c58 error = xfs_buf_read(mp->m_ddev_targp, d, BTOBB(byte_cnt), 0, in xfs_readlink_bmap_ilocked()
287 error = xfs_trans_get_buf(tp, mp->m_ddev_targp, d, in xfs_symlink()
428 error = xfs_trans_get_buf(tp, mp->m_ddev_targp, in xfs_inactive_symlink_rmt()
Dxfs_attr_inactive.c209 error = xfs_trans_get_buf(*trans, mp->m_ddev_targp, in xfs_attr3_node_inactive()
300 error = xfs_trans_get_buf(*trans, mp->m_ddev_targp, blkno, in xfs_attr3_root_inactive()
Dxfs_dquot_item_recover.c128 error = xfs_trans_read_buf(mp, NULL, mp->m_ddev_targp, dq_f->qlf_blkno, in xlog_recover_dquot_commit_pass2()
Dxfs_file.c168 else if (mp->m_logdev_targp != mp->m_ddev_targp) in xfs_file_fsync()
169 error = blkdev_issue_flush(mp->m_ddev_targp->bt_bdev); in xfs_file_fsync()
191 mp->m_logdev_targp == mp->m_ddev_targp) { in xfs_file_fsync()
192 err2 = blkdev_issue_flush(mp->m_ddev_targp->bt_bdev); in xfs_file_fsync()
Dxfs_fsmap.c799 fm->fmr_device == new_encode_dev(mp->m_ddev_targp->bt_dev)) in xfs_getfsmap_is_valid_device()
910 handlers[0].dev = new_encode_dev(mp->m_ddev_targp->bt_dev); in xfs_getfsmap()
915 if (mp->m_logdev_targp != mp->m_ddev_targp) { in xfs_getfsmap()
Dxfs_qm.c929 error = xfs_trans_read_buf(mp, NULL, mp->m_ddev_targp, in xfs_qm_reset_dqcounts_all()
942 error = xfs_trans_read_buf(mp, NULL, mp->m_ddev_targp, in xfs_qm_reset_dqcounts_all()
1039 xfs_buf_readahead(mp->m_ddev_targp, in xfs_qm_reset_dqcounts_buf()
1255 error = xfs_buf_incore(mp->m_ddev_targp, dqp->q_blkno, in xfs_qm_flush_one()
Dxfs_dquot.c346 error = xfs_trans_get_buf(tp, mp->m_ddev_targp, dqp->q_blkno, in xfs_dquot_disk_alloc()
451 error = xfs_trans_read_buf(mp, NULL, mp->m_ddev_targp, dqp->q_blkno, in xfs_dquot_disk_read()
1236 error = xfs_trans_read_buf(mp, NULL, mp->m_ddev_targp, dqp->q_blkno, in xfs_qm_dqflush()
Dxfs_log.c388 if (xfs_readonly_buftarg(mp->m_ddev_targp)) in xfs_log_writable()
820 xfs_buftarg_drain(mp->m_ddev_targp); in xfs_log_mount_finish()
1071 xfs_buftarg_wait(mp->m_ddev_targp); in xfs_log_quiesce()
1107 xfs_buftarg_drain(mp->m_ddev_targp); in xfs_log_unmount()
1925 if (log->l_targ != log->l_mp->m_ddev_targp && in xlog_write_iclog()
1926 blkdev_issue_flush(log->l_mp->m_ddev_targp->bt_bdev)) in xlog_write_iclog()
Dxfs_inode.h313 (ip)->i_mount->m_rtdev_targp : (ip)->i_mount->m_ddev_targp)
Dxfs_mount.h97 xfs_buftarg_t *m_ddev_targp; /* saves taking the address */ member
Dxfs_fsops.c108 error = xfs_buf_read_uncached(mp->m_ddev_targp, in xfs_growfs_data_private()
Dxfs_inode_item_recover.c312 error = xfs_buf_read(mp->m_ddev_targp, in_f->ilf_blkno, in_f->ilf_len, in xlog_recover_inode_commit_pass2()
/linux-6.6.21/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()
554 error = xfs_buf_incore(mp->m_ddev_targp, in xfs_attr_rmtval_stale()
Dxfs_sb.c372 sbp->sb_logstart == 0 && mp->m_logdev_targp == mp->m_ddev_targp)) { in xfs_validate_sb_common()
380 sbp->sb_logstart != 0 && mp->m_logdev_targp != mp->m_ddev_targp)) { in xfs_validate_sb_common()
1097 error = xfs_buf_get(mp->m_ddev_targp, in xfs_update_secondary_sbs()
1286 error = xfs_trans_read_buf(mp, tp, mp->m_ddev_targp, in xfs_sb_read_secondary()
1308 error = xfs_trans_get_buf(tp, mp->m_ddev_targp, in xfs_sb_get_secondary()
Dxfs_btree.c497 error = xfs_trans_read_buf(mp, tp, mp->m_ddev_targp, in xfs_btree_dup_cursor()
879 error = xfs_trans_read_buf(mp, tp, mp->m_ddev_targp, d, in xfs_btree_read_bufl()
905 xfs_buf_readahead(mp->m_ddev_targp, d, mp->m_bsize * count, ops); in xfs_btree_reada_bufl()
926 xfs_buf_readahead(mp->m_ddev_targp, d, mp->m_bsize * count, ops); in xfs_btree_reada_bufs()
1053 xfs_buf_readahead(cur->bc_mp->m_ddev_targp, daddr, in xfs_btree_readahead_ptr()
1319 error = xfs_trans_get_buf(cur->bc_tp, mp->m_ddev_targp, d, mp->m_bsize, in xfs_btree_get_buf_block()
1351 error = xfs_trans_read_buf(mp, cur->bc_tp, mp->m_ddev_targp, d, in xfs_btree_read_buf_block()
Dxfs_da_btree.c408 error = xfs_trans_read_buf(mp, tp, mp->m_ddev_targp, mappedbno, in xfs_da3_node_read_mapped()
2615 error = xfs_trans_get_buf_map(tp, mp->m_ddev_targp, mapp, nmap, 0, &bp); in xfs_da_get_buf()
2652 error = xfs_trans_read_buf_map(mp, tp, mp->m_ddev_targp, mapp, nmap, 0, in xfs_da_read_buf()
2691 xfs_buf_readahead_map(dp->i_mount->m_ddev_targp, mapp, nmap, ops); in xfs_da_reada_buf()
Dxfs_inode_buf.c135 return xfs_trans_read_buf(mp, tp, mp->m_ddev_targp, imap->im_blkno, in xfs_imap_to_bp()
Dxfs_alloc.c757 mp, tp, mp->m_ddev_targp, in xfs_alloc_read_agfl()
1127 error = xfs_trans_get_buf(args->tp, args->mp->m_ddev_targp, in xfs_alloc_ag_vextent_small()
2382 error = xfs_trans_get_buf(tp, tp->t_mountp->m_ddev_targp, in xfs_free_agfl_block()
3174 error = xfs_trans_read_buf(mp, tp, mp->m_ddev_targp, in xfs_read_agf()
/linux-6.6.21/fs/xfs/scrub/
Dagheader_repair.c392 error = xfs_trans_read_buf(mp, sc->tp, mp->m_ddev_targp, in xrep_agf()
752 error = xfs_trans_read_buf(mp, sc->tp, mp->m_ddev_targp, in xrep_agfl()
1002 error = xfs_trans_read_buf(mp, sc->tp, mp->m_ddev_targp, in xrep_agi()
Dreap.c256 error = xfs_buf_incore(mp->m_ddev_targp, daddr, in xreap_agextent_binval()
Drepair.c501 error = xfs_trans_read_buf(mp, ri->sc->tp, mp->m_ddev_targp, daddr, in xrep_findroot_block()

12