Lines Matching refs:ins
739 nvlist_t *ins; in topo_fmri_create() local
743 ins = out = NULL; in topo_fmri_create()
749 if ((*err = topo_hdl_nvalloc(thp, &ins, NV_UNIQUE_NAME)) != 0) in topo_fmri_create()
753 if (nvlist_add_string(ins, TOPO_METH_FMRI_ARG_NAME, name) != 0 || in topo_fmri_create()
754 nvlist_add_uint64(ins, TOPO_METH_FMRI_ARG_INST, inst) != 0) { in topo_fmri_create()
756 TOPO_METH_FMRI, ins)); in topo_fmri_create()
760 nvlist_add_nvlist(ins, TOPO_METH_FMRI_ARG_NVL, nvl) != 0) { in topo_fmri_create()
762 TOPO_METH_FMRI, ins)); in topo_fmri_create()
765 TOPO_METH_FMRI, TOPO_METH_FMRI_VERSION, ins, &out, err) != 0) { in topo_fmri_create()
766 return (set_nverror(thp, *err, err, TOPO_METH_FMRI, ins)); in topo_fmri_create()
768 nvlist_free(ins); in topo_fmri_create()