| /linux/fs/xfs/ |
| H A D | xfs_health.c | 28 struct xfs_group *xg, in xfs_health_unmount_group() argument 34 xfs_group_measure_sickness(xg, &sick, &checked); in xfs_health_unmount_group() 36 trace_xfs_group_unfixed_corruption(xg, sick); in xfs_health_unmount_group() 205 struct xfs_group *xg, in xfs_group_check_mask() argument 208 if (xg->xg_type == XG_TYPE_AG) in xfs_group_check_mask() 217 struct xfs_group *xg, in xfs_group_mark_sick() argument 222 xfs_group_check_mask(xg, mask); in xfs_group_mark_sick() 223 trace_xfs_group_mark_sick(xg, mask); in xfs_group_mark_sick() 225 spin_lock(&xg->xg_state_lock); in xfs_group_mark_sick() 226 old_mask = xg->xg_sick; in xfs_group_mark_sick() [all …]
|
| H A D | xfs_extent_busy.c | 32 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 in xfs_extent_busy_search() 159 xfs_extent_busy_update_extent(struct xfs_group * xg,struct xfs_extent_busy * busyp,xfs_agblock_t fbno,xfs_extlen_t flen,bool userdata) xfs_extent_busy_update_extent() argument 308 xfs_extent_busy_reuse(struct xfs_group * xg,xfs_agblock_t fbno,xfs_extlen_t flen,bool userdata) xfs_extent_busy_reuse() argument 355 xfs_extent_busy_trim(struct xfs_group * xg,xfs_extlen_t minlen,xfs_extlen_t maxlen,xfs_agblock_t * bno,xfs_extlen_t * len,unsigned * busy_gen) xfs_extent_busy_trim() argument 572 struct xfs_group *xg = xfs_group_hold(busyp->group); xfs_extent_busy_clear() local 611 xfs_extent_busy_flush(struct xfs_trans * tp,struct xfs_group * xg,unsigned busy_gen,uint32_t alloc_flags) xfs_extent_busy_flush() argument 649 xfs_extent_busy_wait_group(struct xfs_group * xg) xfs_extent_busy_wait_group() argument 702 xfs_extent_busy_list_empty(struct xfs_group * xg,unsigned * busy_gen) xfs_extent_busy_list_empty() argument [all...] |
| H A D | xfs_extent_busy.h | 46 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 D | xfs_drain.h | 72 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 D | xfs_notify_failure.c | 256 struct xfs_group *xg = NULL; in xfs_dax_notify_dev_failure() local 296 while ((xg = xfs_group_next_range(mp, xg, start_gno, end_gno, type))) { in xfs_dax_notify_dev_failure() 303 struct xfs_perag *pag = to_perag(xg); in xfs_dax_notify_dev_failure() 313 rtg = to_rtg(xg); in xfs_dax_notify_dev_failure() 323 if (xg->xg_gno == start_gno) in xfs_dax_notify_dev_failure() 326 if (xg->xg_gno == end_gno) in xfs_dax_notify_dev_failure() 331 notify.blockcount = min(xg->xg_block_count, in xfs_dax_notify_dev_failure() 343 xfs_group_rele(xg); in xfs_dax_notify_dev_failure()
|
| H A D | xfs_verify_media.c | 95 struct xfs_group *xg = NULL; in xfs_verify_report_losses() local 112 while ((xg = xfs_group_next_range(mp, xg, start_gno, end_gno, type))) { in xfs_verify_report_losses() 121 struct xfs_perag *pag = to_perag(xg); in xfs_verify_report_losses() 131 rtg = to_rtg(xg); in xfs_verify_report_losses() 141 if (xg->xg_gno == start_gno) in xfs_verify_report_losses() 144 if (xg->xg_gno == end_gno) in xfs_verify_report_losses() 149 lost.blockcount = min(xg->xg_block_count, in xfs_verify_report_losses() 161 xfs_group_rele(xg); in xfs_verify_report_losses()
|
| H A D | xfs_discard.c | 122 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 D | xfs_zone_alloc.c | 81 struct xfs_group *xg = rtg_group(rtg); 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() 450 struct xfs_group *xg; in xfs_open_zone() 458 xas_for_each_marked(&xas, xg, ULONG_MAX, XFS_RTG_FREE) in xfs_open_zone() 459 if (atomic_inc_not_zero(&xg->xg_active_ref)) in xfs_open_zone() 470 return xfs_init_open_zone(to_rtg(xg), 0, write_hint, is_gc); in xfs_open_zone() 451 struct xfs_group *xg; xfs_open_zone() local
|
| H A D | xfs_trace.h | 325 TP_PROTO(struct xfs_group *xg, unsigned long caller_ip), 326 TP_ARGS(xg, caller_ip), 336 __entry->dev = xg->xg_mount->m_super->s_dev; 337 __entry->type = xg->xg_type; 338 __entry->agno = xg->xg_gno; 339 __entry->refcount = atomic_read(&xg->xg_ref); 340 __entry->active_refcount = atomic_read(&xg->xg_active_ref); 354 TP_PROTO(struct xfs_group *xg, unsigned long caller_ip), \ 355 TP_ARGS(xg, caller_ip)) 1964 TP_PROTO(const struct xfs_group *xg, xfs_agblock_ [all...] |
| H A D | xfs_healthmon.c | 485 struct xfs_group *xg, in xfs_healthmon_report_group() argument 492 .group = xg->xg_gno, in xfs_healthmon_report_group() 494 struct xfs_healthmon *hm = xfs_healthmon_get(xg->xg_mount); in xfs_healthmon_report_group() 499 switch (xg->xg_type) { in xfs_healthmon_report_group()
|
| H A D | xfs_fsmap.c | 378 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 D | xfs_refcount.c | 2056 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 D | xfs_rmap.h | 271 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 D | xfs_ag.h | 93 static inline struct xfs_perag *to_perag(struct xfs_group *xg) 95 return container_of(xg, struct xfs_perag, pag_group); in to_perag() argument
|
| H A D | xfs_rtgroup.h | 67 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 D | xfs_refcount.h | 97 int xfs_refcount_recover_cow_leftovers(struct xfs_group *xg);
|
| H A D | xfs_ag.c | 110 struct xfs_group *xg) in xfs_perag_uninit() argument 113 cancel_delayed_work_sync(&to_perag(xg)->pag_blockgc_work); in xfs_perag_uninit()
|
| /linux/fs/xfs/scrub/ |
| H A D | trace.h | 1959 TP_PROTO(const struct xfs_group *xg, xfs_agblock_t agbno, 1961 TP_ARGS(xg, agbno, len), 1970 __entry->dev = xg->xg_mount->m_super->s_dev; 1971 __entry->type = xg->xg_type; 1972 __entry->agno = xg->xg_gno; 1986 TP_PROTO(const struct xfs_group *xg, xfs_agblock_t agbno, \ 1988 TP_ARGS(xg, agbno, len)) 2041 TP_PROTO(const struct xfs_group *xg, xfs_agblock_t agbno, 2043 TP_ARGS(xg, agbno, len, crosslinked), 2053 __entry->dev = xg->xg_mount->m_super->s_dev; [all …]
|
| H A D | alloc_repair.c | 135 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 D | p5040ds.dts | 414 hydra_xg_slot1: hydra-xg-slot1@0 { 426 hydra_xg_slot2: hydra-xg-slot2@2 {
|
| /linux/arch/s390/tools/ |
| H A D | opcodes.txt | 827 e382 xg RXY_RRRD
|