Home
last modified time | relevance | path

Searched refs:pag_mount (Results 1 - 25 of 26) sorted by relevance

12

/kernel/linux/linux-5.10/fs/xfs/libxfs/
H A Dxfs_ag_resv.c95 pag->pag_mount, XFS_ERRTAG_AG_RESV_CRITICAL); in xfs_ag_resv_critical()
141 pag->pag_mount->m_ag_max_usable += resv->ar_asked; in __xfs_ag_resv_free()
151 error = xfs_mod_fdblocks(pag->pag_mount, oldresv, true); in __xfs_ag_resv_free()
157 trace_xfs_ag_resv_free_error(pag->pag_mount, pag->pag_agno, in __xfs_ag_resv_free()
184 struct xfs_mount *mp = pag->pag_mount; in __xfs_ag_resv_init()
216 trace_xfs_ag_resv_init_error(pag->pag_mount, pag->pag_agno, in __xfs_ag_resv_init()
248 struct xfs_mount *mp = pag->pag_mount; in xfs_ag_resv_init()
307 error = xfs_alloc_pagf_init(pag->pag_mount, tp, pag->pag_agno, 0); in xfs_ag_resv_init()
H A Dxfs_sb.c91 trace_xfs_perag_put(pag->pag_mount, pag->pag_agno, ref, _RET_IP_); in xfs_perag_put()
H A Dxfs_alloc.c2238 return min_t(xfs_extlen_t, pag->pag_mount->m_ag_max_usable, in xfs_alloc_longest_free_extent()
/kernel/linux/linux-6.6/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
228 struct xfs_mount *mp = pag->pag_mount; in xfs_perag_next()
268 struct xfs_mount *mp = pag->pag_mount; in xfs_perag_next_wrap()
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_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()
365 pag->pag_mount = mp; in xfs_initialize_perag()
902 struct xfs_mount *mp = pag->pag_mount; in xfs_ag_shrink_space()
1007 __xfs_agino_range(pag->pag_mount, pag->block_count, &pag->agino_min, in xfs_ag_shrink_space()
1038 ASSERT(pag->pag_agno == pag->pag_mount->m_sb.sb_agcount - 1); in xfs_ag_extend_space()
1078 __xfs_agino_range(pag->pag_mount, pag->block_count, &pag->agino_min, in xfs_ag_extend_space()
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()
/kernel/linux/linux-6.6/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_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_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_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.c2641 struct xfs_mount *mp = pag->pag_mount; in xlog_recover_clear_agi_bucket()
2682 struct xfs_mount *mp = pag->pag_mount; in xlog_recover_iunlink_bucket()
H A Dxfs_inode.c1945 struct xfs_mount *mp = pag->pag_mount; in xfs_iunlink_reload_next()
2178 struct xfs_mount *mp = pag->pag_mount; in xfs_ifree_mark_inode_stale()
H A Dxfs_reflink.c146 cur = xfs_refcountbt_init_cursor(pag->pag_mount, tp, agbp, pag); in xfs_reflink_find_shared()
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_super.c237 if (!xfs_is_inode32(pag->pag_mount)) { in xfs_set_inode_alloc_perag()
/kernel/linux/linux-5.10/fs/xfs/
H A Dxfs_health.c185 trace_xfs_ag_mark_sick(pag->pag_mount, pag->pag_agno, mask); in xfs_ag_mark_sick()
200 trace_xfs_ag_mark_healthy(pag->pag_mount, pag->pag_agno, mask); in xfs_ag_mark_healthy()
H A Dxfs_icache.c163 struct xfs_mount *mp = pag->pag_mount; in xfs_perag_set_reclaim_tag()
185 struct xfs_mount *mp = pag->pag_mount; in xfs_perag_clear_reclaim_tag()
232 XFS_INO_TO_AGINO(pag->pag_mount, ino), in xfs_inode_clear_reclaim_tag()
779 struct xfs_mount *mp = pag->pag_mount; in xfs_inode_walk_ag()
H A Dxfs_mount.h313 struct xfs_mount *pag_mount; /* owner filesystem */ member
H A Dxfs_mount.c147 XFS_IS_CORRUPT(pag->pag_mount, atomic_read(&pag->pag_ref) != 0); in xfs_free_perag()
201 pag->pag_mount = mp; in xfs_initialize_perag()
H A Dxfs_inode.c2009 if (XFS_TEST_ERROR(false, pag->pag_mount, XFS_ERRTAG_IUNLINK_FALLBACK)) in xfs_iunlink_add_backref()
2094 ASSERT(freed_anything == false || XFS_FORCED_SHUTDOWN(pag->pag_mount)); in xfs_iunlink_destroy()
H A Dxfs_trace.h2710 __entry->dev = pag->pag_mount->m_super->s_dev;
/kernel/linux/linux-6.6/fs/xfs/scrub/
H A Dtrace.h763 __entry->dev = pag->pag_mount->m_super->s_dev;
1084 __entry->dev = pag->pag_mount->m_super->s_dev;
1116 __entry->dev = pag->pag_mount->m_super->s_dev;

Completed in 52 milliseconds

12