Home
last modified time | relevance | path

Searched refs:hash_table (Results 1 – 15 of 15) sorted by relevance

/haiku/src/tools/fs_shell/
H A Dhash.h19 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 Dhash.cpp34 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 Dmodule.cpp75 static hash_table *sModulesHash;
H A Dblock_cache.cpp49 struct hash_table;
103 hash_table* hash;
111 hash_table* transaction_hash;
H A Dvfs.cpp175 static hash_table *sVnodeTable;
181 static hash_table *sMountsTable;
/haiku/src/system/kernel/slab/
H A DHashedObjectCache.cpp50 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 DHashedObjectCache.h102 HashTable hash_table;
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/beos/
H A Dfs_cache_priv.h24 typedef struct hash_table { struct
29 } hash_table; argument
70 hash_table ht;
H A Dfs_cache.c173 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 Dcache.h26 typedef struct hash_table { struct
31 } hash_table; argument
72 hash_table ht;
/haiku/headers/build/private/app/
H A DMessagePrivate.h74 int32 hash_table[MESSAGE_BODY_HASH_TABLE_SIZE]; member
/haiku/headers/private/app/
H A DMessagePrivate.h74 int32 hash_table[MESSAGE_BODY_HASH_TABLE_SIZE]; member
/haiku/src/build/libbe/app/
H A DMessage.cpp307 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 DMessage.cpp379 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 DBMessageValueNode.cpp536 int32 nextField = fHeader->hash_table[hash]; in _FindField()