Lines Matching refs:out

105 	nvlist_t *out = NULL;
110 TOPO_METH_NVL2STR, out));
114 TOPO_METH_NVL2STR, out));
117 TOPO_METH_NVL2STR_VERSION, fmri, &out, err) != 0)
118 return (set_error(thp, *err, err, TOPO_METH_NVL2STR, out));
120 if (out == NULL || nvlist_lookup_string(out, "fmri-string", &str) != 0)
122 TOPO_METH_NVL2STR, out));
126 TOPO_METH_NVL2STR, out));
128 nvlist_free(out);
138 nvlist_t *out = NULL, *in = NULL;
161 TOPO_METH_STR2NVL_VERSION, in, &out, err) != 0)
166 if (out == NULL ||
167 topo_hdl_nvdup(thp, out, fmri) != 0)
169 TOPO_METH_STR2NVL, out));
171 nvlist_free(out);
181 nvlist_t *out = NULL;
186 TOPO_METH_PRESENT, out));
190 TOPO_METH_PRESENT, out));
193 TOPO_METH_PRESENT_VERSION, fmri, &out, err) < 0) {
194 (void) set_error(thp, *err, err, TOPO_METH_PRESENT, out);
198 (void) nvlist_lookup_uint32(out, TOPO_METH_PRESENT_RET, &present);
199 nvlist_free(out);
209 nvlist_t *out = NULL;
214 TOPO_METH_REPLACED, out));
218 TOPO_METH_REPLACED, out));
221 TOPO_METH_REPLACED_VERSION, fmri, &out, err) < 0) {
222 (void) set_error(thp, *err, err, TOPO_METH_REPLACED, out);
226 (void) nvlist_lookup_uint32(out, TOPO_METH_REPLACED_RET, &replaced);
227 nvlist_free(out);
237 nvlist_t *in = NULL, *out = NULL;
258 TOPO_METH_CONTAINS_VERSION, in, &out, err) < 0)
261 (void) nvlist_lookup_uint32(out, TOPO_METH_CONTAINS_RET, &contains);
263 nvlist_free(out);
273 nvlist_t *out = NULL;
278 TOPO_METH_UNUSABLE, out));
282 TOPO_METH_UNUSABLE, out));
285 TOPO_METH_UNUSABLE_VERSION, fmri, &out, err) < 0)
286 return (set_error(thp, *err, err, TOPO_METH_UNUSABLE, out));
288 (void) nvlist_lookup_uint32(out, TOPO_METH_UNUSABLE_RET, &unusable);
289 nvlist_free(out);
299 nvlist_t *out = NULL;
304 TOPO_METH_RETIRE, out));
308 TOPO_METH_RETIRE, out));
311 TOPO_METH_RETIRE_VERSION, fmri, &out, err) < 0)
312 return (set_error(thp, *err, err, TOPO_METH_RETIRE, out));
314 if (nvlist_lookup_uint32(out, TOPO_METH_RETIRE_RET, &status) != 0)
316 TOPO_METH_RETIRE, out));
317 nvlist_free(out);
327 nvlist_t *out = NULL;
332 TOPO_METH_UNRETIRE, out));
336 TOPO_METH_UNRETIRE, out));
339 TOPO_METH_UNRETIRE_VERSION, fmri, &out, err) < 0)
340 return (set_error(thp, *err, err, TOPO_METH_UNRETIRE, out));
342 if (nvlist_lookup_uint32(out, TOPO_METH_UNRETIRE_RET, &status) != 0) {
343 nvlist_free(out);
345 TOPO_METH_UNRETIRE, out));
347 nvlist_free(out);
357 nvlist_t *out = NULL;
362 TOPO_METH_SERVICE_STATE, out));
366 TOPO_METH_SERVICE_STATE, out));
369 TOPO_METH_SERVICE_STATE_VERSION, fmri, &out, err) < 0)
371 out));
373 (void) nvlist_lookup_uint32(out, TOPO_METH_SERVICE_STATE_RET,
375 nvlist_free(out);
384 nvlist_t *out = NULL;
389 TOPO_METH_EXPAND, out));
393 TOPO_METH_EXPAND, out));
396 TOPO_METH_EXPAND_VERSION, fmri, &out, err) != 0)
397 return (set_error(thp, *err, err, TOPO_METH_EXPAND, out));
564 nvlist_t *in = NULL, *out = NULL;
591 TOPO_METH_PROP_SET_VERSION, in, &out, err);
596 if (out != NULL)
597 nvlist_free(out);
654 nvlist_t *out = NULL;
681 TOPO_METH_COMPARE_VERSION, in, &out, err) < 0)
684 (void) nvlist_lookup_uint32(out, TOPO_METH_COMPARE_RET, &compare);
685 nvlist_free(out);
703 nvlist_t *out;
706 ins = out = NULL;
728 TOPO_METH_FMRI, TOPO_METH_FMRI_VERSION, ins, &out, err) != 0) {
732 return (out);
1023 nvlist_t *in = NULL, *out;
1054 TOPO_METH_FACILITY_VERSION, in, &out, err);