Home
last modified time | relevance | path

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

/linux-2.4.37.9/fs/xfs/
Dxfs_mount.c1259 long long lcounter; /* long counter for 64 bit fields */ local
1270 lcounter = (long long)mp->m_sb.sb_icount;
1271 lcounter += delta;
1272 if (lcounter < 0) {
1276 mp->m_sb.sb_icount = lcounter;
1279 lcounter = (long long)mp->m_sb.sb_ifree;
1280 lcounter += delta;
1281 if (lcounter < 0) {
1285 mp->m_sb.sb_ifree = lcounter;
1289 lcounter = (long long)mp->m_sb.sb_fdblocks;
[all …]
Dxfs_fsops.c514 __int64_t lcounter, delta; in xfs_reserve_blocks() local
535 lcounter = mp->m_resblks_avail - request; in xfs_reserve_blocks()
536 if (lcounter > 0) { /* release unused blocks */ in xfs_reserve_blocks()
537 mp->m_sb.sb_fdblocks += lcounter; in xfs_reserve_blocks()
538 mp->m_resblks_avail -= lcounter; in xfs_reserve_blocks()
543 lcounter = mp->m_sb.sb_fdblocks - delta; in xfs_reserve_blocks()
544 if (lcounter < 0) { in xfs_reserve_blocks()
550 mp->m_sb.sb_fdblocks = lcounter; in xfs_reserve_blocks()