| /linux-6.15/fs/xfs/libxfs/ |
| H A D | xfs_group.c | 41 if (xg) { in xfs_group_get() 47 return xg; in xfs_group_get() 59 return xg; in xfs_group_hold() 82 if (xg) { in xfs_group_grab() 85 xg = NULL; in xfs_group_grab() 88 return xg; in xfs_group_grab() 108 if (xg) { in xfs_group_next_range() 129 if (xg) { in xfs_group_grab_next_mark() 136 if (xg) { in xfs_group_grab_next_mark() 139 xg = NULL; in xfs_group_grab_next_mark() [all …]
|
| H A D | xfs_group.h | 96 struct xfs_group *xg) in xfs_group_max_blocks() argument 98 return xg->xg_mount->m_groups[xg->xg_type].blocks; in xfs_group_max_blocks() 103 struct xfs_group *xg) in xfs_group_start_fsb() argument 106 xg->xg_mount->m_groups[xg->xg_type].blklog; in xfs_group_start_fsb() 111 struct xfs_group *xg, in xfs_gbno_to_fsb() argument 119 struct xfs_group *xg, in xfs_gbno_to_daddr() argument 156 struct xfs_group *xg, in xfs_verify_gbno() argument 159 if (gbno >= xg->xg_block_count) in xfs_verify_gbno() 161 if (gbno < xg->xg_min_gbno) in xfs_verify_gbno() 168 struct xfs_group *xg, in xfs_verify_gbext() argument [all …]
|
| H A D | xfs_health.h | 210 void xfs_group_mark_sick(struct xfs_group *xg, unsigned int mask); 213 void xfs_group_mark_corrupt(struct xfs_group *xg, unsigned int mask); 214 void xfs_group_mark_healthy(struct xfs_group *xg, unsigned int mask); 215 void xfs_group_measure_sickness(struct xfs_group *xg, unsigned int *sick, 243 struct xfs_group *xg, in xfs_group_has_sickness() argument 248 xfs_group_measure_sickness(xg, &sick, &checked); in xfs_group_has_sickness()
|
| H A D | xfs_refcount.c | 2057 struct xfs_group *xg) in xfs_refcount_recover_cow_leftovers() argument 2059 struct xfs_mount *mp = xg->xg_mount; in xfs_refcount_recover_cow_leftovers() 2060 bool isrt = xg->xg_type == XG_TYPE_RTG; in xfs_refcount_recover_cow_leftovers() 2083 if (xfs_group_max_blocks(xg) >= XFS_MAX_RGBLOCKS) in xfs_refcount_recover_cow_leftovers() 2086 if (xfs_group_max_blocks(xg) > XFS_MAX_CRC_AG_BLOCKS) in xfs_refcount_recover_cow_leftovers() 2107 xfs_rtgroup_lock(to_rtg(xg), XFS_RTGLOCK_REFCOUNT); in xfs_refcount_recover_cow_leftovers() 2108 cur = xfs_rtrefcountbt_init_cursor(tp, to_rtg(xg)); in xfs_refcount_recover_cow_leftovers() 2110 error = xfs_alloc_read_agf(to_perag(xg), tp, 0, &agbp); in xfs_refcount_recover_cow_leftovers() 2113 cur = xfs_refcountbt_init_cursor(mp, tp, agbp, to_perag(xg)); in xfs_refcount_recover_cow_leftovers() 2123 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 | 95 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 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_rmap.c | 908 struct xfs_group *xg, in xfs_rmap_update_hook() argument 923 if (xg) in xfs_rmap_update_hook() 924 xfs_hooks_call(&xg->xg_rmap_update_hooks, op, &p); in xfs_rmap_update_hook() 931 struct xfs_group *xg, in xfs_rmap_hook_add() argument 934 return xfs_hooks_add(&xg->xg_rmap_update_hooks, &hook->rmap_hook); in xfs_rmap_hook_add() 940 struct xfs_group *xg, in xfs_rmap_hook_del() argument 943 xfs_hooks_del(&xg->xg_rmap_update_hooks, &hook->rmap_hook); in xfs_rmap_hook_del()
|
| /linux-6.15/fs/xfs/ |
| H A D | xfs_drain.c | 109 struct xfs_group *xg; in xfs_group_intent_get() local 111 xg = xfs_group_get_by_fsb(mp, fsbno, type); in xfs_group_intent_get() 112 if (!xg) in xfs_group_intent_get() 114 trace_xfs_group_intent_hold(xg, __return_address); in xfs_group_intent_get() 115 xfs_defer_drain_grab(&xg->xg_intents_drain); in xfs_group_intent_get() 116 return xg; in xfs_group_intent_get() 125 struct xfs_group *xg) in xfs_group_intent_put() argument 128 xfs_defer_drain_rele(&xg->xg_intents_drain); in xfs_group_intent_put() 129 xfs_group_put(xg); in xfs_group_intent_put() 138 struct xfs_group *xg) in xfs_group_intent_drain() argument [all …]
|
| H A D | xfs_health.c | 25 struct xfs_group *xg, in xfs_health_unmount_group() argument 180 struct xfs_group *xg, in xfs_group_check_mask() argument 192 struct xfs_group *xg, in xfs_group_mark_sick() argument 199 xg->xg_sick |= mask; in xfs_group_mark_sick() 208 struct xfs_group *xg, in xfs_group_mark_corrupt() argument 215 xg->xg_sick |= mask; in xfs_group_mark_corrupt() 216 xg->xg_checked |= mask; in xfs_group_mark_corrupt() 225 struct xfs_group *xg, in xfs_group_mark_healthy() argument 232 xg->xg_sick &= ~mask; in xfs_group_mark_healthy() 242 struct xfs_group *xg, in xfs_group_measure_sickness() argument [all …]
|
| H A D | xfs_extent_busy.c | 32 struct xfs_group *xg, in xfs_extent_busy_insert_list() argument 83 struct xfs_group *xg, in xfs_extent_busy_insert() argument 93 struct xfs_group *xg, in xfs_extent_busy_insert_discard() argument 113 struct xfs_group *xg, in xfs_extent_busy_search() argument 160 struct xfs_group *xg, in xfs_extent_busy_update_extent() argument 309 struct xfs_group *xg, in xfs_extent_busy_reuse() argument 356 struct xfs_group *xg, in xfs_extent_busy_trim() argument 591 xfs_group_put(xg); in xfs_extent_busy_clear() 612 struct xfs_group *xg, in xfs_extent_busy_flush() argument 650 struct xfs_group *xg) in xfs_extent_busy_wait_group() 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 | 249 struct xfs_group *xg = NULL; in xfs_dax_notify_dev_failure() local 289 while ((xg = xfs_group_next_range(mp, xg, start_gno, end_gno, type))) { in xfs_dax_notify_dev_failure() 296 struct xfs_perag *pag = to_perag(xg); in xfs_dax_notify_dev_failure() 306 rtg = to_rtg(xg); in xfs_dax_notify_dev_failure() 316 if (xg->xg_gno == start_gno) in xfs_dax_notify_dev_failure() 319 if (xg->xg_gno == end_gno) in xfs_dax_notify_dev_failure() 324 notify.blockcount = min(xg->xg_block_count, in xfs_dax_notify_dev_failure() 336 xfs_group_put(xg); in xfs_dax_notify_dev_failure()
|
| H A D | xfs_zone_alloc.c | 72 struct xfs_group *xg = &rtg->rtg_group; in xfs_zone_account_reclaimable() local 98 xfs_group_clear_mark(xg, XFS_RTG_RECLAIMABLE); in xfs_zone_account_reclaimable() 106 xg->xg_next_reset = zi->zi_reset_list; in xfs_zone_account_reclaimable() 107 zi->zi_reset_list = xg; in xfs_zone_account_reclaimable() 121 xfs_group_set_mark(xg, XFS_RTG_RECLAIMABLE); in xfs_zone_account_reclaimable() 406 struct xfs_group *xg; in xfs_find_free_zone() local 418 zi->zi_free_zone_cursor = xg->xg_gno; in xfs_find_free_zone() 420 return xg; in xfs_find_free_zone() 462 struct xfs_group *xg; in xfs_open_zone() local 465 if (!xg) in xfs_open_zone() [all …]
|
| H A D | xfs_trace.h | 232 TP_ARGS(xg, caller_ip), 244 __entry->agno = xg->xg_gno; 261 TP_ARGS(xg, caller_ip)) 1843 TP_ARGS(xg, agbno, len), 1870 TP_ARGS(xg, agbno, len)) 2717 TP_ARGS(xg, agbno, len), 2744 TP_ARGS(xg, agbno, len)) 4531 TP_ARGS(xg, flags), 4552 TP_ARGS(xg, flags)) 5000 TP_ARGS(xg, caller_ip), [all …]
|
| H A D | xfs_discard.c | 108 const struct xfs_group *xg) in xfs_group_bdev() argument 110 struct xfs_mount *mp = xg->xg_mount; in xfs_group_bdev() 112 switch (xg->xg_type) { in xfs_group_bdev()
|
| /linux-6.15/Documentation/devicetree/bindings/arm/marvell/ |
| H A D | cp110-system-controller.txt | 93 …0(rxd1), tdm(dtx), mss_uart(rxd), ptp(pclk_out), i2c1(sck), uart1(rxd), sata0(present_act), xg(mdc) 94 …xd0), tdm(fsync), mss_uart(txd), pcie(rstoutn), i2c1(sda), uart1(txd), sata1(present_act), xg(mdio) 124 mpp33 33 gpio, mii(txclk), sdio(pwr10), mss_spi(csn), tdm(fsync), au(i2smclk), sdio(bus_pwr), xg(md… 126 …, i2c1(sda), mss_spi(clk), tdm(pclk), au(i2sdo_spdifo), sdio(card_detect), xg(mdio), ge(mdio), pci… 127 mpp36 36 gpio, synce2(clk), i2c1(sck), ptp(clk), synce1(clk), au(i2sbclk), sata0(present_act), xg(m… 128 …sck), ptp(pclk_out), tdm(intn), mss_i2c(sck), sata1(present_act), ge(mdc), xg(mdc), pcie1(clkreq),… 129 …0(sda), ptp(pulse), tdm(rstn), mss_i2c(sda), sata0(present_act), ge(mdio), xg(mdio), au(i2sextclk)… 133 …protect), synce2(clk), au(i2smclk), mss_uart(txd), spi0(miso), uart1(cts), xg(mdc), sata0(present_… 134 …etect), synce1(clk), au(i2sextclk), mss_uart(rxd), spi0(csn0), uart1(rts), xg(mdio), sata1(present… 139 mpp48 48 gpio, ge1(txctl_txen), spi1(mosi), xg(mdc), wakeup(in_cp2cp) [all …]
|
| /linux-6.15/fs/xfs/scrub/ |
| H A D | rtbitmap_repair.c | 516 struct xfs_group *xg = rtg_group(sc->sr.rtg); in xrep_rtbitmap() local 572 if (!xfs_extent_busy_list_empty(xg, &busy_gen)) { in xrep_rtbitmap() 573 error = xfs_extent_busy_flush(sc->tp, xg, busy_gen, 0); in xrep_rtbitmap()
|
| H A D | trace.h | 1969 TP_ARGS(xg, agbno, len), 1979 __entry->type = xg->xg_type; 1980 __entry->agno = xg->xg_gno; 1996 TP_ARGS(xg, agbno, len)) 2017 __entry->type = xg->xg_type; 2018 __entry->agno = xg->xg_gno; 2129 TP_ARGS(xg, rec), 2141 __entry->agno = xg->xg_gno; 2142 __entry->type = xg->xg_type; 2731 TP_ARGS(xg, op, p), [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-6.15/Documentation/devicetree/bindings/pinctrl/ |
| H A D | marvell,ac5-pinctrl.yaml | 35 spi0, spi1, synce, tsen_int, uart0, uart1, uart2, uart3, uartsd, wd_int, xg ]
|
| /linux-6.15/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-6.15/arch/arm64/boot/dts/marvell/ |
| H A D | cn9132-sr-cex7.dtsi | 518 marvell,function = "xg"; 666 marvell,function = "xg";
|