Home
last modified time | relevance | path

Searched refs:attrlistp (Results 1 – 3 of 3) sorted by relevance

/titanic_44/usr/src/cmd/pcidr/
H A Dpcidr_common.c170 pcidr_print_attrlist(dlvl_t lvl, nvlist_t *attrlistp, char *prestr) in pcidr_print_attrlist() argument
182 while ((nvpairp = nvlist_next_nvpair(attrlistp, nvpairp)) != NULL) { in pcidr_print_attrlist()
304 pcidr_get_attrs(nvlist_t *attrlistp, pcidr_attrs_t *drp) in pcidr_get_attrs() argument
311 r = nvlist_lookup_string(attrlistp, name, &drp->class); in pcidr_get_attrs()
319 r = nvlist_lookup_string(attrlistp, name, &drp->subclass); in pcidr_get_attrs()
327 r = nvlist_lookup_string(attrlistp, name, &drp->pub_name); in pcidr_get_attrs()
335 r = nvlist_lookup_string(attrlistp, name, &drp->dr_req_type); in pcidr_get_attrs()
343 r = nvlist_lookup_string(attrlistp, name, &drp->dr_ap_id); in pcidr_get_attrs()
H A Dpcidr.c211 nvlist_t *attrlistp = NULL; in parse_argv_attr() local
217 rv = nvlist_alloc(&attrlistp, NV_UNIQUE_NAME_TYPE, 0); in parse_argv_attr()
237 rv = nvadd(attrlistp, name, value, type); in parse_argv_attr()
248 return (attrlistp); in parse_argv_attr()
256 nvlist_free(attrlistp); in parse_argv_attr()
432 find_plugin(nvlist_t *attrlistp) in find_plugin() argument
469 do_plugin(char *path, nvlist_t *attrlistp, pcidr_opt_t *optp) in do_plugin() argument
503 rv = fp(attrlistp, optp); in do_plugin()
/titanic_44/usr/src/cmd/pcidr/plugins/default/
H A Dpcidr_plugin.c48 PCIDR_PLUGIN_PROTO(attrlistp, optp) in PCIDR_PLUGIN_PROTO() argument
61 if (pcidr_get_attrs(attrlistp, &dr) != 0 || in PCIDR_PLUGIN_PROTO()