Changes in kernel/genarch/src/mm/page_ht.c [5e801dc:0db0df2] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/src/mm/page_ht.c
r5e801dc r0db0df2 55 55 static size_t ht_hash(const ht_link_t *); 56 56 static size_t ht_key_hash(const void *); 57 static bool ht_key_equal(const void *, const ht_link_t *);57 static bool ht_key_equal(const void *, size_t, const ht_link_t *); 58 58 static void ht_remove_callback(ht_link_t *); 59 59 … … 82 82 83 83 /** Hash table operations for page hash table. */ 84 hash_table_ops_t ht_ops = {84 const hash_table_ops_t ht_ops = { 85 85 .hash = ht_hash, 86 86 .key_hash = ht_key_hash, … … 90 90 91 91 /** Page mapping operations for page hash table architectures. */ 92 page_mapping_operations_t ht_mapping_operations = {92 const page_mapping_operations_t ht_mapping_operations = { 93 93 .mapping_insert = ht_mapping_insert, 94 94 .mapping_remove = ht_mapping_remove, … … 119 119 120 120 /** Return true if the key is equal to the item's lookup key. */ 121 bool ht_key_equal(const void *arg, const ht_link_t *item)121 bool ht_key_equal(const void *arg, size_t hash, const ht_link_t *item) 122 122 { 123 123 const uintptr_t *key = arg;
Note:
See TracChangeset
for help on using the changeset viewer.