HomeSort by: relevance | last modified time | path
    Searched defs:nhosts (Results 1 - 6 of 6) sorted by relevancy

  /src/tests/lib/libpthread/
h_resolv.c 47 #define NHOSTS 100
67 "Usage: %s [-d] [-h <nhosts>] [-n <nthreads>] <file> ...\n",
124 int *nhosts = (int *)p; local in function:resolvloop
125 if (*nhosts == 0)
128 resolvone(*nhosts);
129 while (--(*nhosts));
134 run(int *nhosts)
137 if (pthread_create(&self, NULL, resolvloop, nhosts) != 0)
147 int nhosts = NHOSTS; local in function:main
    [all...]
  /src/usr.bin/rwho/
rwho.c 86 size_t width, n, i, nhosts, nusers, namount; local in function:main
91 aflg = nusers = nhosts = qflg = hflg = 0;
142 nhosts++;
172 if (nhosts == 0)
  /src/usr.bin/systat/
netcmds.c 74 int nports, nhosts, protos; variable in typeref:typename:int
303 nhosts = 0;
306 for (p = hosts; p < hosts+nhosts; p++)
313 if (reallocarr(&hosts, nhosts + 1, sizeof(*p)) != 0) {
317 p = &hosts[nhosts++];
330 for (p = hosts; p < hosts+nhosts; p++) {
349 for (p = hosts; p < hosts+nhosts; p++) {
374 for (p = hosts; p < hosts+nhosts; p++) {
  /src/usr.bin/ruptime/
ruptime.c 67 static size_t nhosts; variable in typeref:typename:size_t
124 for (nhosts = hspace = 0; (dp = readdir(dirp)) != NULL;) {
136 if (nhosts == hspace) {
140 hsp = hs + nhosts;
156 ++nhosts;
158 if (nhosts == 0)
162 qsort(hs, nhosts, sizeof (hs[0]), cmp);
163 for (i = 0; i < nhosts; i++) {
  /src/usr.sbin/rpcbind/
rpcbind.c 113 static int nhosts = 0; variable in typeref:typename:int
369 nhostsbak = nhosts + 1;
750 if (nhosts == 0)
752 bound_sa = calloc(nhosts, sizeof(*bound_sa));
757 for (i = 0; i < nhosts; i++) {
779 * If nhosts == 0, then there were no -h options on the
783 if (nhosts == 0)
785 for (i = 0; i < nhosts; i++) {
902 ++nhosts;
903 if (reallocarr(&hosts, nhosts, sizeof(*hosts)) != 0
    [all...]
  /src/usr.sbin/bootp/common/
readfile.c 146 PRIVATE int nhosts; /* Number of hosts (/w hw or IP address) */
380 nhosts = 0;
428 nhosts++;
473 nentries, nhosts, bootptab);
145 PRIVATE int nhosts; \/* Number of hosts (\/w hw or IP address) *\/ variable in typeref:typename:PRIVATE int

Completed in 38 milliseconds