Searched refs:nv (Results 1 - 25 of 57) sorted by relevance

123

/src/usr.bin/config/
H A Dmkswap.c93 struct nvlist *nv; local in function:mkoneswap
112 nv = cf->cf_root;
120 mkdevstr((dev_t)nv->nv_num),
121 nv->nv_str == s_qmark ? "wildcarded" : nv->nv_str);
126 nv = cf->cf_dump;
133 nv ? mkdevstr((dev_t)nv->nv_num) : "NODEV",
134 nv ? nv
[all...]
H A Dmkmakefile.c215 emitmkoption(FILE *fp, const char *ass, const struct nvlist *nv) argument
219 fprintf(fp, "%s%s", nv->nv_name, ass);
220 for (p = nv->nv_str; *p; p++) {
279 struct nvlist *nv; local in function:emitdefs
283 for (nv = options; nv != NULL; nv = nv->nv_next) {
286 if (DEFINED_OPTION(nv->nv_name))
288 const char *s = nv
652 struct nvlist *nv; local in function:emitappmkoptions
[all...]
H A Dutil.c195 struct nvlist *nv; local in function:newnv
197 nv = ecalloc(1, sizeof(*nv));
198 nv->nv_next = next;
199 nv->nv_name = name;
200 nv->nv_str = str;
201 nv->nv_ptr = ptr;
202 nv->nv_num = i;
203 nv->nv_where.w_srcfile = yyfile;
204 nv
212 nvfree(struct nvlist * nv) argument
222 nvfreel(struct nvlist * nv) argument
235 struct nvlist *nv; local in function:nvcat
[all...]
H A Dmkdevsw.c179 struct nvlist *nv; local in function:emitconv
191 nv = dm->dm_devnodes;
192 d_class = nv->nv_str;
193 while ((nv = nv->nv_next) != NULL) {
196 if (nv->nv_str) {
197 d_flags = nv->nv_str;
200 if (nv->nv_num > INT_MAX || nv->nv_num < INT_MIN)
202 d_vec[i++] = (int)nv
[all...]
H A Dmain.c614 struct nvlist *nv; local in function:dependopts
616 for (nv = options; nv != NULL; nv = nv->nv_next) {
617 dependopts_one(nv->nv_name);
620 for (nv = fsoptions; nv != NULL; nv = nv
644 do_depends(struct nvlist * nv) argument
654 do_depend(struct nvlist * nv) argument
776 struct nvlist *nv; local in function:mksymlinks
839 add_fs_dependencies(struct nvlist * nv,struct nvlist * deps) argument
859 struct nvlist *nv; local in function:deffilesystem
1278 struct nvlist *nv; local in function:appendmkoption
1291 struct nvlist *nv; local in function:appendcondmkoption
1316 struct nvlist *nv; local in function:fixmkoption
1337 struct nvlist *nv, *onv; local in function:do_option
1378 struct nvlist *nv; local in function:undo_option
1459 cfcrosscheck(struct config * cf,const char * what,struct nvlist * nv) argument
[all...]
H A Dsem.c121 struct nvlist *nv; local in function:devcleanup
122 for (nv = stack; nv != NULL; nv = nv->nv_next)
123 remove_devi(nv->nv_ptr);
656 struct nvlist *nv; local in function:defdevattach
709 for (nv = atlist; nv != NULL; nv
948 struct nvlist *nv; local in function:resolve
1073 struct nvlist *nv; local in function:addconf
1393 struct nvlist *nv, *onv; local in function:remove_pspec
1566 struct nvlist *nv, *stack = NULL; local in function:deldeva
2206 onlist(struct nvlist * nv,void * ptr) argument
[all...]
H A Dmkheaders.c162 fprintcnt(FILE *fp, struct nvlist *nv) argument
164 const char *name = cntname(nv->nv_name);
166 fprintf(fp, "#define\t%s\t%lld\n", name, nv->nv_num);
167 fprint_global(fp, name, nv->nv_num);
174 struct nvlist *nv; local in function:emitcnt
183 for (nv = head; nv != NULL; nv = nv->nv_next)
184 fprintcnt(fp, nv);
[all...]
/src/bin/ps/
H A Dfmt.c21 char *nv; local in function:fmt_puts
34 nv = realloc(v, nlen);
35 if (nv == 0)
37 v = nv;
/src/tests/net/icmp/
H A Dt_forward.c74 int nv; local in function:sendttl
82 nv = 1;
83 if (rump_sys___sysctl(mib, 4, NULL, NULL, &nv, sizeof(nv)) == -1)
108 int nv; local in function:router
111 nv = 200;
112 if (rump_sys___sysctl(mib, 4, NULL, NULL, &nv, sizeof(nv)) == -1)
/src/sys/external/bsd/libnv/dist/
H A Dnvlist_impl.h41 #include <sys/nv.h>
43 #include "nv.h"
/src/bin/csh/
H A Dglob.c98 globtilde(Char **nv, Char *s) argument
111 blkfree(nv);
130 Char *lm, *pe, *pl, *pm, **nv, **vl; local in function:globbrace
134 nv = vl = xreallocarray(NULL, sizeof(Char *), (size_t)size);
148 blkfree(nv);
161 blkfree(nv);
172 blkfree(nv);
198 if (vl == &nv[size]) {
200 nv = xreallocarray(nv, (size_
216 Char **ex, **nv, *s, **vl; local in function:expbrace
278 Char **ex, **nv, *s, **vl; local in function:globexpand
[all...]
H A Dmisc.c342 Char **nv; local in function:copyblk
344 nv = xcalloc((size_t)(blklen(v) + 1), sizeof(*nv));
346 return (blkcpy(nv, v));
/src/tests/lib/libc/
H A Dt_convfp.c112 double nv; local in function:ATF_TC_BODY
115 nv = 5.6;
116 uv = (unsigned long)nv;
119 "%.3f casted to unsigned long is %lu", nv, uv);
/src/sys/kern/
H A Dsubr_pcq.c181 uint32_t v, nv; local in function:pcq_put
194 nv = pcq_combine(p, c);
195 } while (atomic_cas_32(&pcq->pcq_pc, v, nv) != v);
236 uint32_t v, nv; local in function:pcq_get
261 nv = pcq_combine(p, c);
277 while (__predict_false(atomic_cas_32(&pcq->pcq_pc, v, nv) != v)) {
281 nv = pcq_combine(p, c);
H A Dkern_uidinfo.c61 } nv[] = { local in function:SLIST_HEAD
71 for (size_t i = 0; i < __arraycount(nv); i++)
72 if (strcmp(nv[i].name, rnode->sysctl_name) == 0) {
81 *(u_long *)((char *)uip + nv[i].value);
/src/tests/lib/libc/regex/
H A Dt_regex_att.c198 } nv[]= { local in function:optional
203 for (size_t i = 0; i < __arraycount(nv); i++)
204 if (strcmp(nv[i].n, s) == 0) {
205 if (nv[i].v)
266 } nv[] = { local in function:geterror
297 for (size_t i = 0; i < __arraycount(nv); i++)
298 if (strcmp(s, nv[i].n) == 0) {
299 if (nv[i].ce & COMP)
300 *comp = nv[i].v;
301 if (nv[
[all...]
/src/games/backgammon/common_source/
H A Dfancy.c314 int o, n, nv; local in function:fixpos
321 nv = abs(new);
324 n = (nv - 1) / 5;
332 if (ov > nv)
333 fixcol(r + inc * (nv - n * 5), nc,
334 abs(ov - nv), ' ', inc);
337 abs(ov - nv), col, inc);
343 fixcol(r, c, abs(nv - 5), col,
352 if (nv != 5)
353 fixcol(r + inc * nv,
[all...]
/src/sys/rump/kern/
H A DMakefile.rumpkerncomp6 RUMPKERNCOMPS= crypto nv sysproxy tty z simplehook_tester
/src/common/lib/libprop/
H A Dprop_data.c257 void *nv; variable in typeref:typename:void *
261 nv = _PROP_MALLOC(size, M_PROP_DATA);
262 if (nv == NULL) {
266 memcpy(nv, v, size);
267 pd->pd_mutable = nv;
290 void *nv; local in function:prop_data_create_copy
294 nv = _PROP_MALLOC(size, M_PROP_DATA);
295 if (nv == NULL)
298 memcpy(nv, v, size);
300 nv
[all...]
/src/tests/kernel/
H A Dh_segv.c61 } nv[] = { variable in typeref:struct:__anonfe98ac320108[]
235 for (j = 0; j < __arraycount(nv); j++) {
236 if (strcmp(nv[j].n, argv[i]) == 0) {
237 flags |= nv[j].v;
/src/lib/libc/gen/
H A Dunvis.c83 static const struct nv { struct
86 } nv[] = { variable in typeref:typename:const struct nv[]
200 * Top 8 bits hold the current character in the http 1866 nv string decoding
443 lc = is == 0 ? 0 : nv[ia].name[is - 1]; /* last character */
448 for (; ia < __arraycount(nv); ia++) {
449 if (is != 0 && nv[ia].name[is - 1] != lc)
451 if (nv[ia].name[is] == uc)
455 if (ia == __arraycount(nv))
464 *cp = nv[ia].value;
/src/distrib/common/
H A Dparselist.awk121 for (nv in needvars) {
122 if (! (nv in ENVIRON))
123 errx("Environment variable " nv " not defined");
/src/usr.sbin/makefs/
H A Dmakefs.c507 } nv[] = { variable in typeref:struct:__anonb9e3a5c40208[]
526 for (size_t i = 0; i < __arraycount(nv); i++)
527 fprintf(stderr, "\t0x%8.8x\t%s\n", nv[i].v, nv[i].n);
557 for (i = 0; i < __arraycount(nv); i++)
558 if (strcmp(nv[i].n, a) == 0) {
559 d |= nv[i].v;
562 if (i == __arraycount(nv))
/src/sys/dev/pci/ixgbe/
H A Dixgbe_sriov.h42 #include <sys/nv.h>
/src/usr.sbin/npf/npftest/
H A DMakefile36 PROGDPLIBS+= nv ${NETBSDSRCDIR}/external/bsd/libnv/lib

Completed in 24 milliseconds

123