Lines Matching defs:nvl
90 nvlist_t *nvl;
97 nvl = nvlist_create(0);
98 nvlist_add_string(nvl, "cmd", "script_run");
99 nvlist_add_string_array(nvl, "argv", argv, argc);
100 nvl = cap_xfer_nvlist(cap, nvl);
101 if (nvl == NULL)
104 error = (int)dnvlist_get_number(nvl, "error", 0);
106 wfd = nvlist_take_descriptor(nvl, "fd");
107 nvlist_destroy(nvl);
134 nvlist_t *nvl;
137 nvl = nvlist_create(0);
138 nvlist_add_string(nvl, "cmd", "script_wait");
139 nvl = cap_xfer_nvlist(cap, nvl);
140 if (nvl == NULL)
143 error = (int)dnvlist_get_number(nvl, "error", 0);
145 *statusp = (int)nvlist_get_number(nvl, "status");
146 nvlist_destroy(nvl);