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()
150 oldresv = resv->ar_reserved; in __xfs_ag_resv_free()
152 resv->ar_reserved = 0; in __xfs_ag_resv_free()
229 resv->ar_reserved = ask - used; in __xfs_ag_resv_init()
326 xfs_perag_resv(pag, XFS_AG_RESV_METADATA)->ar_reserved + in xfs_ag_resv_init()
327 xfs_perag_resv(pag, XFS_AG_RESV_RMAPBT)->ar_reserved > in xfs_ag_resv_init()
365 len = min_t(xfs_extlen_t, args->len, resv->ar_reserved); in xfs_ag_resv_alloc_extent()
366 resv->ar_reserved -= len; in xfs_ag_resv_alloc_extent()
407 leftover = min_t(xfs_extlen_t, len, resv->ar_asked - resv->ar_reserved); in xfs_ag_resv_free_extent()
408 resv->ar_reserved += leftover; in xfs_ag_resv_free_extent()