Home
last modified time | relevance | path

Searched refs:lcounter (Results 1 – 2 of 2) sorted by relevance

/fs/xfs/
Dxfs_mount.c1773 long long lcounter; /* long counter for 64 bit fields */ in xfs_mod_incore_sb_unlocked() local
1784 lcounter = (long long)mp->m_sb.sb_icount; in xfs_mod_incore_sb_unlocked()
1785 lcounter += delta; in xfs_mod_incore_sb_unlocked()
1786 if (lcounter < 0) { in xfs_mod_incore_sb_unlocked()
1790 mp->m_sb.sb_icount = lcounter; in xfs_mod_incore_sb_unlocked()
1793 lcounter = (long long)mp->m_sb.sb_ifree; in xfs_mod_incore_sb_unlocked()
1794 lcounter += delta; in xfs_mod_incore_sb_unlocked()
1795 if (lcounter < 0) { in xfs_mod_incore_sb_unlocked()
1799 mp->m_sb.sb_ifree = lcounter; in xfs_mod_incore_sb_unlocked()
1802 lcounter = (long long) in xfs_mod_incore_sb_unlocked()
[all …]
Dxfs_fsops.c628 __int64_t lcounter, delta, fdblks_delta; in xfs_reserve_blocks() local
667 lcounter = mp->m_resblks_avail - request; in xfs_reserve_blocks()
668 if (lcounter > 0) { /* release unused blocks */ in xfs_reserve_blocks()
669 fdblks_delta = lcounter; in xfs_reserve_blocks()
670 mp->m_resblks_avail -= lcounter; in xfs_reserve_blocks()
681 lcounter = free - delta; in xfs_reserve_blocks()
682 if (lcounter < 0) { in xfs_reserve_blocks()