Home
last modified time | relevance | path

Searched refs:m_free (Results 1 – 8 of 8) sorted by relevance

/linux/fs/xfs/
H A Dxfs_fsops.c393 if (mp->m_free[ctr].res_total > request) { in xfs_reserve_blocks()
394 lcounter = mp->m_free[ctr].res_avail - request; in xfs_reserve_blocks()
397 mp->m_free[ctr].res_avail -= lcounter; in xfs_reserve_blocks()
399 mp->m_free[ctr].res_total = request; in xfs_reserve_blocks()
423 delta = request - mp->m_free[ctr].res_total; in xfs_reserve_blocks()
424 mp->m_free[ctr].res_total = request; in xfs_reserve_blocks()
H A Dxfs_mount.h268 struct xfs_freecounter m_free[XC_FREE_NR]; member
723 return percpu_counter_sum_positive(&mp->m_free[ctr].count); in xfs_sum_freecounter()
733 return percpu_counter_sum(&mp->m_free[ctr].count); in xfs_sum_freecounter_raw()
743 return percpu_counter_read_positive(&mp->m_free[ctr].count); in xfs_estimate_freecounter()
749 return __percpu_counter_compare(&mp->m_free[ctr].count, rhs, batch); in xfs_compare_freecounter()
755 percpu_counter_set(&mp->m_free[ctr].count, val); in xfs_set_freecounter()
H A Dxfs_super.c892 mp->m_free[XC_FREE_RTEXTENTS].res_total); in xfs_statfs_rt()
963 mp->m_free[i].res_saved = mp->m_free[i].res_total; in xfs_save_resvblks()
976 if (mp->m_free[i].res_saved) { in xfs_restore_resvblks()
977 resblks = mp->m_free[i].res_saved; in xfs_restore_resvblks()
978 mp->m_free[i].res_saved = 0; in xfs_restore_resvblks()
1134 error = percpu_counter_init(&mp->m_free[i].count, 0, in xfs_init_percpu_counters()
1144 percpu_counter_destroy(&mp->m_free[i].count); in xfs_init_percpu_counters()
1174 percpu_counter_destroy(&mp->m_free[i].count); in xfs_destroy_percpu_counters()
H A Dxfs_zone_gc.c635 mp->m_free[XC_FREE_RTEXTENTS].res_avail, in xfs_zone_gc_alloc_blocks()
636 mp->m_free[XC_FREE_RTAVAILABLE].res_avail); in xfs_zone_gc_alloc_blocks()
637 mp->m_free[XC_FREE_RTEXTENTS].res_avail -= *count_fsb; in xfs_zone_gc_alloc_blocks()
638 mp->m_free[XC_FREE_RTAVAILABLE].res_avail -= *count_fsb; in xfs_zone_gc_alloc_blocks()
H A Dxfs_mount.c1409 struct xfs_freecounter *counter = &mp->m_free[ctr]; in xfs_add_freecounter()
1442 struct xfs_freecounter *counter = &mp->m_free[ctr]; in xfs_dec_freecounter()
H A Dxfs_trace.h5916 __entry->avail = mp->m_free[ctr].res_avail;
5917 __entry->total = mp->m_free[ctr].res_total;
/linux/fs/xfs/scrub/
H A Dfscounters.c354 fsc->fdblocks -= mp->m_free[XC_FREE_BLOCKS].res_avail; in xchk_fscount_aggregate_agcounts()
600 &mp->m_free[XC_FREE_BLOCKS].count, fsc->fdblocks)) { in xchk_fscounters()
609 &mp->m_free[XC_FREE_RTEXTENTS].count, in xchk_fscounters()
/linux/crypto/asymmetric_keys/
H A Dx509_public_key.c58 sig->m_free = false; in x509_get_sig_params()
81 sig->m_free = true; in x509_get_sig_params()