/linux/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 127 trace_xfs_group_intent_rele(xg, __return_address); in xfs_group_intent_put() 128 xfs_defer_drain_rele(&xg->xg_intents_drain); in xfs_group_intent_put() 129 xfs_group_put(xg); in xfs_group_intent_put() [all …]
|
H A D | xfs_health.c | 25 struct xfs_group *xg, in xfs_health_unmount_group() argument 31 xfs_group_measure_sickness(xg, &sick, &checked); in xfs_health_unmount_group() 33 trace_xfs_group_unfixed_corruption(xg, sick); in xfs_health_unmount_group() 180 struct xfs_group *xg, in xfs_group_check_mask() argument 183 if (xg->xg_type == XG_TYPE_AG) in xfs_group_check_mask() 192 struct xfs_group *xg, in xfs_group_mark_sick() argument 195 xfs_group_check_mask(xg, mask); in xfs_group_mark_sick() 196 trace_xfs_group_mark_sick(xg, mask); in xfs_group_mark_sick() 198 spin_lock(&xg->xg_state_lock); in xfs_group_mark_sick() 199 xg->xg_sick |= mask; in xfs_group_mark_sick() [all …]
|
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_trace.h | 230 TP_PROTO(struct xfs_group *xg, unsigned long caller_ip), 231 TP_ARGS(xg, caller_ip), 241 __entry->dev = xg->xg_mount->m_super->s_dev; 242 __entry->type = xg->xg_type; 243 __entry->agno = xg->xg_gno; 244 __entry->refcount = atomic_read(&xg->xg_ref); 245 __entry->active_refcount = atomic_read(&xg->xg_active_ref); 259 TP_PROTO(struct xfs_group *xg, unsigned long caller_ip), \ 260 TP_ARGS(xg, caller_ip)) 1689 TP_PROTO(const struct xfs_group *xg, xfs_agblock_t agbno, [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()
|
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_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_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_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_rtgroup.h | 49 static inline struct xfs_rtgroup *to_rtg(struct xfs_group *xg) in to_rtg() argument 51 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()
|
H A D | xfs_ag.c | 110 struct xfs_group *xg) in xfs_perag_uninit() argument 113 struct xfs_perag *pag = to_perag(xg); in xfs_perag_uninit()
|
/linux/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/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 | 1967 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)) 2004 TP_PROTO(const struct xfs_group *xg, xfs_agblock_t agbno, 2006 TP_ARGS(xg, agbno, len, crosslinked), 2016 __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/arm64/boot/dts/marvell/ |
H A D | cn9132-sr-cex7.dtsi | 518 marvell,function = "xg"; 666 marvell,function = "xg";
|
/linux/arch/s390/tools/ |
H A D | opcodes.txt | 827 e382 xg RXY_RRRD
|