Lines Matching refs:out

101 	nvlist_t *out = NULL;
106 TOPO_METH_NVL2STR, out));
110 TOPO_METH_NVL2STR, out));
113 TOPO_METH_NVL2STR_VERSION, fmri, &out, err) != 0)
114 return (set_error(thp, *err, err, TOPO_METH_NVL2STR, out));
116 if (out == NULL || nvlist_lookup_string(out, "fmri-string", &str) != 0)
118 TOPO_METH_NVL2STR, out));
122 TOPO_METH_NVL2STR, out));
124 nvlist_free(out);
134 nvlist_t *out = NULL, *in = NULL;
157 TOPO_METH_STR2NVL_VERSION, in, &out, err) != 0) {
165 if (out == NULL ||
166 topo_hdl_nvdup(thp, out, fmri) != 0)
168 TOPO_METH_STR2NVL, out));
170 nvlist_free(out);
180 nvlist_t *out = NULL;
185 TOPO_METH_PRESENT, out));
189 TOPO_METH_PRESENT, out));
192 TOPO_METH_PRESENT_VERSION, fmri, &out, err) < 0) {
193 (void) set_error(thp, *err, err, TOPO_METH_PRESENT, out);
197 (void) nvlist_lookup_uint32(out, TOPO_METH_PRESENT_RET, &present);
198 nvlist_free(out);
208 nvlist_t *out = NULL;
213 TOPO_METH_PRESENCE_STATE, out));
217 TOPO_METH_PRESENCE_STATE, out));
220 TOPO_METH_PRESENCE_STATE_VERSION, fmri, &out, err) < 0)
222 out));
224 (void) nvlist_lookup_uint32(out, TOPO_METH_PRESENCE_STATE_RET,
226 nvlist_free(out);
236 nvlist_t *in = NULL, *out = NULL;
257 TOPO_METH_CONTAINS_VERSION, in, &out, err) < 0)
260 (void) nvlist_lookup_uint32(out, TOPO_METH_CONTAINS_RET, &contains);
262 nvlist_free(out);
272 nvlist_t *out = NULL;
277 TOPO_METH_UNUSABLE, out));
281 TOPO_METH_UNUSABLE, out));
284 TOPO_METH_UNUSABLE_VERSION, fmri, &out, err) < 0)
285 return (set_error(thp, *err, err, TOPO_METH_UNUSABLE, out));
287 (void) nvlist_lookup_uint32(out, TOPO_METH_UNUSABLE_RET, &unusable);
288 nvlist_free(out);
298 nvlist_t *out = NULL;
303 TOPO_METH_RETIRE, out));
307 TOPO_METH_RETIRE, out));
310 TOPO_METH_RETIRE_VERSION, fmri, &out, err) < 0)
311 return (set_error(thp, *err, err, TOPO_METH_RETIRE, out));
313 if (nvlist_lookup_uint32(out, TOPO_METH_RETIRE_RET, &status) != 0)
315 TOPO_METH_RETIRE, out));
316 nvlist_free(out);
326 nvlist_t *out = NULL;
331 TOPO_METH_UNRETIRE, out));
335 TOPO_METH_UNRETIRE, out));
338 TOPO_METH_UNRETIRE_VERSION, fmri, &out, err) < 0)
339 return (set_error(thp, *err, err, TOPO_METH_UNRETIRE, out));
341 if (nvlist_lookup_uint32(out, TOPO_METH_UNRETIRE_RET, &status) != 0) {
342 nvlist_free(out);
344 TOPO_METH_UNRETIRE, out));
346 nvlist_free(out);
356 nvlist_t *out = NULL;
361 TOPO_METH_SERVICE_STATE, out));
365 TOPO_METH_SERVICE_STATE, out));
368 TOPO_METH_SERVICE_STATE_VERSION, fmri, &out, err) < 0)
370 out));
372 (void) nvlist_lookup_uint32(out, TOPO_METH_SERVICE_STATE_RET,
374 nvlist_free(out);
383 nvlist_t *out = NULL;
388 TOPO_METH_EXPAND, out));
392 TOPO_METH_EXPAND, out));
395 TOPO_METH_EXPAND_VERSION, fmri, &out, err) != 0)
396 return (set_error(thp, *err, err, TOPO_METH_EXPAND, out));
566 nvlist_t *in = NULL, *out = NULL;
593 TOPO_METH_PROP_SET_VERSION, in, &out, err);
598 if (out != NULL)
599 nvlist_free(out);
656 nvlist_t *out = NULL;
683 TOPO_METH_COMPARE_VERSION, in, &out, err) < 0)
686 (void) nvlist_lookup_uint32(out, TOPO_METH_COMPARE_RET, &compare);
687 nvlist_free(out);
705 nvlist_t *out;
708 ins = out = NULL;
730 TOPO_METH_FMRI, TOPO_METH_FMRI_VERSION, ins, &out, err) != 0) {
734 return (out);
793 * of "in" and "out" within nvlists, and instead just pass the two strings
794 * to be compared as "in" and "out" respectively, and return the return value
857 nvlist_t *out = NULL;
873 TOPO_METH_IDENT_NODE_VERSION, in, &out, err);
880 if (out == NULL) {
885 if (topo_hdl_nvdup(thp, out, pidentp) < 0)
887 TOPO_METH_IDENT_NODE, out));
889 nvlist_free(out);
898 nvlist_t *in = NULL, *out;
929 TOPO_METH_FACILITY_VERSION, in, &out, err);