haiku/headers/private/kernel/block_cache.h
Ingo Weinhold c79e66abb7 Added block_cache_used_memory() that returns the memory allocated by all
block caches for the block cache buffers.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26836 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-08-06 00:09:31 +00:00

24 lines
391 B
C

/*
* Copyright 2005, Axel Dörfler, axeld@pinc-software.de.
* Distributed under the terms of the MIT License.
*/
#ifndef _KERNEL_BLOCK_CACHE_H
#define _KERNEL_BLOCK_CACHE_H
#include <SupportDefs.h>
#ifdef __cplusplus
extern "C" {
#endif
extern status_t block_cache_init(void);
extern size_t block_cache_used_memory();
#ifdef __cplusplus
}
#endif
#endif /* _KERNEL_BLOCK_CACHE_H */