cfgdata
config_cook(struct cfgdata *cdata)
struct cfgdata *
struct cfgdata *rawcfg;
config_free(struct cfgdata *cp)
config_bydev_lookup(struct cfgdata *fromcfg, const char *path)
config_bydevid_lookup(struct cfgdata *fromcfg, const char *devid)
config_bytp_lookup(struct cfgdata *fromcfg, const char *tp)
config_bycpuid_lookup(struct cfgdata *fromcfg, uint32_t id)
config_node_cache(struct cfgdata *cdata, struct config *n)
struct cfgdata *config_snapshot(void);
void config_cook(struct cfgdata *cdata);
void config_free(struct cfgdata *cdata);
struct node *config_bydev_lookup(struct cfgdata *, const char *);
struct node *config_bycpuid_lookup(struct cfgdata *, uint32_t);
struct node *config_bydevid_lookup(struct cfgdata *, const char *);
struct node *config_bytp_lookup(struct cfgdata *, const char *);
struct cfgdata *cfgdata;
cfgdata = config_snapshot();
platform_unit_translate(0, cfgdata->cooked, TOPO_PROP_RESOURCE,
structconfig_free(cfgdata->cooked);
config_free(cfgdata);
cfgdata = config_snapshot();
platform_unit_translate(0, cfgdata->cooked, TOPO_PROP_RESOURCE,
Nfmep->config = cfgdata->cooked;
config_free(cfgdata);
struct cfgdata *cfgdata;
cfgdata = MALLOC(sizeof (struct cfgdata));
cfgdata->cooked = NULL;
cfgdata->devcache = NULL;
cfgdata->devidcache = NULL;
cfgdata->tpcache = NULL;
cfgdata->cpucache = NULL;
cfgdata->raw_refcnt = 1;
cfgdata->begin = MALLOC(rawsz);
cfgdata->end = cfgdata->nextfree = cfgdata->begin + rawsz;
inprogress, WOBUF_CFG, cfgdata->begin, rawsz);
cfgdata->begin = cfgdata->end = cfgdata->nextfree = NULL;
config_cook(cfgdata);
fmep->config = cfgdata->cooked;
config_free(cfgdata);
cfgadjust(struct cfgdata *rawdata, int addlen)
add_prop_val(topo_hdl_t *thp, struct cfgdata *rawdata, char *propn,
struct cfgdata *rawdata = (struct cfgdata *)arg;
static struct cfgdata *Lastcfg;
struct cfgdata *
Lastcfg = MALLOC(sizeof (struct cfgdata));
struct cfgdata *platform_config_snapshot(void);