Searched refs:fmd_scheme_t (Results 1 – 5 of 5) sorted by relevance
214 static fmd_scheme_t *217 fmd_scheme_t *sp = fmd_alloc(sizeof (fmd_scheme_t), FMD_SLEEP); in fmd_scheme_create()234 fmd_scheme_destroy(fmd_scheme_t *sp) in fmd_scheme_destroy()249 fmd_free(sp, sizeof (fmd_scheme_t)); in fmd_scheme_destroy()257 fmd_scheme_t *sp; in fmd_scheme_hash_create()264 shp->sch_hash = fmd_zalloc(sizeof (fmd_scheme_t *) * in fmd_scheme_hash_create()278 fmd_scheme_t *sp, *np; in fmd_scheme_hash_destroy()289 fmd_free(shp->sch_hash, sizeof (fmd_scheme_t *) * shp->sch_hashlen); in fmd_scheme_hash_destroy()297 fmd_scheme_t *sp, *np; in fmd_scheme_hash_trygc()311 bzero(shp->sch_hash, sizeof (fmd_scheme_t *) * shp->sch_hashlen); in fmd_scheme_hash_trygc()[all …]
72 } fmd_scheme_t; typedef76 fmd_scheme_t **sch_hash; /* hash bucket array of schemes */85 extern fmd_scheme_t *fmd_scheme_hash_lookup(fmd_scheme_hash_t *, const char *);86 extern void fmd_scheme_hash_release(fmd_scheme_hash_t *, fmd_scheme_t *);
253 static fmd_scheme_t *269 fmd_scheme_t *sp; in fmd_fmri_nvl2str()293 fmd_scheme_t *sp; in fmd_fmri_expand()310 fmd_scheme_t *sp; in fmd_fmri_present()327 fmd_scheme_t *sp; in fmd_fmri_replaced()344 fmd_scheme_t *sp; in fmd_fmri_service_state()361 fmd_scheme_t *sp; in fmd_fmri_unusable()413 fmd_scheme_t *sp; in fmd_fmri_contains()436 fmd_scheme_t *sp; in fmd_fmri_translate()
72 } fmd_scheme_t; typedef74 static fmd_scheme_t *sch_list; /* list of cached schemes */112 static fmd_scheme_t *115 fmd_scheme_t *sp; in fmd_scheme_create()117 if ((sp = malloc(sizeof (fmd_scheme_t))) == NULL || in fmd_scheme_create()133 fmd_scheme_rtld_init(fmd_scheme_t *sp) in fmd_scheme_rtld_init()146 static fmd_scheme_t *149 fmd_scheme_t *sp; in fmd_scheme_lookup()186 fmd_scheme_t *sp; in sunFm_nvl2str()
71 } fmd_scheme_t; typedef73 static fmd_scheme_t *sch_list; /* list of cached schemes */109 static fmd_scheme_t *112 fmd_scheme_t *sp; in fmd_scheme_create()114 if ((sp = malloc(sizeof (fmd_scheme_t))) == NULL || in fmd_scheme_create()130 fmd_scheme_rtld_init(fmd_scheme_t *sp) in fmd_scheme_rtld_init()143 static fmd_scheme_t *146 fmd_scheme_t *sp; in fmd_scheme_lookup()182 fmd_scheme_t *sp; in fmdump_nvl2str()