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;
71 xfs_agblock_t block_count;
72 xfs_agblock_t min_block;
73 xfs_agino_t agino_min;
74 xfs_agino_t agino_max;
83 uint16_t pag_checked;
84 uint16_t pag_sick;
85 spinlock_t pag_state_lock;
87 spinlock_t pagb_lock; /* lock for pagb_tree */
88 struct rb_root pagb_tree; /* ordered tree of busy extents */
89 unsigned int pagb_gen; /* generation count for pagb_tree */
90 wait_queue_head_t pagb_wait; /* woken when pagb_gen changes */
114 struct xfs_perag *xfs_perag_get(struct xfs_mount *mp, xfs_agnumber_t agno); argument