/linux-6.6.21/fs/xfs/ |
D | xfs_notify_failure.c | 199 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()
|
D | xfs_mount.c | 161 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()
|
D | xfs_super.c | 332 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 …]
|
D | xfs_discard.c | 120 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()
|
D | xfs_symlink.c | 58 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()
|
D | xfs_attr_inactive.c | 209 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()
|
D | xfs_dquot_item_recover.c | 128 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 | 168 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()
|
D | xfs_fsmap.c | 799 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()
|
D | xfs_qm.c | 929 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()
|
D | xfs_dquot.c | 346 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()
|
D | xfs_log.c | 388 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()
|
D | xfs_inode.h | 313 (ip)->i_mount->m_rtdev_targp : (ip)->i_mount->m_ddev_targp)
|
D | xfs_mount.h | 97 xfs_buftarg_t *m_ddev_targp; /* saves taking the address */ member
|
D | xfs_fsops.c | 108 error = xfs_buf_read_uncached(mp->m_ddev_targp, in xfs_growfs_data_private()
|
D | xfs_inode_item_recover.c | 312 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/ |
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() 554 error = xfs_buf_incore(mp->m_ddev_targp, in xfs_attr_rmtval_stale()
|
D | xfs_sb.c | 372 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()
|
D | xfs_btree.c | 497 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()
|
D | xfs_da_btree.c | 408 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()
|
D | xfs_inode_buf.c | 135 return xfs_trans_read_buf(mp, tp, mp->m_ddev_targp, imap->im_blkno, in xfs_imap_to_bp()
|
D | xfs_alloc.c | 757 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/ |
D | agheader_repair.c | 392 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()
|
D | reap.c | 256 error = xfs_buf_incore(mp->m_ddev_targp, daddr, in xreap_agextent_binval()
|
D | repair.c | 501 error = xfs_trans_read_buf(mp, ri->sc->tp, mp->m_ddev_targp, daddr, in xrep_findroot_block()
|