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; /* passive reference count */
36 atomic_t pag_active_ref; /* active reference count */
37 wait_queue_head_t pag_active_wq;/* woken active_ref falls to zero */
38 unsigned long pag_opstate;
39 uint8_t pagf_levels[XFS_BTNUM_AGF];
41 uint32_t pagf_flcount; /* count of blocks in freelist */
42 xfs_extlen_t pagf_freeblks; /* total free blocks */
43 xfs_extlen_t pagf_longest; /* longest free space */
44 uint32_t pagf_btreeblks; /* # of blocks held in AGF btrees */
45 xfs_agino_t pagi_freecount; /* number of free inodes */
46 xfs_agino_t pagi_count; /* number of allocated inodes */
53 xfs_agino_t pagl_pagino;
54 xfs_agino_t pagl_leftrec;
55 xfs_agino_t pagl_rightrec;
57 int pagb_count; /* pagb slots in use */
58 uint8_t pagf_refcount_level; /* recount btree height */
61 struct xfs_ag_resv pag_meta_resv;
63 struct xfs_ag_resv pag_rmapbt_resv;
66 struct rcu_head rcu_head;
69 xfs_agblock_t block_count;
70 xfs_agblock_t min_block;
71 xfs_agino_t agino_min;
72 xfs_agino_t agino_max;
81 uint16_t pag_checked;
82 uint16_t pag_sick;
89 uint8_t pagf_repair_levels[XFS_BTNUM_AGF];
90 uint8_t pagf_repair_refcount_level;
93 spinlock_t pag_state_lock;
95 spinlock_t pagb_lock; /* lock for pagb_tree */
96 struct rb_root pagb_tree; /* ordered tree of busy extents */
97 unsigned int pagb_gen; /* generation count for pagb_tree */
98 wait_queue_head_t pagb_wait; /* woken when pagb_gen changes */
100 atomic_t pagf_fstrms; /* # of filestreams active in this AG */
102 spinlock_t pag_ici_lock; /* incore inode cache lock */
103 struct radix_tree_root pag_ici_root; /* incore inode cache root */
104 int pag_ici_reclaimable; /* reclaimable inodes */
105 unsigned long pag_ici_reclaim_cursor; /* reclaim restart point */
108 spinlock_t pag_buf_lock; /* lock for pag_buf_hash */
109 struct rhashtable pag_buf_hash;
135 static inline bool xfs_perag_ ## name (struct xfs_perag *pag) \ argument