userlibandfileserver/fileserver/sfat32/sl_dir_cache.inl
changeset 201 43365a9b78a3
parent 15 4122176ea935
child 257 3e88ff8f41d5
equal deleted inserted replaced
200:73ea206103e6 201:43365a9b78a3
   192 @return	TBool	ETrue if cache is full, otherwise EFalse.
   192 @return	TBool	ETrue if cache is full, otherwise EFalse.
   193 */
   193 */
   194 TBool CDynamicDirCache::CacheIsFull() const
   194 TBool CDynamicDirCache::CacheIsFull() const
   195 	{
   195 	{
   196 	// active page, locked page and unlocked page
   196 	// active page, locked page and unlocked page
   197 	return (iLockedQCount + iUnlockedQCount + 1 >= iMaxSizeInPages);
   197 	return (iLockedQCount + iUnlockedQCount >= iMaxSizeInPages);
   198 	}
   198 	}
   199 
   199 
   200 /**
   200 /**
   201 Return the maximum allowed page number of the cache.
   201 Return the maximum allowed page number of the cache.
   202 */
   202 */