Searched refs:inj_hash_t (Results 1 – 9 of 9) sorted by relevance
/titanic_44/usr/src/cmd/fm/fminject/common/ |
H A D | inj_hash.h | 48 } inj_hash_t; typedef 50 extern void inj_hash_create(inj_hash_t *, ulong_t (*)(void *), 52 extern void inj_hash_destroy(inj_hash_t *, void (*)(inj_var_t *, void *), 55 extern int inj_hash_insert(inj_hash_t *, void *, uintmax_t); 56 extern inj_var_t *inj_hash_lookup(inj_hash_t *, void *);
|
H A D | inj_string.h | 49 extern void inj_strhash_create(inj_hash_t *); 50 extern int inj_strhash_insert(inj_hash_t *, const char *, uintmax_t); 51 extern inj_var_t *inj_strhash_lookup(inj_hash_t *, const char *); 52 extern void inj_strhash_destroy(inj_hash_t *);
|
H A D | inj_decl.c | 44 static inj_hash_t inj_decls[ITEMTYPE_NITEMS]; 47 static inj_hash_t * 52 assert(item >= 0 && item < sizeof (inj_decls) / sizeof (inj_hash_t)); in item2hash() 55 for (i = 0; i < sizeof (inj_decls) / sizeof (inj_hash_t); i++) in item2hash() 66 inj_hash_t *hash = item2hash(type); in inj_decl_lookup() 114 inj_decl_mem_create_enum(const char *name, inj_hash_t *vals) in inj_decl_mem_create_enum() 244 inj_hash_t *hash = item2hash(type); in inj_decl_finish()
|
H A D | inj_hash.c | 44 inj_hash_create(inj_hash_t *h, ulong_t (*hfn)(void *), in inj_hash_create() 77 inj_hash_destroy(inj_hash_t *h, void (*freefn)(inj_var_t *, void *), void *arg) in inj_hash_destroy() 93 inj_hash_insert(inj_hash_t *h, void *key, uintmax_t value) in inj_hash_insert() 112 inj_hash_lookup(inj_hash_t *h, void *key) in inj_hash_lookup()
|
H A D | inj_string.c | 231 inj_strhash_create(inj_hash_t *h) in inj_strhash_create() 237 inj_strhash_insert(inj_hash_t *h, const char *str, uintmax_t value) in inj_strhash_insert() 243 inj_strhash_lookup(inj_hash_t *h, const char *str) in inj_strhash_lookup() 249 inj_strhash_destroy(inj_hash_t *h) in inj_strhash_destroy()
|
H A D | inj.h | 101 inj_hash_t decl_memhash; /* Hash of said members */ 122 inj_hash_t *_dlm_enumvals; /* If enum, hash of poss. values */
|
H A D | inj_defn.c | 43 static inj_hash_t inj_defns[3]; 52 static inj_hash_t * 57 assert(item >= 0 && item < sizeof (inj_defns) / sizeof (inj_hash_t)); in item2hash() 60 for (i = 0; i < sizeof (inj_defns) / sizeof (inj_hash_t); i++) in item2hash() 71 inj_hash_t *hash = item2hash(inj_mem2item(type)); in inj_defn_lookup() 796 inj_hash_t *hash = item2hash(type); in inj_defn_finish()
|
H A D | inj_event.h | 48 extern inj_declmem_t *inj_decl_mem_create_enum(const char *, inj_hash_t *);
|
H A D | inj_grammar.y | 53 inj_hash_t *l_hash; 223 $$ = inj_zalloc(sizeof (inj_hash_t));
|