Searched refs:inj_var_t (Results 1 – 6 of 6) sorted by relevance
/titanic_41/usr/src/cmd/fm/fminject/common/ |
H A D | inj_hash.c | 47 h->h_hash = inj_zalloc(sizeof (inj_var_t *) * INJ_HASHSZ); in inj_hash_create() 55 static inj_var_t * 56 inj_var_alloc(void *key, uintmax_t value, inj_var_t *next) in inj_var_alloc() 58 inj_var_t *v = inj_alloc(sizeof (inj_var_t)); in inj_var_alloc() 68 inj_var_free(inj_var_t *v, void (*freefn)(inj_var_t *, void *), void *arg) in inj_var_free() argument 73 inj_free(v, sizeof (inj_var_t)); in inj_var_free() 77 inj_hash_destroy(inj_hash_t *h, void (*freefn)(inj_var_t *, void *), void *arg) in inj_hash_destroy() argument 79 inj_var_t *v, *w; in inj_hash_destroy() 89 inj_free(h->h_hash, sizeof (inj_var_t *) * INJ_HASHSZ); in inj_hash_destroy() 96 inj_var_t *v; in inj_hash_insert() [all …]
|
H A D | inj_hash.h | 38 typedef struct inj_var inj_var_t; typedef 41 inj_var_t **h_hash; 52 extern void inj_hash_destroy(inj_hash_t *, void (*)(inj_var_t *, void *), 56 extern inj_var_t *inj_hash_lookup(inj_hash_t *, void *); 58 extern void *inj_hash_get_key(inj_var_t *); 59 extern uintmax_t inj_hash_get_value(inj_var_t *); 60 extern void *inj_hash_get_cookie(inj_var_t *);
|
H A D | inj_decl.c | 67 inj_var_t *v; in inj_decl_lookup() 169 inj_var_t *v; in inj_decl_addmem() 211 inj_var_t *v; in inj_decl_validate_fmri() 245 inj_var_t *v; in inj_decl_finish()
|
H A D | inj_string.h | 51 extern inj_var_t *inj_strhash_lookup(inj_hash_t *, const char *);
|
H A D | inj_string.c | 225 inj_hashfree_string(inj_var_t *v, void *arg) in inj_hashfree_string() 242 inj_var_t *
|
H A D | inj_defn.c | 74 inj_var_t *v; in inj_defn_lookup() 802 inj_var_t *v; in inj_defn_finish()
|