Lines Matching refs:out
201 nvlist_t *nvl, nvlist_t **out)
226 *out = fmristr;
234 nvlist_t *in, nvlist_t **out)
367 *out = fmri;
375 nvlist_t *in, nvlist_t **out)
442 if (topo_mod_nvalloc(mod, out, NV_UNIQUE_NAME) != 0)
444 if (nvlist_add_uint32(*out, TOPO_METH_PRESENT_RET, present) != 0) {
445 nvlist_free(*out);
455 nvlist_t *in, nvlist_t **out)
522 if (topo_mod_nvalloc(mod, out, NV_UNIQUE_NAME) != 0)
524 if (nvlist_add_uint32(*out, TOPO_METH_REPLACED_RET, rval) != 0) {
525 nvlist_free(*out);
535 nvlist_t *in, nvlist_t **out)
569 if (topo_mod_nvalloc(mod, out, NV_UNIQUE_NAME) != 0)
571 if (nvlist_add_uint32(*out, TOPO_METH_UNUSABLE_RET, unusable) != 0) {
572 nvlist_free(*out);
582 nvlist_t *in, nvlist_t **out)
618 if (topo_mod_nvalloc(mod, out, NV_UNIQUE_NAME) != 0)
620 if (nvlist_add_uint32(*out, TOPO_METH_SERVICE_STATE_RET,
622 nvlist_free(*out);
632 nvlist_t *out = NULL;
635 if (topo_mod_nvalloc(mp, &out, NV_UNIQUE_NAME) != 0) {
639 e = nvlist_add_string(out, FM_FMRI_SCHEME, FM_FMRI_SCHEME_DEV);
640 e |= nvlist_add_uint8(out, FM_VERSION, FM_DEV_SCHEME_VERSION);
641 e |= nvlist_add_string(out, FM_FMRI_DEV_PATH, path);
644 e |= nvlist_add_string(out, FM_FMRI_DEV_ID, id);
647 return (out);
651 nvlist_free(out);
658 nvlist_t *in, nvlist_t **out)
674 if ((*out = dev_fmri_create(mp, id, path)) == NULL)