Lines Matching refs:args
131 nvlist_t *args, *fmri = NULL, *obj = NULL, *site = NULL, *ctxt = NULL;
150 if (nvlist_lookup_nvlist(in, TOPO_METH_FMRI_ARG_NVL, &args) != 0)
153 if (nvlist_lookup_string(args, "obj_path", &obj_path) != 0)
155 err |= sw_get_optl_string(args, "obj_root", &obj_root);
156 err |= sw_get_optl_nvlist(args, "obj-pkg", &obj_pkg);
158 err |= sw_get_optl_string(args, "site_token", &site_token);
159 err |= sw_get_optl_string(args, "site_module", &site_module);
160 err |= sw_get_optl_string(args, "site_file", &site_file);
161 err |= sw_get_optl_string(args, "site_func", &site_func);
162 err |= sw_get_optl_int64(args, "site_line", &site_line);
164 err |= sw_get_optl_string(args, "ctxt_origin", &ctxt_origin);
165 err |= sw_get_optl_string(args, "ctxt_execname", &ctxt_execname);
166 err |= sw_get_optl_string(args, "ctxt_zone", &ctxt_zone);
167 err |= sw_get_optl_int64(args, "ctxt_pid", &ctxt_pid);
168 err |= sw_get_optl_int64(args, "ctxt_ctid", &ctxt_ctid);
170 if (nvlist_lookup_string_array(args, "stack", &ctxt_stack,