Home
last modified time | relevance | path

Searched refs:pag_mount (Results 1 – 17 of 17) sorted by relevance

/openbmc/linux/fs/xfs/libxfs/
H A Dxfs_ag_resv.c95 avail < pag->pag_mount->m_agbtree_maxlevels, in xfs_ag_resv_critical()
96 pag->pag_mount, XFS_ERRTAG_AG_RESV_CRITICAL); in xfs_ag_resv_critical()
142 pag->pag_mount->m_ag_max_usable += resv->ar_asked; in __xfs_ag_resv_free()
152 error = xfs_mod_fdblocks(pag->pag_mount, oldresv, true); in __xfs_ag_resv_free()
158 trace_xfs_ag_resv_free_error(pag->pag_mount, pag->pag_agno, in __xfs_ag_resv_free()
185 struct xfs_mount *mp = pag->pag_mount; in __xfs_ag_resv_init()
221 trace_xfs_ag_resv_init_error(pag->pag_mount, pag->pag_agno, in __xfs_ag_resv_init()
253 struct xfs_mount *mp = pag->pag_mount; in xfs_ag_resv_init()
H A Dxfs_ag.h33 struct xfs_mount *pag_mount; /* owner filesystem */ member
230 struct xfs_mount *mp = pag->pag_mount; in xfs_perag_next()
270 struct xfs_mount *mp = pag->pag_mount; in xfs_perag_next_wrap()
H A Dxfs_ag.c262 XFS_IS_CORRUPT(pag->pag_mount, atomic_read(&pag->pag_ref) != 0); in xfs_free_perag()
270 XFS_IS_CORRUPT(pag->pag_mount, in xfs_free_perag()
390 pag->pag_mount = mp; in xfs_initialize_perag()
922 struct xfs_mount *mp = pag->pag_mount; in xfs_ag_shrink_space()
1036 __xfs_agino_range(pag->pag_mount, pag->block_count, &pag->agino_min, in xfs_ag_shrink_space()
1067 ASSERT(pag->pag_agno == pag->pag_mount->m_sb.sb_agcount - 1); in xfs_ag_extend_space()
1107 __xfs_agino_range(pag->pag_mount, pag->block_count, &pag->agino_min, in xfs_ag_extend_space()
H A Dxfs_ialloc_btree.c454 struct xfs_mount *mp = pag->pag_mount; in xfs_inobt_init_common()
704 struct xfs_mount *mp = pag->pag_mount; in xfs_inobt_max_size()
804 if (!xfs_has_finobt(pag->pag_mount)) in xfs_finobt_calc_reserves()
807 if (xfs_has_inobtcounts(pag->pag_mount)) in xfs_finobt_calc_reserves()
H A Dxfs_ialloc.c549 struct xfs_mount *mp = pag->pag_mount; in xfs_inobt_insert_sprec()
1925 struct xfs_mount *mp = pag->pag_mount; in xfs_difree_inobt()
2058 struct xfs_mount *mp = pag->pag_mount; in xfs_difree_finobt()
2241 struct xfs_mount *mp = pag->pag_mount; in xfs_imap_lookup()
2302 struct xfs_mount *mp = pag->pag_mount; in xfs_imap()
2593 struct xfs_mount *mp = pag->pag_mount; in xfs_read_agi()
2596 trace_xfs_read_agi(pag->pag_mount, pag->pag_agno); in xfs_read_agi()
2624 trace_xfs_ialloc_read_agi(pag->pag_mount, pag->pag_agno); in xfs_ialloc_read_agi()
2642 xfs_is_shutdown(pag->pag_mount)); in xfs_ialloc_read_agi()
2976 if (!xfs_has_sparseinodes(pag->pag_mount)) in xfs_ialloc_check_shrink()
[all …]
H A Dxfs_alloc.c752 struct xfs_mount *mp = pag->pag_mount; in xfs_alloc_read_agfl()
2255 return min_t(xfs_extlen_t, pag->pag_mount->m_ag_max_usable, in xfs_alloc_longest_free_extent()
3169 struct xfs_mount *mp = pag->pag_mount; in xfs_read_agf()
3172 trace_xfs_read_agf(pag->pag_mount, pag->pag_agno); in xfs_read_agf()
3201 trace_xfs_alloc_read_agf(pag->pag_mount, pag->pag_agno); in xfs_alloc_read_agf()
3225 if (xfs_agfl_needs_reset(pag->pag_mount, agf)) in xfs_alloc_read_agf()
3238 if (xfs_has_rmapbt(pag->pag_mount)) in xfs_alloc_read_agf()
3242 &pag->pag_mount->m_allocbt_blks); in xfs_alloc_read_agf()
3247 else if (!xfs_is_shutdown(pag->pag_mount)) { in xfs_alloc_read_agf()
H A Dxfs_bmap.c3195 xfs_alloc_min_freelist(pag->pag_mount, pag), in xfs_bmap_longest_free_extent()
/openbmc/linux/fs/xfs/
H A Dxfs_discard.c157 struct xfs_mount *mp = pag->pag_mount; in xfs_trim_gather_extents()
320 extents->mount = pag->pag_mount; in xfs_trim_extents()
341 error = xfs_discard_extents(pag->pag_mount, extents); in xfs_trim_extents()
H A Dxfs_health.c183 trace_xfs_ag_mark_sick(pag->pag_mount, pag->pag_agno, mask); in xfs_ag_mark_sick()
198 trace_xfs_ag_mark_healthy(pag->pag_mount, pag->pag_agno, mask); in xfs_ag_mark_healthy()
H A Dxfs_icache.c209 struct xfs_mount *mp = pag->pag_mount; in xfs_blockgc_queue()
216 queue_delayed_work(pag->pag_mount->m_blockgc_wq, in xfs_blockgc_queue()
229 struct xfs_mount *mp = pag->pag_mount; in xfs_perag_set_inode_tag()
268 struct xfs_mount *mp = pag->pag_mount; in xfs_perag_clear_inode_tag()
1448 struct xfs_mount *mp = pag->pag_mount; in xfs_blockgc_worker()
1499 mod_delayed_work(pag->pag_mount->m_blockgc_wq, in xfs_blockgc_flush_all()
1639 struct xfs_mount *mp = pag->pag_mount; in xfs_icwalk_ag()
H A Dxfs_extent_busy.c43 trace_xfs_extent_busy(pag->pag_mount, pag->pag_agno, bno, len); in xfs_extent_busy_insert_list()
H A Dxfs_log_recover.c2647 struct xfs_mount *mp = pag->pag_mount; in xlog_recover_clear_agi_bucket()
2688 struct xfs_mount *mp = pag->pag_mount; in xlog_recover_iunlink_bucket()
H A Dxfs_trace.h176 __entry->dev = pag->pag_mount->m_super->s_dev;
655 __entry->dev = pag->pag_mount->m_super->s_dev;
685 __entry->dev = pag->pag_mount->m_super->s_dev;
2889 __entry->dev = pag->pag_mount->m_super->s_dev;
4443 __entry->dev = pag->pag_mount->m_super->s_dev;
H A Dxfs_reflink.c146 cur = xfs_refcountbt_init_cursor(pag->pag_mount, tp, agbp, pag); in xfs_reflink_find_shared()
H A Dxfs_inode.c1956 struct xfs_mount *mp = pag->pag_mount; in xfs_iunlink_reload_next()
2189 struct xfs_mount *mp = pag->pag_mount; in xfs_ifree_mark_inode_stale()
H A Dxfs_super.c237 if (!xfs_is_inode32(pag->pag_mount)) { in xfs_set_inode_alloc_perag()
/openbmc/linux/fs/xfs/scrub/
H A Dtrace.h763 __entry->dev = pag->pag_mount->m_super->s_dev;
1085 __entry->dev = pag->pag_mount->m_super->s_dev;
1117 __entry->dev = pag->pag_mount->m_super->s_dev;