Lines Matching defs:ctr
1332 ulong_t *ctr;
1373 * Increment the ctr irrespective of the lockfs state. If the lockfs
1378 * never see the value of zero for ctr - a livelock kind of scenario.
1380 ctr = (mask & ULOCKFS_FWLOCK) ?
1383 atomic_inc_ulong(ctr);
1402 if (!atomic_dec_ulong_nv(ctr))
1417 * If a file system is unlocked, we would expect the ctr to have
1420 * incrementing the ctr, but by the time we checked for
1539 ulong_t *ctr;
1580 * Increment the ctr irrespective of the lockfs state. If the lockfs
1585 * never see the value of zero for ctr - a livelock kind of scenario.
1587 ctr = (mask & ULOCKFS_FWLOCK) ?
1590 atomic_inc_ulong(ctr);
1604 if (!atomic_dec_ulong_nv(ctr))
1620 atomic_inc_ulong(ctr);
1628 * If a file system is unlocked, we would expect the ctr to have
1631 * incrementing the ctr, but by the time we checked for
1651 atomic_inc_ulong(ctr);