CACHED_GENERIC
const struct CACHED_GENERIC *current, int hash)
struct CACHED_GENERIC *ntfs_fetch_cache(struct CACHE_HEADER *cache,
const struct CACHED_GENERIC *wanted, cache_compare compare)
struct CACHED_GENERIC *current;
struct CACHED_GENERIC *previous;
current = (struct CACHED_GENERIC*)NULL;
= (struct CACHED_GENERIC*)NULL;
struct CACHED_GENERIC *ntfs_enter_cache(struct CACHE_HEADER *cache,
const struct CACHED_GENERIC *item,
struct CACHED_GENERIC *current;
struct CACHED_GENERIC *before;
current = (struct CACHED_GENERIC*)NULL;
before->next = (struct CACHED_GENERIC*)NULL;
current->previous = (struct CACHED_GENERIC*)NULL;
current = (struct CACHED_GENERIC*)NULL;
struct CACHED_GENERIC *current, int flags)
struct CACHED_GENERIC *previous;
const struct CACHED_GENERIC *item, cache_compare compare,
struct CACHED_GENERIC *current;
struct CACHED_GENERIC *next;
current = (struct CACHED_GENERIC*)NULL;
struct CACHED_GENERIC *item, int flags)
struct CACHED_GENERIC *entry;
struct CACHED_GENERIC *pc;
struct CACHED_GENERIC *qc;
cache->fixed_size = full_item_size - sizeof(struct CACHED_GENERIC);
cache->most_recent_entry = (struct CACHED_GENERIC*)NULL;
cache->oldest_entry = (struct CACHED_GENERIC*)NULL;
qc = (struct CACHED_GENERIC*)((char*)pc
pc->next = (struct CACHED_GENERIC*)NULL;
struct CACHED_GENERIC *current)
#define GENERIC(pstr) ((const struct CACHED_GENERIC*)(const void*)(pstr))
struct CACHED_GENERIC *ntfs_fetch_cache(struct CACHE_HEADER *cache,
const struct CACHED_GENERIC *wanted,
struct CACHED_GENERIC *ntfs_enter_cache(struct CACHE_HEADER *cache,
const struct CACHED_GENERIC *item,
const struct CACHED_GENERIC *item,
struct CACHED_GENERIC *item, int flags);
struct CACHED_GENERIC *next;
struct CACHED_GENERIC *previous;
typedef int (*cache_compare)(const struct CACHED_GENERIC *cached,
const struct CACHED_GENERIC *item);
typedef void (*cache_free)(const struct CACHED_GENERIC *cached);
typedef int (*cache_hash)(const struct CACHED_GENERIC *cached);
struct CACHED_GENERIC *entry;
struct CACHED_GENERIC *most_recent_entry;
struct CACHED_GENERIC *oldest_entry;
struct CACHED_GENERIC *free_entry;
struct CACHED_GENERIC entry[0];
int ntfs_dir_inode_hash(const struct CACHED_GENERIC *cached)
static int inode_cache_compare(const struct CACHED_GENERIC *cached,
const struct CACHED_GENERIC *wanted)
static int inode_cache_inv_compare(const struct CACHED_GENERIC *cached,
const struct CACHED_GENERIC *wanted)
static int lookup_cache_compare(const struct CACHED_GENERIC *cached,
const struct CACHED_GENERIC *wanted)
static int lookup_cache_inv_compare(const struct CACHED_GENERIC *cached,
const struct CACHED_GENERIC *wanted)
int ntfs_dir_lookup_hash(const struct CACHED_GENERIC *cached)
struct CACHED_GENERIC;
extern int ntfs_dir_inode_hash(const struct CACHED_GENERIC *cached);
extern int ntfs_dir_lookup_hash(const struct CACHED_GENERIC *cached);
void ntfs_inode_nidata_free(const struct CACHED_GENERIC *cached)
int ntfs_inode_nidata_hash(const struct CACHED_GENERIC *item)
static int idata_cache_compare(const struct CACHED_GENERIC *cached,
const struct CACHED_GENERIC *wanted)
(struct CACHED_GENERIC*)cached,0);
struct CACHED_GENERIC;
extern void ntfs_inode_nidata_free(const struct CACHED_GENERIC *cached);
extern int ntfs_inode_nidata_hash(const struct CACHED_GENERIC *item);