Home
last modified time | relevance | path

Searched refs:inj_var_t (Results 1 – 6 of 6) sorted by relevance

/titanic_41/usr/src/cmd/fm/fminject/common/
H A Dinj_hash.c47 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 Dinj_hash.h38 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 Dinj_decl.c67 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 Dinj_string.h51 extern inj_var_t *inj_strhash_lookup(inj_hash_t *, const char *);
H A Dinj_string.c225 inj_hashfree_string(inj_var_t *v, void *arg) in inj_hashfree_string()
242 inj_var_t *
H A Dinj_defn.c74 inj_var_t *v; in inj_defn_lookup()
802 inj_var_t *v; in inj_defn_finish()