Lines Matching refs:ar_reserved
78 avail = pag->pagf_freeblks - pag->pag_rmapbt_resv.ar_reserved; in xfs_ag_resv_critical()
83 pag->pag_meta_resv.ar_reserved; in xfs_ag_resv_critical()
110 len = pag->pag_meta_resv.ar_reserved + pag->pag_rmapbt_resv.ar_reserved; in xfs_ag_resv_needed()
114 len -= xfs_perag_resv(pag, type)->ar_reserved; in xfs_ag_resv_needed()
151 oldresv = resv->ar_reserved; in __xfs_ag_resv_free()
153 resv->ar_reserved = 0; in __xfs_ag_resv_free()
241 resv->ar_reserved = ask - used; in __xfs_ag_resv_init()
338 xfs_perag_resv(pag, XFS_AG_RESV_METADATA)->ar_reserved + in xfs_ag_resv_init()
339 xfs_perag_resv(pag, XFS_AG_RESV_RMAPBT)->ar_reserved > in xfs_ag_resv_init()
377 len = min_t(xfs_extlen_t, args->len, resv->ar_reserved); in xfs_ag_resv_alloc_extent()
378 resv->ar_reserved -= len; in xfs_ag_resv_alloc_extent()
417 leftover = min_t(xfs_extlen_t, len, resv->ar_asked - resv->ar_reserved); in xfs_ag_resv_free_extent()
418 resv->ar_reserved += leftover; in xfs_ag_resv_free_extent()