Lines Matching defs:xfs_perag

32 struct xfs_perag {  struct
33 struct xfs_mount *pag_mount; /* owner filesystem */
34 xfs_agnumber_t pag_agno; /* AG this structure belongs to */
35 atomic_t pag_ref; /* perag reference count */
36 char pagf_init; /* this agf's entry is initialized */
37 char pagi_init; /* this agi's entry is initialized */
38 char pagf_metadata; /* the agf is preferred to be metadata */
39 char pagi_inodeok; /* The agi is ok for inodes */
40 uint8_t pagf_levels[XFS_BTNUM_AGF];
42 bool pagf_agflreset; /* agfl requires reset before use */
43 uint32_t pagf_flcount; /* count of blocks in freelist */
44 xfs_extlen_t pagf_freeblks; /* total free blocks */
45 xfs_extlen_t pagf_longest; /* longest free space */
46 uint32_t pagf_btreeblks; /* # of blocks held in AGF btrees */
47 xfs_agino_t pagi_freecount; /* number of free inodes */
48 xfs_agino_t pagi_count; /* number of allocated inodes */
55 xfs_agino_t pagl_pagino;
56 xfs_agino_t pagl_leftrec;
57 xfs_agino_t pagl_rightrec;
59 int pagb_count; /* pagb slots in use */
60 uint8_t pagf_refcount_level; /* recount btree height */
63 struct xfs_ag_resv pag_meta_resv;
65 struct xfs_ag_resv pag_rmapbt_resv;
68 struct rcu_head rcu_head;
77 uint16_t pag_checked;
78 uint16_t pag_sick;
79 spinlock_t pag_state_lock;
81 spinlock_t pagb_lock; /* lock for pagb_tree */
82 struct rb_root pagb_tree; /* ordered tree of busy extents */
83 unsigned int pagb_gen; /* generation count for pagb_tree */
84 wait_queue_head_t pagb_wait; /* woken when pagb_gen changes */
86 atomic_t pagf_fstrms; /* # of filestreams active in this AG */
88 spinlock_t pag_ici_lock; /* incore inode cache lock */
89 struct radix_tree_root pag_ici_root; /* incore inode cache root */
90 int pag_ici_reclaimable; /* reclaimable inodes */
114 struct xfs_perag *xfs_perag_get(struct xfs_mount *mp, xfs_agnumber_t agno); argument