Home
last modified time | relevance | path

Searched refs:nv_str (Results 1 – 7 of 7) sorted by relevance

/openbsd/usr.sbin/config/
H A Dmkswap.c104 mkdevstr(nv->nv_int), nv->nv_str) < 0) in mkoneswap()
108 mkdevstr(nv->nv_int), nv->nv_str) < 0) in mkoneswap()
114 mkdevstr(nv->nv_int), nv->nv_str) < 0) in mkoneswap()
119 cf->cf_root->nv_str == s_nfs ? "nfs_mountroot" : "dk_mountroot"; in mkoneswap()
H A Dmkheaders.c134 if ((option = ht_lookup(opttab, nv->nv_str)) == NULL) in emitopt()
137 nv->nv_str); in emitopt()
139 if (option->nv_str != NULL) in emitopt()
142 option->nv_name, option->nv_str); in emitopt()
H A Dsem.c558 nv->nv_str = intern(buf); in resolve()
562 if (nv->nv_str == NULL || nv->nv_str == s_nfs) in resolve()
573 l = strlen(nv->nv_str); in resolve()
574 cp = &nv->nv_str[l]; in resolve()
580 cp = nv->nv_str; in resolve()
588 name, what, nv->nv_str); in resolve()
631 if (nv->nv_str == s_generic) in addconf()
1126 lp[ord] = m->nv_str; in fixloc()
1137 if (n->nv_str != NULL) in fixloc()
1138 lp[n->nv_int] = n->nv_str; in fixloc()
H A Dmain.c498 if (nv->nv_str != NULL) in do_option()
499 error("already have %s `%s=%s'", type, name, nv->nv_str); in do_option()
600 cf->cf_name, what, nv->nv_str, nv->nv_str); in cfcrosscheck()
778 newopts[i].val = nv->nv_str; in optiondelta()
H A Dmkmakefile.c254 if (nv->nv_str) in emitdefs()
255 if (fprintf(fp, "=\"%s\"", nv->nv_str) < 0) in emitdefs()
270 if (fprintf(fp, "%s=%s\n", nv->nv_name, nv->nv_str) < 0) in emitdefs()
H A Dutil.c124 nv->nv_str = str; in newnv()
H A Dconfig.h74 #define nv_str nv_un.un_str macro