bin/csh/glob.c
111
blkfree(nv);
bin/csh/glob.c
130
Char *lm, *pe, *pl, *pm, **nv, **vl;
bin/csh/glob.c
134
nv = vl = xreallocarray(NULL, sizeof(Char *), (size_t)size);
bin/csh/glob.c
148
blkfree(nv);
bin/csh/glob.c
161
blkfree(nv);
bin/csh/glob.c
172
blkfree(nv);
bin/csh/glob.c
198
if (vl == &nv[size]) {
bin/csh/glob.c
200
nv = xreallocarray(nv, (size_t)size, sizeof(Char *));
bin/csh/glob.c
201
vl = &nv[size - GLOBSPACE];
bin/csh/glob.c
209
*bl = nv;
bin/csh/glob.c
216
Char **ex, **nv, *s, **vl;
bin/csh/glob.c
218
vl = nv = *nvp;
bin/csh/glob.c
236
free(nv);
bin/csh/glob.c
246
if (&ex[len] >= &nv[size]) {
bin/csh/glob.c
249
l = &ex[len] - &nv[size];
bin/csh/glob.c
251
l = vl - nv;
bin/csh/glob.c
252
e = ex - nv;
bin/csh/glob.c
253
nv = xreallocarray(nv, size, sizeof(Char *));
bin/csh/glob.c
254
vl = nv + l;
bin/csh/glob.c
255
ex = nv + e;
bin/csh/glob.c
272
*nvp = nv;
bin/csh/glob.c
278
Char **ex, **nv, *s, **vl;
bin/csh/glob.c
282
nv = vl = xreallocarray(NULL, sizeof(Char *), size);
bin/csh/glob.c
295
if (vl == &nv[size]) {
bin/csh/glob.c
297
nv = xreallocarray(nv, size, sizeof(Char *));
bin/csh/glob.c
298
vl = &nv[size - GLOBSPACE];
bin/csh/glob.c
306
if (vl == &nv[size]) {
bin/csh/glob.c
308
nv = xreallocarray(nv, size, sizeof(Char *));
bin/csh/glob.c
309
vl = &nv[size - GLOBSPACE];
bin/csh/glob.c
316
return (nv);
bin/csh/glob.c
322
expbrace(&nv, &ex, size);
bin/csh/glob.c
327
vl = nv;
bin/csh/glob.c
330
*vl = globtilde(nv, s);
bin/csh/glob.c
331
vl = nv;
bin/csh/glob.c
98
globtilde(Char **nv, Char *s)
bin/csh/misc.c
342
Char **nv;
bin/csh/misc.c
344
nv = xcalloc((size_t)(blklen(v) + 1), sizeof(*nv));
bin/csh/misc.c
346
return (blkcpy(nv, v));
bin/ps/fmt.c
21
char *nv;
bin/ps/fmt.c
34
nv = realloc(v, nlen);
bin/ps/fmt.c
35
if (nv == 0)
bin/ps/fmt.c
37
v = nv;
bin/sh/redir.c
1017
for (fn = nv; fn->name; fn++) {
bin/sh/redir.c
1057
for (fn = nv; fn->name; fn++)
bin/sh/redir.c
867
} nv[] = {
common/lib/libprop/prop_data.c
257
void *nv;
common/lib/libprop/prop_data.c
261
nv = _PROP_MALLOC(size, M_PROP_DATA);
common/lib/libprop/prop_data.c
262
if (nv == NULL) {
common/lib/libprop/prop_data.c
266
memcpy(nv, v, size);
common/lib/libprop/prop_data.c
267
pd->pd_mutable = nv;
common/lib/libprop/prop_data.c
290
void *nv;
common/lib/libprop/prop_data.c
294
nv = _PROP_MALLOC(size, M_PROP_DATA);
common/lib/libprop/prop_data.c
295
if (nv == NULL)
common/lib/libprop/prop_data.c
298
memcpy(nv, v, size);
common/lib/libprop/prop_data.c
300
nv = NULL;
common/lib/libprop/prop_data.c
304
pd = _prop_data_instantiate(0, nv, size);
common/lib/libprop/prop_data.c
305
if (pd == NULL && nv == NULL)
common/lib/libprop/prop_data.c
306
_PROP_FREE(nv, M_PROP_DATA);
games/backgammon/common_source/fancy.c
314
int o, n, nv;
games/backgammon/common_source/fancy.c
321
nv = abs(new);
games/backgammon/common_source/fancy.c
324
n = (nv - 1) / 5;
games/backgammon/common_source/fancy.c
332
if (ov > nv)
games/backgammon/common_source/fancy.c
333
fixcol(r + inc * (nv - n * 5), nc,
games/backgammon/common_source/fancy.c
334
abs(ov - nv), ' ', inc);
games/backgammon/common_source/fancy.c
337
abs(ov - nv), col, inc);
games/backgammon/common_source/fancy.c
343
fixcol(r, c, abs(nv - 5), col,
games/backgammon/common_source/fancy.c
352
if (nv != 5)
games/backgammon/common_source/fancy.c
353
fixcol(r + inc * nv,
games/backgammon/common_source/fancy.c
354
c + 1, abs(nv - 5),
games/backgammon/common_source/fancy.c
363
fixcol(r, c + 2, abs(nv - 10), col,
games/backgammon/common_source/fancy.c
366
if (nv != 10)
games/backgammon/common_source/fancy.c
367
fixcol(r + inc * (nv - 5), c,
games/backgammon/common_source/fancy.c
368
abs(nv - 10), ' ', inc);
games/backgammon/common_source/fancy.c
377
if (nv != 5 * n)
games/backgammon/common_source/fancy.c
378
fixcol(r, c + n, abs(5 * n - nv),
games/backgammon/common_source/fancy.c
381
fixcol(r + inc * (nv % 5), c + n,
games/backgammon/common_source/fancy.c
382
abs(5 * n - nv), ' ', inc);
games/backgammon/common_source/fancy.c
390
nv = abs(new);
games/backgammon/common_source/fancy.c
391
fixcol(r, c + 1, nv, new > 0 ? 'r' : 'w', inc);
lib/libc/gen/unvis.c
447
lc = is == 0 ? 0 : nv[ia].name[is - 1]; /* last character */
lib/libc/gen/unvis.c
452
for (; ia < __arraycount(nv); ia++) {
lib/libc/gen/unvis.c
453
if (is != 0 && nv[ia].name[is - 1] != lc)
lib/libc/gen/unvis.c
455
if (nv[ia].name[is] == uc)
lib/libc/gen/unvis.c
459
if (ia == __arraycount(nv))
lib/libc/gen/unvis.c
468
*cp = nv[ia].value;
lib/libc/gen/unvis.c
87
} nv[] = {
lib/libc/regex/regexec.c
178
#define STATESETUP(m, nv) { (m)->space = malloc((nv)*(m)->g->nstates); \
sys/arch/m68k/m68k/db_disasm.c
2926
u_long nv;
sys/arch/m68k/m68k/db_disasm.c
2932
nv = disp + (u_int)dbuf->val + 2;
sys/arch/m68k/m68k/db_disasm.c
2938
sym = db_search_symbol(nv, DB_STGY_PROC, &diff);
sys/dev/isa/pcppi.c
128
nv = bus_space_read_1(ia->ia_iot, ppi_ioh, 0); /* XXX */
sys/dev/isa/pcppi.c
129
if (((nv ^ v) & 0x01) == 0x01)
sys/dev/isa/pcppi.c
132
nv = bus_space_read_1(ia->ia_iot, ppi_ioh, 0); /* XXX */
sys/dev/isa/pcppi.c
133
if (((nv ^ v) & 0x01) != 0x00) {
sys/dev/isa/pcppi.c
85
u_int8_t v, nv;
sys/dev/usb/umcpmio_gpio.c
345
int nv = *newvalue;
sys/dev/usb/umcpmio_gpio.c
348
nv &= 0xF8;
sys/dev/usb/umcpmio_gpio.c
351
nv |= MCP2221_SRAM_PIN_IS_GPIO;
sys/dev/usb/umcpmio_gpio.c
355
nv |= MCP2221_SRAM_PIN_IS_ALT0;
sys/dev/usb/umcpmio_gpio.c
358
nv |= MCP2221_SRAM_PIN_IS_ALT1;
sys/dev/usb/umcpmio_gpio.c
361
nv |= MCP2221_SRAM_PIN_IS_ALT2;
sys/dev/usb/umcpmio_gpio.c
368
nv |= MCP2221_SRAM_PIN_IS_DED;
sys/dev/usb/umcpmio_gpio.c
374
*newvalue = nv;
sys/dist/pf/net/pf_norm.c
1354
u_int16_t ov, nv;
sys/dist/pf/net/pf_norm.c
1359
nv = *(u_int16_t *)(&th->th_ack + 1);
sys/dist/pf/net/pf_norm.c
1361
th->th_sum = pf_cksum_fixup(th->th_sum, ov, nv, 0);
sys/kern/kern_uidinfo.c
64
} nv[] = {
sys/kern/kern_uidinfo.c
74
for (size_t i = 0; i < __arraycount(nv); i++)
sys/kern/kern_uidinfo.c
75
if (strcmp(nv[i].name, rnode->sysctl_name) == 0) {
sys/kern/kern_uidinfo.c
84
*(u_long *)((char *)uip + nv[i].value);
sys/kern/subr_pcq.c
181
uint32_t v, nv;
sys/kern/subr_pcq.c
194
nv = pcq_combine(p, c);
sys/kern/subr_pcq.c
195
} while (atomic_cas_32(&pcq->pcq_pc, v, nv) != v);
sys/kern/subr_pcq.c
236
uint32_t v, nv;
sys/kern/subr_pcq.c
261
nv = pcq_combine(p, c);
sys/kern/subr_pcq.c
277
while (__predict_false(atomic_cas_32(&pcq->pcq_pc, v, nv) != v)) {
sys/kern/subr_pcq.c
281
nv = pcq_combine(p, c);
sys/net/npf/npf_params.c
135
npf_params_export(const npf_t *npf, nvlist_t *nv)
sys/net/npf/npf_params.c
155
nvlist_add_nvlist(nv, "params", params);
sys/net/npf/npf_params.c
156
nvlist_add_nvlist(nv, "params-defaults", dparams);
sys/ufs/lfs/lfs_vfsops.c
1708
compare_key_sd(void *context, const void *nv, const void *kv)
sys/ufs/lfs/lfs_vfsops.c
1713
sd = (const struct segdelta *)nv;
tests/kernel/h_segv.c
235
for (j = 0; j < __arraycount(nv); j++) {
tests/kernel/h_segv.c
236
if (strcmp(nv[j].n, argv[i]) == 0) {
tests/kernel/h_segv.c
237
flags |= nv[j].v;
tests/kernel/h_segv.c
61
} nv[] = {
tests/lib/libc/regex/t_regex_att.c
198
} nv[]= {
tests/lib/libc/regex/t_regex_att.c
203
for (size_t i = 0; i < __arraycount(nv); i++)
tests/lib/libc/regex/t_regex_att.c
204
if (strcmp(nv[i].n, s) == 0) {
tests/lib/libc/regex/t_regex_att.c
205
if (nv[i].v)
tests/lib/libc/regex/t_regex_att.c
266
} nv[] = {
tests/lib/libc/regex/t_regex_att.c
297
for (size_t i = 0; i < __arraycount(nv); i++)
tests/lib/libc/regex/t_regex_att.c
298
if (strcmp(s, nv[i].n) == 0) {
tests/lib/libc/regex/t_regex_att.c
299
if (nv[i].ce & COMP)
tests/lib/libc/regex/t_regex_att.c
300
*comp = nv[i].v;
tests/lib/libc/regex/t_regex_att.c
301
if (nv[i].ce & EXEC)
tests/lib/libc/regex/t_regex_att.c
302
*exec = nv[i].v;
tests/lib/libc/t_convfp.c
112
double nv;
tests/lib/libc/t_convfp.c
115
nv = 5.6;
tests/lib/libc/t_convfp.c
116
uv = (unsigned long)nv;
tests/lib/libc/t_convfp.c
119
"%.3f casted to unsigned long is %lu", nv, uv);
tests/net/icmp/t_forward.c
108
int nv;
tests/net/icmp/t_forward.c
111
nv = 200;
tests/net/icmp/t_forward.c
112
if (rump_sys___sysctl(mib, 4, NULL, NULL, &nv, sizeof(nv)) == -1)
tests/net/icmp/t_forward.c
74
int nv;
tests/net/icmp/t_forward.c
82
nv = 1;
tests/net/icmp/t_forward.c
83
if (rump_sys___sysctl(mib, 4, NULL, NULL, &nv, sizeof(nv)) == -1)
usr.bin/config/files.c
513
struct nvlist *nv;
usr.bin/config/files.c
518
nv = newnv(name, NULL, NULL, dev->d_umax, NULL);
usr.bin/config/files.c
519
**p = nv;
usr.bin/config/files.c
520
*p = &nv->nv_next;
usr.bin/config/files.c
521
(void)ht_insert(needcnttab, name, nv);
usr.bin/config/files.c
533
struct nvlist *nv;
usr.bin/config/files.c
537
nv = newnv(name, NULL, NULL, sel, NULL);
usr.bin/config/files.c
538
**p = nv;
usr.bin/config/files.c
539
*p = &nv->nv_next;
usr.bin/config/gram.y
1326
struct nvlist *nv;
usr.bin/config/gram.y
1346
for (nv = machinesubarches; nv != NULL; nv = nv->nv_next) {
usr.bin/config/gram.y
1347
if (defattr(nv->nv_name, NULL, NULL, 0) != 0)
usr.bin/config/gram.y
1365
for (nv = machinesubarches; nv != NULL; nv = nv->nv_next) {
usr.bin/config/gram.y
1367
nv->nv_name, nv->nv_name);
usr.bin/config/lint.c
101
do_emit_fs(const char *name, struct nvlist *nv, void *v)
usr.bin/config/lint.c
109
printf("%s\t%s\n", ot->ot_name, nv->nv_name);
usr.bin/config/main.c
1278
struct nvlist *nv;
usr.bin/config/main.c
1280
nv = newnv(name, value, NULL, 0, NULL);
usr.bin/config/main.c
1281
*nextappmkopt = nv;
usr.bin/config/main.c
1282
nextappmkopt = &nv->nv_next;
usr.bin/config/main.c
1291
struct nvlist *nv;
usr.bin/config/main.c
1293
nv = newnv(name, value, cond, 0, NULL);
usr.bin/config/main.c
1294
*nextcndmkopt = nv;
usr.bin/config/main.c
1295
nextcndmkopt = &nv->nv_next;
usr.bin/config/main.c
1316
struct nvlist *nv;
usr.bin/config/main.c
1320
for (nv = mkoptions; nv != NULL; nv = nv->nv_next) {
usr.bin/config/main.c
1321
snprintf(buf, sizeof(buf), "makeoptions_%s", nv->nv_name);
usr.bin/config/main.c
1325
addoption(name, intern(nv->nv_str));
usr.bin/config/main.c
1337
struct nvlist *nv, *onv;
usr.bin/config/main.c
1340
nv = newnv(name, value, NULL, 0, NULL);
usr.bin/config/main.c
1341
if (ht_insert(ht, name, nv) != 0) {
usr.bin/config/main.c
1359
if (ht_insert(ht, name, nv) != 0)
usr.bin/config/main.c
1364
**next = nv;
usr.bin/config/main.c
1365
*next = &nv->nv_next;
usr.bin/config/main.c
1378
struct nvlist *nv;
usr.bin/config/main.c
1398
nv = (*npp)->nv_next;
usr.bin/config/main.c
1401
*npp = nv;
usr.bin/config/main.c
1459
cfcrosscheck(struct config *cf, const char *what, struct nvlist *nv)
usr.bin/config/main.c
1468
for (errs = 0; nv != NULL; nv = nv->nv_next) {
usr.bin/config/main.c
1469
if (nv->nv_name == NULL)
usr.bin/config/main.c
1471
dev = ht_lookup(devbasetab, nv->nv_name);
usr.bin/config/main.c
1473
panic("cfcrosscheck(%s)", nv->nv_name);
usr.bin/config/main.c
1475
devunit = nv->nv_ifunit; /* XXX XXX XXX */
usr.bin/config/main.c
1477
devunit = (int)(minor(nv->nv_num) / maxpartitions);
usr.bin/config/main.c
1491
cf->cf_name, what, nv->nv_str, nv->nv_str);
usr.bin/config/main.c
614
struct nvlist *nv;
usr.bin/config/main.c
616
for (nv = options; nv != NULL; nv = nv->nv_next) {
usr.bin/config/main.c
617
dependopts_one(nv->nv_name);
usr.bin/config/main.c
620
for (nv = fsoptions; nv != NULL; nv = nv->nv_next) {
usr.bin/config/main.c
621
dependopts_one(nv->nv_name);
usr.bin/config/main.c
644
do_depends(struct nvlist *nv)
usr.bin/config/main.c
648
for (opt = nv; opt != NULL; opt = opt->nv_next) {
usr.bin/config/main.c
654
do_depend(struct nvlist *nv)
usr.bin/config/main.c
658
if (nv != NULL && (nv->nv_flags & NV_DEPENDED) == 0) {
usr.bin/config/main.c
659
nv->nv_flags |= NV_DEPENDED;
usr.bin/config/main.c
664
CFGDBG(3, "depend attr `%s'", nv->nv_name);
usr.bin/config/main.c
665
if ((a = ht_lookup(attrtab, nv->nv_name)) != NULL) {
usr.bin/config/main.c
668
nv->nv_name, a->a_name);
usr.bin/config/main.c
671
if (ht_lookup(opttab, nv->nv_name) == NULL)
usr.bin/config/main.c
672
addoption(nv->nv_name, NULL);
usr.bin/config/main.c
673
dependopts_one(nv->nv_name);
usr.bin/config/main.c
776
struct nvlist *nv;
usr.bin/config/main.c
794
for (nv = machinesubarches; nv != NULL; nv = nv->nv_next) {
usr.bin/config/main.c
795
q = nv->nv_name;
usr.bin/config/main.c
839
add_fs_dependencies(struct nvlist *nv, struct nvlist *deps)
usr.bin/config/main.c
842
nv->nv_ptr = deps;
usr.bin/config/main.c
843
check_dependencies(nv->nv_name, deps);
usr.bin/config/main.c
859
struct nvlist *nv;
usr.bin/config/main.c
865
for (nv = fses; nv != NULL; nv = nv->nv_next) {
usr.bin/config/main.c
866
if ((w = DEFINED_OPTION(nv->nv_name)) != NULL) {
usr.bin/config/main.c
868
" at %s:%hu", nv->nv_name, w->w_srcfile,
usr.bin/config/main.c
878
if (nvhash_insert(deffstab, nv->nv_name, nv))
usr.bin/config/main.c
880
nv->nv_name);
usr.bin/config/main.c
882
add_fs_dependencies(nv, deps);
usr.bin/config/main.c
888
n = strtolower(nv->nv_name);
usr.bin/config/mkdevsw.c
179
struct nvlist *nv;
usr.bin/config/mkdevsw.c
191
nv = dm->dm_devnodes;
usr.bin/config/mkdevsw.c
192
d_class = nv->nv_str;
usr.bin/config/mkdevsw.c
193
while ((nv = nv->nv_next) != NULL) {
usr.bin/config/mkdevsw.c
196
if (nv->nv_str) {
usr.bin/config/mkdevsw.c
197
d_flags = nv->nv_str;
usr.bin/config/mkdevsw.c
200
if (nv->nv_num > INT_MAX || nv->nv_num < INT_MIN)
usr.bin/config/mkdevsw.c
202
d_vec[i++] = (int)nv->nv_num;
usr.bin/config/mkheaders.c
162
fprintcnt(FILE *fp, struct nvlist *nv)
usr.bin/config/mkheaders.c
164
const char *name = cntname(nv->nv_name);
usr.bin/config/mkheaders.c
166
fprintf(fp, "#define\t%s\t%lld\n", name, nv->nv_num);
usr.bin/config/mkheaders.c
167
fprint_global(fp, name, nv->nv_num);
usr.bin/config/mkheaders.c
174
struct nvlist *nv;
usr.bin/config/mkheaders.c
183
for (nv = head; nv != NULL; nv = nv->nv_next)
usr.bin/config/mkheaders.c
184
fprintcnt(fp, nv);
usr.bin/config/mkmakefile.c
215
emitmkoption(FILE *fp, const char *ass, const struct nvlist *nv)
usr.bin/config/mkmakefile.c
219
fprintf(fp, "%s%s", nv->nv_name, ass);
usr.bin/config/mkmakefile.c
220
for (p = nv->nv_str; *p; p++) {
usr.bin/config/mkmakefile.c
279
struct nvlist *nv;
usr.bin/config/mkmakefile.c
283
for (nv = options; nv != NULL; nv = nv->nv_next) {
usr.bin/config/mkmakefile.c
286
if (DEFINED_OPTION(nv->nv_name))
usr.bin/config/mkmakefile.c
288
const char *s = nv->nv_str;
usr.bin/config/mkmakefile.c
289
fprintf(fp, "\t-D%s%s%s%s \\\n", nv->nv_name,
usr.bin/config/mkmakefile.c
310
for (nv = mkoptions; nv != NULL; nv = nv->nv_next)
usr.bin/config/mkmakefile.c
311
emitmkoption(fp, "=", nv);
usr.bin/config/mkmakefile.c
317
for (nv = options; nv != NULL; nv = nv->nv_next) {
usr.bin/config/mkmakefile.c
319
dl = find_declared_option_option(nv->nv_name);
usr.bin/config/mkmakefile.c
321
const char *s = nv->nv_str;
usr.bin/config/mkmakefile.c
325
fprintf(fp, "KERNEL_OPT_%s=\"%s\"\n", nv->nv_name, s);
usr.bin/config/mkmakefile.c
652
struct nvlist *nv;
usr.bin/config/mkmakefile.c
666
for (nv = appmkoptions; nv != NULL; nv = nv->nv_next)
usr.bin/config/mkmakefile.c
667
fprintf(fp, "%s+=%s\n", nv->nv_name, nv->nv_str);
usr.bin/config/mkmakefile.c
669
for (nv = condmkoptions; nv != NULL; nv = nv->nv_next) {
usr.bin/config/mkmakefile.c
670
cond = nv->nv_ptr;
usr.bin/config/mkmakefile.c
672
emitmkoption(fp, "+=", nv);
usr.bin/config/mkmakefile.c
674
nv->nv_ptr = NULL;
usr.bin/config/mkswap.c
112
nv = cf->cf_root;
usr.bin/config/mkswap.c
120
mkdevstr((dev_t)nv->nv_num),
usr.bin/config/mkswap.c
121
nv->nv_str == s_qmark ? "wildcarded" : nv->nv_str);
usr.bin/config/mkswap.c
126
nv = cf->cf_dump;
usr.bin/config/mkswap.c
133
nv ? mkdevstr((dev_t)nv->nv_num) : "NODEV",
usr.bin/config/mkswap.c
134
nv ? nv->nv_str : "unspecified");
usr.bin/config/mkswap.c
93
struct nvlist *nv;
usr.bin/config/sem.c
1008
l = strlen(nv->nv_str);
usr.bin/config/sem.c
1009
cp = &nv->nv_str[l];
usr.bin/config/sem.c
1015
cp = nv->nv_str;
usr.bin/config/sem.c
1031
nv->nv_num = (long long)NODEV;
usr.bin/config/sem.c
1032
nv->nv_ifunit = unit; /* XXX XXX XXX */
usr.bin/config/sem.c
1037
name, what, nv->nv_str);
usr.bin/config/sem.c
1040
nv->nv_num = (long long)makedev(maj, unit * maxpartitions + part);
usr.bin/config/sem.c
1043
nv->nv_name = dev->d_name;
usr.bin/config/sem.c
1078
struct nvlist *nv;
usr.bin/config/sem.c
1079
nv = cf->cf_root;
usr.bin/config/sem.c
1080
if (resolve(&cf->cf_root, name, "root", nv, 'a'))
usr.bin/config/sem.c
121
struct nvlist *nv;
usr.bin/config/sem.c
122
for (nv = stack; nv != NULL; nv = nv->nv_next)
usr.bin/config/sem.c
123
remove_devi(nv->nv_ptr);
usr.bin/config/sem.c
1398
struct nvlist *nv, *onv;
usr.bin/config/sem.c
1404
for (nv = p->p_devs; nv->nv_next != NULL; nv = nv->nv_next) {
usr.bin/config/sem.c
1405
if (nv->nv_next && nv->nv_next->nv_ptr == i) {
usr.bin/config/sem.c
1406
onv = nv->nv_next;
usr.bin/config/sem.c
1407
nv->nv_next = onv->nv_next;
usr.bin/config/sem.c
1411
if (nv->nv_ptr == i) {
usr.bin/config/sem.c
1413
p->p_devs = nv->nv_next;
usr.bin/config/sem.c
1414
nvfree(nv);
usr.bin/config/sem.c
1571
struct nvlist *nv, *stack = NULL;
usr.bin/config/sem.c
1617
for (nv = a->a_devs; nv != NULL; nv = nv->nv_next) {
usr.bin/config/sem.c
1618
d = nv->nv_ptr;
usr.bin/config/sem.c
2211
onlist(struct nvlist *nv, void *ptr)
usr.bin/config/sem.c
2213
for (; nv != NULL; nv = nv->nv_next)
usr.bin/config/sem.c
2214
if (nv->nv_ptr == ptr)
usr.bin/config/sem.c
656
struct nvlist *nv;
usr.bin/config/sem.c
713
for (nv = atlist; nv != NULL; nv = nv->nv_next) {
usr.bin/config/sem.c
714
if (nv->nv_name == NULL)
usr.bin/config/sem.c
715
nv->nv_ptr = a = NULL; /* at root */
usr.bin/config/sem.c
717
nv->nv_ptr = a = getattr(nv->nv_name);
usr.bin/config/sem.c
953
struct nvlist *nv;
usr.bin/config/sem.c
964
if ((nv = *nvp) == NULL) {
usr.bin/config/sem.c
978
*nvp = nv = newnv(NULL, cp, NULL, (long long)d, NULL);
usr.bin/config/sem.c
980
if ((dev_t)nv->nv_num != NODEV) {
usr.bin/config/sem.c
985
maj = major(nv->nv_num);
usr.bin/config/sem.c
986
min = minor(nv->nv_num);
usr.bin/config/sem.c
987
nv->nv_str = makedevstr(maj, min);
usr.bin/config/sem.c
991
if (nv->nv_str == NULL || nv->nv_str == s_qmark)
usr.bin/config/sem.c
997
if (nv->nv_ptr != NULL && strcmp(nv->nv_ptr, "spec") == 0)
usr.bin/config/util.c
195
struct nvlist *nv;
usr.bin/config/util.c
197
nv = ecalloc(1, sizeof(*nv));
usr.bin/config/util.c
198
nv->nv_next = next;
usr.bin/config/util.c
199
nv->nv_name = name;
usr.bin/config/util.c
200
nv->nv_str = str;
usr.bin/config/util.c
201
nv->nv_ptr = ptr;
usr.bin/config/util.c
202
nv->nv_num = i;
usr.bin/config/util.c
203
nv->nv_where.w_srcfile = yyfile;
usr.bin/config/util.c
204
nv->nv_where.w_srcline = currentline();
usr.bin/config/util.c
205
return nv;
usr.bin/config/util.c
212
nvfree(struct nvlist *nv)
usr.bin/config/util.c
215
free(nv);
usr.bin/config/util.c
222
nvfreel(struct nvlist *nv)
usr.bin/config/util.c
226
for (; nv != NULL; nv = next) {
usr.bin/config/util.c
227
next = nv->nv_next;
usr.bin/config/util.c
228
free(nv);
usr.bin/config/util.c
235
struct nvlist *nv;
usr.bin/config/util.c
240
for (nv = nv1; nv->nv_next != NULL; nv = nv->nv_next);
usr.bin/config/util.c
242
nv->nv_next = nv2;
usr.bin/elf2aout/elf2aout.c
106
for (i = 0; i < __arraycount(nv); i++) {
usr.bin/elf2aout/elf2aout.c
107
if (strcmp(name, nv[i].n) == 0)
usr.bin/elf2aout/elf2aout.c
108
return nv[i].v;
usr.bin/elf2aout/elf2aout.c
91
} nv[] = {
usr.bin/kdump/kdump.c
1604
} nv[] = {
usr.bin/kdump/kdump.c
1628
for (size_t j = 0; j < __arraycount(nv); j++)
usr.bin/kdump/kdump.c
1629
if (nv[j].name == NULL ||
usr.bin/kdump/kdump.c
1630
strncmp(nv[j].name, usr->ktr_id, KTR_USER_MAXIDLEN) == 0) {
usr.bin/kdump/kdump.c
1631
(*nv[j].func)(usr->ktr_id, dta, len);
usr.bin/xlint/lint1/func.c
431
check_duplicate_case_label(control_statement *cs, const val_t *nv)
usr.bin/xlint/lint1/func.c
436
while (i < n && labels->vals[i].u.integer != nv->u.integer)
usr.bin/xlint/lint1/func.c
440
if (is_uinteger(nv->v_tspec))
usr.bin/xlint/lint1/func.c
442
error(200, (uintmax_t)nv->u.integer);
usr.bin/xlint/lint1/func.c
445
error(199, (intmax_t)nv->u.integer);
usr.bin/xlint/lint1/func.c
454
labels->vals[labels->len++] = *nv;
usr.bin/xlint/lint1/func.c
504
val_t nv;
usr.bin/xlint/lint1/func.c
505
(void)memset(&nv, 0, sizeof(nv));
usr.bin/xlint/lint1/func.c
506
convert_constant(CASE, 0, cs->c_switch_type, &nv, v);
usr.bin/xlint/lint1/func.c
509
if (check_duplicate_case_label(cs, &nv))
usr.bin/xlint/lint1/func.c
510
check_getopt_case_label(nv.u.integer);
usr.bin/xlint/lint1/tree.c
4166
tspec_t nt, val_t *nv, val_t *ov)
usr.bin/xlint/lint1/tree.c
4224
nv->u.floating = (float)ov->u.floating;
usr.bin/xlint/lint1/tree.c
4226
nv->u.floating = (double)ov->u.floating;
usr.bin/xlint/lint1/tree.c
4228
nv->u.floating = ov->u.floating;
usr.bin/xlint/lint1/tree.c
4230
nv->u.integer = (int64_t)ov->u.floating;
usr.bin/xlint/lint1/tree.c
4234
convert_constant_to_floating(tspec_t nt, val_t *nv,
usr.bin/xlint/lint1/tree.c
4238
nv->u.floating = (ot == PTR || is_uinteger(ot)) ?
usr.bin/xlint/lint1/tree.c
4241
nv->u.floating = (ot == PTR || is_uinteger(ot)) ?
usr.bin/xlint/lint1/tree.c
4244
nv->u.floating = (ot == PTR || is_uinteger(ot))
usr.bin/xlint/lint1/tree.c
4277
uint64_t xmask, const val_t *nv,
usr.bin/xlint/lint1/tree.c
4282
(nv->u.integer & bit((unsigned int)(osz - 1))) != 0 &&
usr.bin/xlint/lint1/tree.c
4283
(nv->u.integer & xmask) != xmask) {
usr.bin/xlint/lint1/tree.c
4375
op_t op, int arg, const val_t *v, val_t *nv)
usr.bin/xlint/lint1/tree.c
4389
nbitsz, obitsz, xmask, nv, ot, v, tp, op);
usr.bin/xlint/lint1/tree.c
4393
else if (nv->u.integer != v->u.integer && nbitsz <= obitsz &&
usr.bin/xlint/lint1/tree.c
4397
else if (nv->u.integer != v->u.integer)
usr.bin/xlint/lint1/tree.c
4403
convert_constant(op_t op, int arg, const type_t *ntp, val_t *nv, val_t *ov)
usr.bin/xlint/lint1/tree.c
4410
tspec_t nt = nv->v_tspec = ntp->t_tspec;
usr.bin/xlint/lint1/tree.c
4414
nv->v_unsigned_since_c90 = false;
usr.bin/xlint/lint1/tree.c
4415
nv->u.integer = is_nonzero_val(ov) ? 1 : 0;
usr.bin/xlint/lint1/tree.c
4420
convert_constant_from_floating(op, arg, ntp, nt, nv, ov);
usr.bin/xlint/lint1/tree.c
4421
else if (!convert_constant_to_floating(nt, nv, ot, ov)) {
usr.bin/xlint/lint1/tree.c
4423
nv->u.integer = ov->u.integer;
usr.bin/xlint/lint1/tree.c
4438
nv->u.integer = convert_integer(nv->u.integer, nt, size);
usr.bin/xlint/lint1/tree.c
4442
convert_constant_check_range(ot, ntp, nt, op, arg, ov, nv);
usr.sbin/makefs/makefs.c
507
} nv[] = {
usr.sbin/makefs/makefs.c
526
for (size_t i = 0; i < __arraycount(nv); i++)
usr.sbin/makefs/makefs.c
527
fprintf(stderr, "\t0x%8.8x\t%s\n", nv[i].v, nv[i].n);
usr.sbin/makefs/makefs.c
557
for (i = 0; i < __arraycount(nv); i++)
usr.sbin/makefs/makefs.c
558
if (strcmp(nv[i].n, a) == 0) {
usr.sbin/makefs/makefs.c
559
d |= nv[i].v;
usr.sbin/makefs/makefs.c
562
if (i == __arraycount(nv))
usr.sbin/makemandb/apropos-utils.c
1050
struct nv *nv = p;
usr.sbin/makemandb/apropos-utils.c
1051
nv->s[nv->l++] = c;
usr.sbin/makemandb/apropos-utils.c
1059
struct nv nv;
usr.sbin/makemandb/apropos-utils.c
1064
nv.s = res;
usr.sbin/makemandb/apropos-utils.c
1065
nv.l = 0;
usr.sbin/makemandb/apropos-utils.c
1066
ti_puts(ti, seq, 1, term_putc, &nv);
usr.sbin/makemandb/apropos-utils.c
1067
nv.s[nv.l] = '\0';
usr.sbin/sysinst/mbr.c
2590
uint nv = max(roundup(start, align), align);
usr.sbin/sysinst/mbr.c
2591
uint off = nv - start;
usr.sbin/sysinst/mbr.c
2592
start = nv;