• Home
  • Raw
  • Download

Lines Matching defs:xfs_perag

343 typedef struct xfs_perag {  struct
344 struct xfs_mount *pag_mount; /* owner filesystem */
345 xfs_agnumber_t pag_agno; /* AG this structure belongs to */
346 atomic_t pag_ref; /* perag reference count */
347 char pagf_init; /* this agf's entry is initialized */
348 char pagi_init; /* this agi's entry is initialized */
349 char pagf_metadata; /* the agf is preferred to be metadata */
350 char pagi_inodeok; /* The agi is ok for inodes */
351 uint8_t pagf_levels[XFS_BTNUM_AGF];
353 bool pagf_agflreset; /* agfl requires reset before use */
354 uint32_t pagf_flcount; /* count of blocks in freelist */
355 xfs_extlen_t pagf_freeblks; /* total free blocks */
356 xfs_extlen_t pagf_longest; /* longest free space */
357 uint32_t pagf_btreeblks; /* # of blocks held in AGF btrees */
358 xfs_agino_t pagi_freecount; /* number of free inodes */
359 xfs_agino_t pagi_count; /* number of allocated inodes */
366 xfs_agino_t pagl_pagino;
367 xfs_agino_t pagl_leftrec;
368 xfs_agino_t pagl_rightrec;
374 uint16_t pag_checked;
375 uint16_t pag_sick;
376 spinlock_t pag_state_lock;
378 spinlock_t pagb_lock; /* lock for pagb_tree */
379 struct rb_root pagb_tree; /* ordered tree of busy extents */
380 unsigned int pagb_gen; /* generation count for pagb_tree */
381 wait_queue_head_t pagb_wait; /* woken when pagb_gen changes */
383 atomic_t pagf_fstrms; /* # of filestreams active in this AG */
385 spinlock_t pag_ici_lock; /* incore inode cache lock */
386 struct radix_tree_root pag_ici_root; /* incore inode cache root */
387 int pag_ici_reclaimable; /* reclaimable inodes */
388 struct mutex pag_ici_reclaim_lock; /* serialisation point */
389 unsigned long pag_ici_reclaim_cursor; /* reclaim restart point */
413 } xfs_perag_t; argument
417 struct xfs_perag *pag, in xfs_perag_resv() argument