Lines Matching defs:nv

614 	struct nvlist *nv;
616 for (nv = options; nv != NULL; nv = nv->nv_next) {
617 dependopts_one(nv->nv_name);
620 for (nv = fsoptions; nv != NULL; nv = nv->nv_next) {
621 dependopts_one(nv->nv_name);
644 do_depends(struct nvlist *nv)
648 for (opt = nv; opt != NULL; opt = opt->nv_next) {
654 do_depend(struct nvlist *nv)
658 if (nv != NULL && (nv->nv_flags & NV_DEPENDED) == 0) {
659 nv->nv_flags |= NV_DEPENDED;
664 CFGDBG(3, "depend attr `%s'", nv->nv_name);
665 if ((a = ht_lookup(attrtab, nv->nv_name)) != NULL) {
668 nv->nv_name, a->a_name);
671 if (ht_lookup(opttab, nv->nv_name) == NULL)
672 addoption(nv->nv_name, NULL);
673 dependopts_one(nv->nv_name);
776 struct nvlist *nv;
794 for (nv = machinesubarches; nv != NULL; nv = nv->nv_next) {
795 q = nv->nv_name;
839 add_fs_dependencies(struct nvlist *nv, struct nvlist *deps)
842 nv->nv_ptr = deps;
843 check_dependencies(nv->nv_name, deps);
859 struct nvlist *nv;
865 for (nv = fses; nv != NULL; nv = nv->nv_next) {
866 if ((w = DEFINED_OPTION(nv->nv_name)) != NULL) {
868 " at %s:%hu", nv->nv_name, w->w_srcfile,
878 if (nvhash_insert(deffstab, nv->nv_name, nv))
880 nv->nv_name);
882 add_fs_dependencies(nv, deps);
888 n = strtolower(nv->nv_name);
1278 struct nvlist *nv;
1280 nv = newnv(name, value, NULL, 0, NULL);
1281 *nextappmkopt = nv;
1282 nextappmkopt = &nv->nv_next;
1291 struct nvlist *nv;
1293 nv = newnv(name, value, cond, 0, NULL);
1294 *nextcndmkopt = nv;
1295 nextcndmkopt = &nv->nv_next;
1316 struct nvlist *nv;
1320 for (nv = mkoptions; nv != NULL; nv = nv->nv_next) {
1321 snprintf(buf, sizeof(buf), "makeoptions_%s", nv->nv_name);
1325 addoption(name, intern(nv->nv_str));
1337 struct nvlist *nv, *onv;
1340 nv = newnv(name, value, NULL, 0, NULL);
1341 if (ht_insert(ht, name, nv) != 0) {
1359 if (ht_insert(ht, name, nv) != 0)
1364 **next = nv;
1365 *next = &nv->nv_next;
1378 struct nvlist *nv;
1398 nv = (*npp)->nv_next;
1401 *npp = nv;
1459 cfcrosscheck(struct config *cf, const char *what, struct nvlist *nv)
1468 for (errs = 0; nv != NULL; nv = nv->nv_next) {
1469 if (nv->nv_name == NULL)
1471 dev = ht_lookup(devbasetab, nv->nv_name);
1473 panic("cfcrosscheck(%s)", nv->nv_name);
1475 devunit = nv->nv_ifunit; /* XXX XXX XXX */
1477 devunit = (int)(minor(nv->nv_num) / maxpartitions);
1491 cf->cf_name, what, nv->nv_str, nv->nv_str);