Lines Matching refs:nvl
99 nvlist_t *nvl = NULL; in addref() local
104 nvl = reparse_init(); in addref()
105 if (nvl == NULL) in addref()
115 reparse_free(nvl); in addref()
124 err = reparse_parse(buf, nvl); in addref()
126 reparse_free(nvl); in addref()
147 err = reparse_add(nvl, svc_type, location); in addref()
149 reparse_free(nvl); in addref()
154 err = reparse_unparse(nvl, &text); in addref()
155 reparse_free(nvl); in addref()
193 nvlist_t *nvl; in delref() local
201 if (!(nvl = reparse_init())) in delref()
207 reparse_free(nvl); in delref()
213 err = reparse_parse(buf, nvl); in delref()
215 reparse_free(nvl); in delref()
220 err = reparse_remove(nvl, svc_type); in delref()
222 reparse_free(nvl); in delref()
227 curr = nvlist_next_nvpair(nvl, NULL); in delref()
229 err = reparse_unparse(nvl, &cp); in delref()
230 reparse_free(nvl); in delref()
234 reparse_free(nvl); in delref()
262 nvlist_t *nvl; in lookup() local
267 if (!(nvl = reparse_init())) in lookup()
277 err = reparse_parse(buf, nvl); in lookup()
279 reparse_free(nvl); in lookup()
285 while ((curr = nvlist_next_nvpair(nvl, curr)) != NULL) { in lookup()
293 reparse_free(nvl); in lookup()
302 reparse_free(nvl); in lookup()