#include "sysincludes.h"#include "vfat.h"#include "dirCache.h"Include dependency graph for dirCache.c:

Go to the source code of this file.
Defines | |
| #define | free myfree |
| #define | BITS_PER_INT (sizeof(unsigned int) * 8) |
Functions | |
| void | myfree (void *a) |
| static unsigned int | rol (unsigned int arg, int shift) |
| static int | calcHash (char *name) |
| static int | addBit (unsigned int *bitmap, int hash, int checkOnly) |
| static int | _addHash (dirCache_t *cache, unsigned int hash, int checkOnly) |
| static void | addNameToHash (dirCache_t *cache, char *name) |
| static void | hashDce (dirCache_t *cache, dirCacheEntry_t *dce) |
| int | isHashed (dirCache_t *cache, char *name) |
| void | checkXYZ (dirCache_t *cache) |
| int | growDirCache (dirCache_t *cache, int slot) |
| dirCache_t * | allocDirCache (Stream_t *Stream, int slot) |
| static void | freeDirCacheRange (dirCache_t *cache, int beginSlot, int endSlot) |
| static dirCacheEntry_t * | allocDirCacheEntry (dirCache_t *cache, int beginSlot, int endSlot, dirCacheEntryType_t type) |
| dirCacheEntry_t * | addUsedEntry (dirCache_t *cache, int beginSlot, int endSlot, char *longName, char *shortName, struct directory *dir) |
| static void | mergeFreeSlots (dirCache_t *cache, int slot) |
| dirCacheEntry_t * | addFreeEntry (dirCache_t *cache, int beginSlot, int endSlot) |
| dirCacheEntry_t * | addEndEntry (dirCache_t *cache, int pos) |
| dirCacheEntry_t * | lookupInDircache (dirCache_t *cache, int pos) |
| void | freeDirCache (Stream_t *Stream) |
|
|
Definition at line 14 of file dirCache.c. Referenced by addBit(). |
|
|
||||||||||||||||
|
Definition at line 67 of file dirCache.c. References addBit(), cache, and rol(). Referenced by addNameToHash(), and isHashed(). |
|
||||||||||||||||
|
Definition at line 52 of file dirCache.c. References BITS_PER_INT, and DC_BITMAP_SIZE. Referenced by _addHash(). |
|
||||||||||||
|
Definition at line 306 of file dirCache.c. References allocDirCacheEntry(), cache, and DCET_END. Referenced by vfat_lookup_loop_common(). |
|
||||||||||||||||
|
Definition at line 284 of file dirCache.c. References allocDirCacheEntry(), cache, DCET_FREE, entry, exit(), fprintf(), mergeFreeSlots(), and stderr. Referenced by clear_vses(), dir_write(), and vfat_lookup_loop_common(). |
|
||||||||||||
|
Definition at line 76 of file dirCache.c. References _addHash(), cache, and calcHash(). Referenced by hashDce(). |
|
||||||||||||||||||||||||||||
|
Definition at line 238 of file dirCache.c. References allocDirCacheEntry(), cache, DCET_USED, entry::dir, dir, entry, exit(), fprintf(), hashDce(), stderr, and strdup(). Referenced by vfat_lookup_loop_common(). |
|
||||||||||||
|
Definition at line 129 of file dirCache.c. References DC_BITMAP_SIZE, exit(), fprintf(), free, getDirCacheP(), growDirCache(), memset(), New, NewArray, and stderr. Referenced by clear_vses(), dir_write(), lookupForInsert(), and vfat_lookup(). |
|
||||||||||||||||||||
|
Definition at line 212 of file dirCache.c. References cache, entry, freeDirCacheRange(), growDirCache(), i, New, and entry::type. Referenced by addEndEntry(), addFreeEntry(), and addUsedEntry(). |
|
|
Definition at line 24 of file dirCache.c. References c, hash(), i, rol(), and toupper. Referenced by addNameToHash(), and isHashed(). |
|
|
Definition at line 99 of file dirCache.c. |
|
|
Definition at line 318 of file dirCache.c. References cache, free, freeDirCacheRange(), and getDirCacheP(). Referenced by free_file(). |
|
||||||||||||||||
|
Definition at line 159 of file dirCache.c. References cache, entry, exit(), fprintf(), free, i, and stderr. Referenced by allocDirCacheEntry(), and freeDirCache(). |
|
||||||||||||
|
Definition at line 106 of file dirCache.c. References cache, exit(), fprintf(), i, realloc(), and stderr. Referenced by allocDirCache(), allocDirCacheEntry(), lookupForInsert(), and lookupInDircache(). |
|
||||||||||||
|
Definition at line 81 of file dirCache.c. References addNameToHash(), dirCacheEntry_t::beginSlot, cache, dirCacheEntry_t::endSlot, dirCacheEntry_t::longName, and dirCacheEntry_t::shortName. Referenced by addUsedEntry(). |
|
||||||||||||
|
Definition at line 91 of file dirCache.c. References _addHash(), cache, and calcHash(). Referenced by lookupForInsert(). |
|
||||||||||||
|
Definition at line 311 of file dirCache.c. References cache, and growDirCache(). |
|
||||||||||||
|
Definition at line 266 of file dirCache.c. References cache, DCET_FREE, free, i, next, and previous. Referenced by addFreeEntry(). |
|
|
Definition at line 6 of file dirCache.c. References free. |
|
||||||||||||
|
Definition at line 17 of file dirCache.c. Referenced by _addHash(), and calcHash(). |
1.4.6