Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/fm/fminject/common/
H A Dinj_hash.c45 h->h_hash = inj_zalloc(sizeof (inj_var_t *) * INJ_HASHSZ); in inj_hash_create()
53 static inj_var_t *
54 inj_var_alloc(void *key, uintmax_t value, inj_var_t *next) in inj_var_alloc()
56 inj_var_t *v = inj_alloc(sizeof (inj_var_t)); in inj_var_alloc()
66 inj_var_free(inj_var_t *v, void (*freefn)(inj_var_t *, void *), void *arg) in inj_var_free() argument
71 inj_free(v, sizeof (inj_var_t)); in inj_var_free()
75 inj_hash_destroy(inj_hash_t *h, void (*freefn)(inj_var_t *, void *), void *arg) in inj_hash_destroy() argument
77 inj_var_t *v, *w; in inj_hash_destroy()
87 inj_free(h->h_hash, sizeof (inj_var_t *) * INJ_HASHSZ); in inj_hash_destroy()
94 inj_var_t *v; in inj_hash_insert()
[all …]
H A Dinj_hash.h36 typedef struct inj_var inj_var_t; typedef
39 inj_var_t **h_hash;
50 extern void inj_hash_destroy(inj_hash_t *, void (*)(inj_var_t *, void *),
54 extern inj_var_t *inj_hash_lookup(inj_hash_t *, void *);
56 extern void *inj_hash_get_key(inj_var_t *);
57 extern uintmax_t inj_hash_get_value(inj_var_t *);
58 extern void *inj_hash_get_cookie(inj_var_t *);
H A Dinj_decl.c65 inj_var_t *v; in inj_decl_lookup()
167 inj_var_t *v; in inj_decl_addmem()
209 inj_var_t *v; in inj_decl_validate_fmri()
243 inj_var_t *v; in inj_decl_finish()
H A Dinj_string.c223 inj_hashfree_string(inj_var_t *v, void *arg) in inj_hashfree_string()
240 inj_var_t *
H A Dinj_string.h49 extern inj_var_t *inj_strhash_lookup(inj_hash_t *, const char *);
H A Dinj_defn.c72 inj_var_t *v; in inj_defn_lookup()
799 inj_var_t *v; in inj_defn_finish()