Home
last modified time | relevance | path

Searched refs:namelist (Results 1 – 25 of 46) sorted by relevance

12

/original-bsd/usr.bin/rdist/
H A Ddefs.h84 struct namelist *n_next; argument
91 struct namelist *sc_args;
99 struct namelist *c_files;
135 struct namelist *
136 expand __P((struct namelist *, int));
139 int inlist __P((struct namelist *, char *));
141 struct namelist *, struct namelist *, struct subcmd *));
144 struct namelist *
145 lookup __P((char *, int, struct namelist *));
147 struct namelist *
[all …]
H A Dgram.y17 struct namelist *last_n;
44 struct namelist *namel;
61 | namelist ARROW namelist cmdlist = {
64 | NAME COLON namelist ARROW namelist cmdlist = {
76 namelist: NAME = {
128 | NOTIFY namelist SM = {
133 | EXCEPT namelist SM = {
139 struct namelist *nl;
167 | namelist = {
451 struct namelist *
[all …]
H A Dlookup.c21 struct namelist *s_value;
35 register struct namelist *nl;
36 struct namelist *value;
94 struct namelist *
98 struct namelist *value;
H A Ddocmd.c25 struct namelist *, char *, struct subcmd *));
27 struct namelist *, char *, struct subcmd *));
41 register struct namelist *f;
93 struct namelist *files;
97 register struct namelist *f;
313 struct namelist *files;
318 register struct namelist *f;
472 register struct namelist *to;
549 struct namelist *list; in inlist()
552 register struct namelist *nl;
[all …]
H A Dmain.c212 register struct namelist *nl, *prev;
214 struct namelist *files, *hosts;
217 static struct namelist tnl = { NULL, NULL };
265 register struct namelist *nl; in prnames()
/original-bsd/usr.bin/systat/
H A Dmain.c26 static struct nlist namelist[] = { variable
82 if (kvm_nlist(kd, namelist)) {
83 nlisterr(namelist);
86 if (namelist[X_FIRST].n_type == 0) {
243 nlisterr(namelist) in nlisterr() argument
244 struct nlist namelist[]; in nlisterr()
252 namelist[i].n_name != NULL && *namelist[i].n_name != '\0'; i++)
253 if (namelist[i].n_value == 0)
254 mvprintw(2 + ++n, 10, "%s", namelist[i].n_name);
H A Dmbufs.c107 static struct nlist namelist[] = { variable
116 if (namelist[X_MBSTAT].n_type == 0) { in initmbufs()
117 if (kvm_nlist(kd, namelist)) { in initmbufs()
118 nlisterr(namelist); in initmbufs()
121 if (namelist[X_MBSTAT].n_type == 0) { in initmbufs()
134 if (namelist[X_MBSTAT].n_type == 0) in fetchmbufs()
H A Dpigs.c111 static struct nlist namelist[] = { variable
128 if (namelist[X_FIRST].n_type == 0) { in initpigs()
129 if (kvm_nlist(kd, namelist)) { in initpigs()
130 nlisterr(namelist); in initpigs()
133 if (namelist[X_FIRST].n_type == 0) { in initpigs()
158 if (namelist[X_FIRST].n_type == 0) in fetchpigs()
H A Ddisks.c26 static struct nlist namelist[] = { variable
73 if (kvm_nlist(kd, namelist)) { in dkinit()
74 nlisterr(namelist); in dkinit()
77 if (namelist[X_DK_NDRIVE].n_value == 0) { in dkinit()
H A Diostat.c23 static struct nlist namelist[] = { variable
90 if (namelist[X_DK_BUSY].n_type == 0) { in initiostat()
91 if (kvm_nlist(kd, namelist)) { in initiostat()
92 nlisterr(namelist); in initiostat()
95 if (namelist[X_DK_BUSY].n_type == 0) { in initiostat()
118 if (namelist[X_DK_BUSY].n_type == 0) in fetchiostat()
135 if (namelist[X_DK_BUSY].n_type == 0) { in labeliostat()
220 if (namelist[X_DK_BUSY].n_type == 0) in showiostat()
/original-bsd/usr.bin/at/atq/
H A Datq.c74 char **namelist = &nullentry; /* array of specific name(s) requested*/ local
104 namelist = argv;
143 printf("%d\n",(namewanted) ? countfiles(namelist) : numentries);
146 if ((namewanted) && (countfiles(namelist) == 0)) {
151 printqueue(namelist);
158 countfiles(namelist) in countfiles() argument
159 char **namelist; in countfiles()
175 ptr = namelist;
193 printqueue(namelist) in printqueue() argument
194 char **namelist; in printqueue()
[all …]
/original-bsd/usr.sbin/sysctl/
H A Dpathconf.c171 findname(string, level, bufp, namelist) in findname() argument
175 struct list *namelist;
180 if (namelist->list == 0 || (name = strsep(bufp, ".")) == NULL) {
184 for (i = 0; i < namelist->size; i++)
185 if (namelist->list[i].ctl_name != NULL &&
186 strcmp(name, namelist->list[i].ctl_name) == 0)
188 if (i == namelist->size) {
H A Dsysctl.c586 findname(string, level, bufp, namelist) in findname() argument
590 struct list *namelist;
595 if (namelist->list == 0 || (name = strsep(bufp, ".")) == NULL) {
599 for (i = 0; i < namelist->size; i++)
600 if (namelist->list[i].ctl_name != NULL &&
601 strcmp(name, namelist->list[i].ctl_name) == 0)
603 if (i == namelist->size) {
/original-bsd/usr.bin/f77/libI77/test/
H A Dnmlist.f20 namelist /nml/ key, ii, ivec, l1, l2, lvec
33 namelist /nmc/ key, ch, chvec, str, strv
48 namelist /nmrd/ key, r,d, rvec, darr
62 namelist /nmcmp/ key, c,cvec,z,zvec
/original-bsd/usr.sbin/iostat/
H A Diostat.c35 struct nlist namelist[] = { variable
97 kvm_read(kd, namelist[x].n_value, &(v), sizeof(v))
152 if (kvm_nlist(kd, namelist) == -1)
154 if (namelist[X_DK_NDRIVE].n_type == 0)
246 (void)kvm_read(kd, namelist[X_DK_TIME].n_value,
248 (void)kvm_read(kd, namelist[X_DK_XFER].n_value,
250 (void)kvm_read(kd, namelist[X_DK_WDS].n_value,
252 (void)kvm_read(kd, namelist[X_DK_SEEK].n_value,
254 (void)kvm_read(kd, namelist[X_TK_NIN].n_value,
256 (void)kvm_read(kd, namelist[X_TK_NOUT].n_value,
[all …]
/original-bsd/usr.bin/at/atrm/
H A Datrm.c65 struct direct **namelist; /* names of jobs in spooling area */ local
131 if ((numjobs = scandir(".",&namelist,filewanted,alphasort)) < 0) {
146 if (stat(namelist[i]->d_name,statptr) < 0) {
161 owner = fowner(namelist[i]->d_name);
163 removentry(namelist[i]->d_name,
195 owner = fowner(namelist[i]->d_name);
215 removentry(namelist[i]->d_name,
/original-bsd/old/htable/
H A Dscan.l43 yylval.namelist = newname(yytext);
48 yylval.namelist = newname(yytext);
55 yylval.namelist = newname(yytext);
H A Dhtable.c185 struct name *namelist, *cputype, *opsys, *protos;
195 nl = namelist;
234 gw = savegateway(namelist, net,
257 printgateway(net, namelist->name_val, 1);
258 (void) savegateway(namelist, net, al->addr_val, 1);
265 for (nl = namelist; nl; nl = nl->name_link) {
281 for (nl = namelist; nl; nl = nl->name_link) {
295 freenames(namelist);
496 savegateway(namelist, net, addr, metric) in savegateway() argument
497 struct name *namelist; in savegateway()
[all …]
H A Dparse.y20 struct name *namelist; member
26 %token <namelist> NAME
28 %type <namelist> Names Cputype Opsys Protos Proto
/original-bsd/usr.bin/vmstat/
H A Dnames.c34 hp = namelist[X_HPDINIT].n_value; in read_names()
71 up = (struct vba_device *)namelist[X_VBDINIT].n_value; in read_names()
111 mp = namelist[X_MBDINIT].n_value; in read_names()
112 up = namelist[X_UBDINIT].n_value; in read_names()
160 mp = (struct mb_device *)namelist[X_MBDINIT].n_value; in read_names()
196 sp = namelist[X_SCSI_DINIT].n_value; in read_names()
H A Dvmstat.c44 struct nlist namelist[] = { variable
213 if ((c = kvm_nlist(kd, namelist)) != 0) {
218 c < sizeof(namelist)/sizeof(namelist[0]); c++)
219 if (namelist[c].n_type == 0)
221 namelist[c].n_name);
375 if (namelist[X_STATHZ].n_type != 0 && namelist[X_STATHZ].n_value != 0)
691 nintr = namelist[X_EINTRCNT].n_value - namelist[X_INTRCNT].n_value; in dointr()
693 namelist[X_EINTRNAMES].n_value - namelist[X_INTRNAMES].n_value; in dointr()
821 if (namelist[nlx].n_type == 0 || namelist[nlx].n_value == 0) {
822 sym = namelist[nlx].n_name;
[all …]
/original-bsd/lib/libc/gen/
H A Dscandir.c37 scandir(dirname, namelist, select, dcomp) in scandir() argument
39 struct dirent ***namelist;
95 *namelist = names;
/original-bsd/old/make/
H A Dgram.y14 %type <ynameblock> NAME, namelist
40 | START namelist deplist shellist = {
78 namelist: NAME = { lefts[0] = $1; nlefts = 1; }
79 | namelist NAME = { lefts[nlefts++] = $2;
/original-bsd/usr.bin/f77/libI77/
H A Dwsnmle.c32 nmlist_nm = a->namelist->namelistname;
51 entries = a->namelist->names;
/original-bsd/usr.bin/mail/
H A Dlist.c95 char *namelist[NMLSIZE], *bufp; local
104 np = &namelist[0];
232 if ((np > namelist || colmod != 0) && mc == 0)
242 if (np > namelist) {
244 for (mc = 0, np = &namelist[0]; *np != NOSTR; np++)
273 namelist[0]);
274 for (np = &namelist[1]; *np != NOSTR; np++)

12