Lines Matching defs:xfs_perag
312 typedef struct xfs_perag { struct
313 struct xfs_mount *pag_mount; /* owner filesystem */
314 xfs_agnumber_t pag_agno; /* AG this structure belongs to */
315 atomic_t pag_ref; /* perag reference count */
316 char pagf_init; /* this agf's entry is initialized */
317 char pagi_init; /* this agi's entry is initialized */
318 char pagf_metadata; /* the agf is preferred to be metadata */
319 char pagi_inodeok; /* The agi is ok for inodes */
320 uint8_t pagf_levels[XFS_BTNUM_AGF];
322 bool pagf_agflreset; /* agfl requires reset before use */
323 uint32_t pagf_flcount; /* count of blocks in freelist */
324 xfs_extlen_t pagf_freeblks; /* total free blocks */
325 xfs_extlen_t pagf_longest; /* longest free space */
326 uint32_t pagf_btreeblks; /* # of blocks held in AGF btrees */
327 xfs_agino_t pagi_freecount; /* number of free inodes */
328 xfs_agino_t pagi_count; /* number of allocated inodes */
335 xfs_agino_t pagl_pagino;
336 xfs_agino_t pagl_leftrec;
337 xfs_agino_t pagl_rightrec;
343 uint16_t pag_checked;
344 uint16_t pag_sick;
345 spinlock_t pag_state_lock;
347 spinlock_t pagb_lock; /* lock for pagb_tree */
348 struct rb_root pagb_tree; /* ordered tree of busy extents */
349 unsigned int pagb_gen; /* generation count for pagb_tree */
350 wait_queue_head_t pagb_wait; /* woken when pagb_gen changes */
352 atomic_t pagf_fstrms; /* # of filestreams active in this AG */
354 spinlock_t pag_ici_lock; /* incore inode cache lock */
355 struct radix_tree_root pag_ici_root; /* incore inode cache root */
356 int pag_ici_reclaimable; /* reclaimable inodes */
357 unsigned long pag_ici_reclaim_cursor; /* reclaim restart point */
381 } xfs_perag_t; argument
385 struct xfs_perag *pag, in xfs_perag_resv() argument