/haiku/src/tools/fs_shell/ |
H A D | hash.h | 19 typedef struct hash_table hash_table; typedef 21 struct hash_table *hash_init(uint32_t table_size, int next_ptr_offset, 24 int hash_uninit(struct hash_table *table); 25 fssh_status_t hash_insert(struct hash_table *table, void *_element); 26 fssh_status_t hash_remove(struct hash_table *table, void *_element); 27 void hash_remove_current(struct hash_table *table, struct hash_iterator *iterator); 28 void *hash_remove_first(struct hash_table *table, uint32_t *_cookie); 29 void *hash_find(struct hash_table *table, void *e); 30 void *hash_lookup(struct hash_table *table, const void *key); 31 struct hash_iterator *hash_open(struct hash_table *table, struct hash_iterator *i); [all …]
|
H A D | hash.cpp | 34 struct hash_table { struct 51 next_element(hash_table *table, void *element) in next_element() 58 struct hash_table * 63 struct hash_table *t; in hash_init() 71 t = (struct hash_table *)malloc(sizeof(struct hash_table)); in hash_init() 99 hash_uninit(struct hash_table *table) in hash_uninit() 111 hash_insert(struct hash_table *table, void *element) in hash_insert() 130 hash_remove(struct hash_table *table, void *_element) in hash_remove() 154 hash_remove_current(struct hash_table *table, struct hash_iterator *iterator) in hash_remove_current() 188 hash_remove_first(struct hash_table *table, uint32_t *_cookie) in hash_remove_first() [all …]
|
H A D | module.cpp | 75 static hash_table *sModulesHash;
|
H A D | block_cache.cpp | 49 struct hash_table; 103 hash_table* hash; 111 hash_table* transaction_hash;
|
H A D | vfs.cpp | 175 static hash_table *sVnodeTable; 181 static hash_table *sMountsTable;
|
/haiku/src/system/kernel/slab/ |
H A D | HashedObjectCache.cpp | 50 hash_table(this) in HashedObjectCache() 69 size_t hashSize = cache->hash_table.ResizeNeeded(); in Create() 76 cache->hash_table.Resize(buffer, hashSize, true); in Create() 120 hash_table.InsertUnchecked(slab); in CreateSlab() 144 hash_table.RemoveUnchecked(slab); in ReturnSlab() 162 HashedSlab* slab = hash_table.Lookup(::lower_boundary(object, slab_size)); in ObjectSlab() 175 size_t hashSize = hash_table.ResizeNeeded(); in _ResizeHashTableIfNeeded() 182 if (hash_table.ResizeNeeded() == hashSize) { in _ResizeHashTableIfNeeded() 184 hash_table.Resize(buffer, hashSize, true, &oldHash); in _ResizeHashTableIfNeeded()
|
H A D | HashedObjectCache.h | 102 HashTable hash_table;
|
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/beos/ |
H A D | fs_cache_priv.h | 24 typedef struct hash_table { struct 29 } hash_table; argument 70 hash_table ht;
|
H A D | fs_cache.c | 173 init_hash_table(hash_table *ht) in init_hash_table() 188 shutdown_hash_table(hash_table *ht) in shutdown_hash_table() 209 print_hash_stats(hash_table *ht) 254 grow_hash_table(hash_table *ht) in grow_hash_table() 295 hash_insert(hash_table *ht, int dev, fs_off_t bnum, void *data) in hash_insert() 330 hash_lookup(hash_table *ht, int dev, fs_off_t bnum) in hash_lookup() 349 hash_delete(hash_table *ht, int dev, fs_off_t bnum) in hash_delete()
|
/haiku/headers/private/userlandfs/legacy/ |
H A D | cache.h | 26 typedef struct hash_table { struct 31 } hash_table; argument 72 hash_table ht;
|
/haiku/headers/build/private/app/ |
H A D | MessagePrivate.h | 74 int32 hash_table[MESSAGE_BODY_HASH_TABLE_SIZE]; member
|
/haiku/headers/private/app/ |
H A D | MessagePrivate.h | 74 int32 hash_table[MESSAGE_BODY_HASH_TABLE_SIZE]; member
|
/haiku/src/build/libbe/app/ |
H A D | Message.cpp | 307 memset(fHeader, 0, sizeof(message_header) - sizeof(fHeader->hash_table)); in _InitHeader() 322 memset(&fHeader->hash_table, 255, sizeof(fHeader->hash_table)); in _InitHeader() 652 int32 *nextField = &fHeader->hash_table[hash]; in Rename() 665 nextField = &fHeader->hash_table[hash]; in Rename() 1248 int32 nextField = fHeader->hash_table[hash]; in _FindField() 1292 int32 *nextField = &fHeader->hash_table[hash]; in _AddField() 1333 int32 *value = fHeader->hash_table; in _RemoveField()
|
/haiku/src/kits/app/ |
H A D | Message.cpp | 379 memset(fHeader, 0, sizeof(message_header) - sizeof(fHeader->hash_table)); in _InitHeader() 394 memset(&fHeader->hash_table, 255, sizeof(fHeader->hash_table)); in _InitHeader() 788 int32* nextField = &fHeader->hash_table[hash]; in Rename() 801 nextField = &fHeader->hash_table[hash]; in Rename() 1668 int32 nextField = fHeader->hash_table[hash]; in _FindField() 1712 int32* nextField = &fHeader->hash_table[hash]; in _AddField() 1753 int32* value = fHeader->hash_table; in _RemoveField()
|
/haiku/src/kits/debugger/value/value_nodes/ |
H A D | BMessageValueNode.cpp | 536 int32 nextField = fHeader->hash_table[hash]; in _FindField()
|