Home
last modified time | relevance | path

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

/linux/fs/xfs/
H A Dxfs_extent_busy.c32 struct xfs_group *xg, in xfs_extent_busy_insert_list() argument
38 struct xfs_extent_busy_tree *eb = xg->xg_busy_extents; in xfs_extent_busy_insert_list()
45 new->group = xfs_group_hold(xg); in xfs_extent_busy_insert_list()
52 trace_xfs_extent_busy(xg, bno, len); in xfs_extent_busy_insert_list()
82 struct xfs_group *xg, in xfs_extent_busy_insert() argument
87 xfs_extent_busy_insert_list(xg, bno, len, flags, &tp->t_busy); in xfs_extent_busy_insert()
92 struct xfs_group *xg, in xfs_extent_busy_insert_discard() argument
97 xfs_extent_busy_insert_list(xg, bno, len, XFS_EXTENT_BUSY_DISCARDED, in xfs_extent_busy_insert_discard()
112 struct xfs_group *xg, in xfs_extent_busy_search() argument
116 struct xfs_extent_busy_tree *eb = xg->xg_busy_extents; in xfs_extent_busy_search()
[all …]
H A Dxfs_extent_busy.h46 void xfs_extent_busy_insert(struct xfs_trans *tp, struct xfs_group *xg,
48 void xfs_extent_busy_insert_discard(struct xfs_group *xg, xfs_agblock_t bno,
51 int xfs_extent_busy_search(struct xfs_group *xg, xfs_agblock_t bno,
53 void xfs_extent_busy_reuse(struct xfs_group *xg, xfs_agblock_t fbno,
55 bool xfs_extent_busy_trim(struct xfs_group *xg, xfs_extlen_t minlen,
58 int xfs_extent_busy_flush(struct xfs_trans *tp, struct xfs_group *xg,
61 bool xfs_extent_busy_list_empty(struct xfs_group *xg, unsigned int *busy_gen);
H A Dxfs_drain.h72 int xfs_group_intent_drain(struct xfs_group *xg);
73 bool xfs_group_intent_busy(struct xfs_group *xg);
83 #define xfs_group_intent_put(xg) xfs_group_put(xg) argument
H A Dxfs_discard.c122 struct xfs_group *xg = busyp->group; in xfs_discard_extents() local
124 xfs_group_type_buftarg(xg->xg_mount, xg->xg_type); in xfs_discard_extents()
126 trace_xfs_discard_extent(xg, busyp->bno, busyp->length); in xfs_discard_extents()
129 xfs_gbno_to_daddr(xg, busyp->bno), in xfs_discard_extents()
H A Dxfs_zone_alloc.c81 struct xfs_group *xg = &rtg->rtg_group; in xfs_zone_account_reclaimable() local
112 xg->xg_next_reset = zi->zi_reset_list; in xfs_zone_account_reclaimable()
113 zi->zi_reset_list = xg; in xfs_zone_account_reclaimable()
451 struct xfs_group *xg; in xfs_open_zone() local
459 xas_for_each_marked(&xas, xg, ULONG_MAX, XFS_RTG_FREE) in xfs_open_zone()
460 if (atomic_inc_not_zero(&xg->xg_active_ref)) in xfs_open_zone()
471 return xfs_init_open_zone(to_rtg(xg), 0, write_hint, is_gc); in xfs_open_zone()
H A Dxfs_healthmon.c472 struct xfs_group *xg, in xfs_healthmon_report_group() argument
479 .group = xg->xg_gno, in xfs_healthmon_report_group()
481 struct xfs_healthmon *hm = xfs_healthmon_get(xg->xg_mount); in xfs_healthmon_report_group()
486 switch (xg->xg_type) { in xfs_healthmon_report_group()
H A Dxfs_fsmap.c378 struct xfs_group *xg, in xfs_getfsmap_group_helper() argument
395 frec->start_daddr = xfs_gbno_to_daddr(xg, startblock); in xfs_getfsmap_group_helper()
397 frec->len_daddr = XFS_FSB_TO_BB(xg->xg_mount, blockcount); in xfs_getfsmap_group_helper()
/linux/fs/xfs/libxfs/
H A Dxfs_refcount.c2056 struct xfs_group *xg) in xfs_refcount_recover_cow_leftovers() argument
2058 struct xfs_mount *mp = xg->xg_mount; in xfs_refcount_recover_cow_leftovers()
2059 bool isrt = xg->xg_type == XG_TYPE_RTG; in xfs_refcount_recover_cow_leftovers()
2082 if (xfs_group_max_blocks(xg) >= XFS_MAX_RGBLOCKS) in xfs_refcount_recover_cow_leftovers()
2085 if (xfs_group_max_blocks(xg) > XFS_MAX_CRC_AG_BLOCKS) in xfs_refcount_recover_cow_leftovers()
2104 xfs_rtgroup_lock(to_rtg(xg), XFS_RTGLOCK_REFCOUNT); in xfs_refcount_recover_cow_leftovers()
2105 cur = xfs_rtrefcountbt_init_cursor(tp, to_rtg(xg)); in xfs_refcount_recover_cow_leftovers()
2107 error = xfs_alloc_read_agf(to_perag(xg), tp, 0, &agbp); in xfs_refcount_recover_cow_leftovers()
2110 cur = xfs_refcountbt_init_cursor(mp, tp, agbp, to_perag(xg)); in xfs_refcount_recover_cow_leftovers()
2120 xfs_rtgroup_unlock(to_rtg(xg), XFS_RTGLOCK_REFCOUNT); in xfs_refcount_recover_cow_leftovers()
[all …]
H A Dxfs_ag.h95 static inline struct xfs_perag *to_perag(struct xfs_group *xg) in to_perag() argument
97 return container_of(xg, struct xfs_perag, pag_group); in to_perag()
H A Dxfs_rmap.h271 int xfs_rmap_hook_add(struct xfs_group *xg, struct xfs_rmap_hook *hook);
272 void xfs_rmap_hook_del(struct xfs_group *xg, struct xfs_rmap_hook *hook);
H A Dxfs_rtgroup.h67 static inline struct xfs_rtgroup *to_rtg(struct xfs_group *xg) in to_rtg() argument
69 return container_of(xg, struct xfs_rtgroup, rtg_group); in to_rtg()
H A Dxfs_refcount.h97 int xfs_refcount_recover_cow_leftovers(struct xfs_group *xg);
H A Dxfs_ag.c110 struct xfs_group *xg) in xfs_perag_uninit() argument
113 struct xfs_perag *pag = to_perag(xg); in xfs_perag_uninit()
/linux/fs/xfs/scrub/
H A Dtrace.h1967 TP_PROTO(const struct xfs_group *xg, xfs_agblock_t agbno,
1969 TP_ARGS(xg, agbno, len),
1978 __entry->dev = xg->xg_mount->m_super->s_dev;
1979 __entry->type = xg->xg_type;
1980 __entry->agno = xg->xg_gno;
1994 TP_PROTO(const struct xfs_group *xg, xfs_agblock_t agbno, \
1996 TP_ARGS(xg, agbno, len))
2049 TP_PROTO(const struct xfs_group *xg, xfs_agblock_t agbno,
2051 TP_ARGS(xg, agbno, len, crosslinked),
2061 __entry->dev = xg->xg_mount->m_super->s_dev;
[all …]
H A Dalloc_repair.c135 struct xfs_group *xg = pag_group(sc->sa.pag); in xrep_setup_ag_allocbt() local
142 if (xfs_extent_busy_list_empty(xg, &busy_gen)) in xrep_setup_ag_allocbt()
144 return xfs_extent_busy_flush(sc->tp, xg, busy_gen, 0); in xrep_setup_ag_allocbt()
/linux/arch/powerpc/boot/dts/fsl/
H A Dp5040ds.dts414 hydra_xg_slot1: hydra-xg-slot1@0 {
426 hydra_xg_slot2: hydra-xg-slot2@2 {
/linux/arch/s390/tools/
H A Dopcodes.txt827 e382 xg RXY_RRRD