MOS Source Code
|
Common hash and comparison functions for hashmaps. More...
Macros | |
#define | hashmap_common_type_init(map, cap, type) |
Functions | |
MOSAPI hash_t __pure | hashmap_hash_string (uintn key) |
MOSAPI int __pure | hashmap_compare_string (uintn key1, uintn key2) |
MOSAPI int __pure | hashmap_simple_key_compare (uintn key1, uintn key2) |
MOSAPI hash_t __pure | hashmap_identity_hash (uintn key) |
Common hash and comparison functions for hashmaps.
#define hashmap_common_type_init | ( | map, | |
cap, | |||
type ) |
Definition at line 14 of file hashmap_common.h.
Referenced by __mos_test_wrapped_test_hashmap_foreach_function(), __mos_test_wrapped_test_hashmap_get_function(), __mos_test_wrapped_test_hashmap_init_simple_macro(), __mos_test_wrapped_test_hashmap_put_multiple(), __mos_test_wrapped_test_hashmap_put_overflow(), __mos_test_wrapped_test_hashmap_put_single(), and __mos_test_wrapped_test_hashmap_remove_function().
Definition at line 20 of file hashmap_common.c.
Referenced by __mos_test_wrapped_test_hashmap_init_simple_macro(), and ipc_init().
Definition at line 25 of file hashmap_common.c.
Referenced by __mos_test_wrapped_test_hashmap_init_simple_macro(), and ipc_init().
Definition at line 30 of file hashmap_common.c.
Referenced by inode_init(), mountpoint_map_init(), and tasks_init().
Definition at line 35 of file hashmap_common.c.
Referenced by inode_init(), mountpoint_map_init(), and tasks_init().