Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/pcidr/
H A Dpcidr_common.c168 pcidr_print_attrlist(dlvl_t lvl, nvlist_t *attrlistp, char *prestr) in pcidr_print_attrlist() argument
180 while ((nvpairp = nvlist_next_nvpair(attrlistp, nvpairp)) != NULL) { in pcidr_print_attrlist()
302 pcidr_get_attrs(nvlist_t *attrlistp, pcidr_attrs_t *drp) in pcidr_get_attrs() argument
309 r = nvlist_lookup_string(attrlistp, name, &drp->class); in pcidr_get_attrs()
317 r = nvlist_lookup_string(attrlistp, name, &drp->subclass); in pcidr_get_attrs()
325 r = nvlist_lookup_string(attrlistp, name, &drp->pub_name); in pcidr_get_attrs()
333 r = nvlist_lookup_string(attrlistp, name, &drp->dr_req_type); in pcidr_get_attrs()
341 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()
/illumos-gate/usr/src/cmd/pcidr/plugins/default/
H A Dpcidr_plugin.c46 PCIDR_PLUGIN_PROTO(attrlistp, optp) in PCIDR_PLUGIN_PROTO() argument
59 if (pcidr_get_attrs(attrlistp, &dr) != 0 || in PCIDR_PLUGIN_PROTO()