Lines Matching defs:xfs_perag
334 typedef struct xfs_perag { struct
335 struct xfs_mount *pag_mount; /* owner filesystem */
336 xfs_agnumber_t pag_agno; /* AG this structure belongs to */
337 atomic_t pag_ref; /* perag reference count */
338 char pagf_init; /* this agf's entry is initialized */
339 char pagi_init; /* this agi's entry is initialized */
340 char pagf_metadata; /* the agf is preferred to be metadata */
341 char pagi_inodeok; /* The agi is ok for inodes */
342 uint8_t pagf_levels[XFS_BTNUM_AGF];
344 bool pagf_agflreset; /* agfl requires reset before use */
345 uint32_t pagf_flcount; /* count of blocks in freelist */
346 xfs_extlen_t pagf_freeblks; /* total free blocks */
347 xfs_extlen_t pagf_longest; /* longest free space */
348 uint32_t pagf_btreeblks; /* # of blocks held in AGF btrees */
349 xfs_agino_t pagi_freecount; /* number of free inodes */
350 xfs_agino_t pagi_count; /* number of allocated inodes */
357 xfs_agino_t pagl_pagino;
358 xfs_agino_t pagl_leftrec;
359 xfs_agino_t pagl_rightrec;
360 spinlock_t pagb_lock; /* lock for pagb_tree */
361 struct rb_root pagb_tree; /* ordered tree of busy extents */
362 unsigned int pagb_gen; /* generation count for pagb_tree */
363 wait_queue_head_t pagb_wait; /* woken when pagb_gen changes */
388 } xfs_perag_t; argument
392 struct xfs_perag *pag, in xfs_perag_resv() argument