Lines Matching defs:h
185 static void* alloc_entry(struct __hash *h, int size) in alloc_entry()
190 static void alloc_buckets(struct __hash *h, in alloc_buckets()
201 static void free_entry(struct __hash *h, void *p) in free_entry()
206 static void free_buckets(struct __hash *h, in free_buckets()
214 static int max_entries(struct __hash *h) in max_entries()
252 static struct shm_hdr* get_shm_hdr(struct __hash *h) in get_shm_hdr()
295 static int shm_mutex_init(struct shm_hdr *h) in shm_mutex_init()
311 static int shm_mutex_lock(struct shm_hdr *h) in shm_mutex_lock()
316 static int shm_mutex_unlock(struct shm_hdr *h) in shm_mutex_unlock()
408 static void* alloc_entry(struct __hash *h, int size) in alloc_entry()
420 static void alloc_buckets(struct __hash *h, in alloc_buckets()
451 static void free_entry(struct __hash *h, void *p) in free_entry()
461 static void free_buckets(struct __hash *h, in free_buckets()
482 static int max_entries(struct __hash *h) in max_entries()
663 static uint32_t hash_to_idx(struct __hash *h, uint32_t hash) in hash_to_idx()
668 static void alloc_tab(struct __hash *h, in alloc_tab()
693 struct __hash *__hash_init(struct __hash *h, uint32_t min_size) in __hash_init()
752 int __key_lookup(struct __hash *h, __prim_t k, __sec_t *vp) in __key_lookup()
803 int __value_lookup(struct __hash *h, __prim_t k, __sec_t *vp) in __value_lookup()
834 int __insert(struct __hash *h, __k_t k, __v_t v) in __insert()
914 int __key_remove(struct __hash *h, __prim_t k, __sec_t *vp) in __key_remove()
1063 int __value_remove(struct __hash *h, __prim_t k, __sec_t *vp) in __value_remove()
1185 int __hash_destroy(struct __hash *h, in __hash_destroy()
1219 static void hash_resize(struct __hash *h) in hash_resize()
1306 int __hash_iterator(struct __hash *h, in __hash_iterator()
1342 void __hash_sizes(struct __hash *h, in __hash_sizes()