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

  /src/external/bsd/top/dist/machine/
m_hpux10.c 105 static struct nlist nlst[] = { variable in typeref:struct:nlist
259 (nlist (VMUNIX, nlst)) < 0 ||
260 (nlst[X_MPID].n_type) == 0)
263 mpid_offset = nlst[X_MPID].n_value;
m_hpux7.c 114 static struct nlist nlst[] = { variable in typeref:struct:nlist
280 for (i = 0; nlst[i].n_name; nlst[i++].n_name++)
285 (void) nlist(VMUNIX, nlst);
286 if (nlst[0].n_type == 0)
293 if (i > 0 && check_nlist(nlst) > 0)
299 (void) getkval(nlst[X_PROC].n_value, (int *)(&proc), sizeof(proc),
300 nlst[X_PROC].n_name);
301 (void) getkval(nlst[X_NPROC].n_value, &nproc, sizeof(nproc),
302 nlst[X_NPROC].n_name)
    [all...]
m_hpux8.c 133 static struct nlist nlst[] = { variable in typeref:struct:nlist
258 for (i = 0; nlst[i].n_name; nlst[i++].n_name++)
263 (void) nlist(VMUNIX, nlst);
264 if (nlst[0].n_type == 0)
271 if (check_nlist(nlst) > 0)
277 (void) getkval(nlst[X_PROC].n_value, (int *)(&proc), sizeof(proc),
278 nlst[X_PROC].n_name);
279 (void) getkval(nlst[X_NPROC].n_value, &nproc, sizeof(nproc),
280 nlst[X_NPROC].n_name)
    [all...]
m_hpux9.c 146 static struct nlist nlst[] = { variable in typeref:struct:nlist
270 for (i = 0; nlst[i].n_name; nlst[i++].n_name++)
275 (void) nlist(VMUNIX, nlst);
276 if (nlst[0].n_type == 0)
283 if (check_nlist(nlst) > 0)
289 (void) getkval(nlst[X_PROC].n_value, (int *)(&proc), sizeof(proc),
290 nlst[X_PROC].n_name);
291 (void) getkval(nlst[X_NPROC].n_value, &nproc, sizeof(nproc),
292 nlst[X_NPROC].n_name)
    [all...]
m_irix5.c 161 static struct nlist nlst[] = { variable in typeref:struct:nlist
223 (void) nlist(UNIX, nlst);
224 if (nlst[0].n_type == 0) {
230 if (check_nlist(nlst) > 0) {
233 avenrun_offset = nlst[X_AVENRUN].n_value;
234 nproc_offset = nlst[X_NPROC].n_value;
235 freemem_offset = nlst[X_FREEMEM].n_value;
236 maxmem_offset = nlst[X_MAXMEM].n_value;
237 availrmem_offset = nlst[X_AVAILRMEM].n_value;
239 mpid_offset = nlst[X_MPID].n_value
    [all...]
m_sunos4.c 132 static struct nlist nlst[] = { variable in typeref:struct:nlist
306 if ((i = kvm_nlist(kd, nlst)) < 0)
314 if (i > 0 && nlst[X_NCPU].n_type == 0 && nlst[X_XP_TIME].n_type == 0)
333 if (i > 0 && check_nlist(nlst) > 0)
339 (void) getkval(nlst[X_PROC].n_value, (int *)(&proc), sizeof(proc),
340 nlst[X_PROC].n_name);
341 (void) getkval(nlst[X_NPROC].n_value, &nproc, sizeof(nproc),
342 nlst[X_NPROC].n_name);
343 (void) getkval(nlst[X_CCPU].n_value, (int *)(&ccpu), sizeof(ccpu)
    [all...]
m_svr4.c 120 static struct nlist nlst[] = variable in typeref:struct:nlist
212 if (nlist (UNIX, nlst))
219 if (check_nlist (nlst) > 0)
231 (void) getkval (nlst[X_V].n_value, &v, sizeof (struct var), nlst[X_V].n_name);
235 mpid_offset = nlst[X_MPID].n_value;
236 nproc_offset = nlst[X_NPROC].n_value;
237 avenrun_offset = nlst[X_AVENRUN].n_value;
238 anoninfo_offset = nlst[X_ANONINFO].n_value;
239 total_offset = nlst[X_TOTAL].n_value
    [all...]
m_aix43.c 100 static struct nlist nlst[] = { variable in typeref:struct:nlist
240 if (knlist(nlst, 5, sizeof(struct nlist)) != 0) {
244 avenrun_offset = nlst[X_AVENRUN].n_value;
245 sysinfo_offset = nlst[X_SYSINFO].n_value;
246 vmker_offset = nlst[X_VMKER].n_value;
247 proc_offset = nlst[X_PROC].n_value;
248 v_offset = nlst[X_V].n_value;
m_aix5.c 105 static struct nlist nlst[] = { variable in typeref:struct:nlist
256 if (knlist(nlst, 4, sizeof(struct nlist)) != 0) {
260 avenrun_offset = nlst[X_AVENRUN].n_value;
261 sysinfo_offset = nlst[X_SYSINFO].n_value;
262 vmker_offset = nlst[X_VMKER].n_value;
263 v_offset = nlst[X_V].n_value;
m_decosf1.c 133 static struct nlist nlst[] = { variable in typeref:struct:nlist
298 if (nlist(VMUNIX, nlst) == -1)
304 if (nlst[X_MPID].n_type == 0)
312 mpid_offset = nlst[X_MPID].n_value;
m_macosx.c 284 static struct nlist nlst[] = variable in typeref:struct:nlist
m_sco5.c 127 static struct nlist nlst[] = { variable in typeref:struct:nlist
244 if (nlist(VMUNIX, nlst) == -1) {
250 if (check_nlist(nlst) > 0)
254 proca = nlst[X_PROC].n_value;
257 (void) getkval(nlst[X_CUR_CPU].n_value, (int *)(&cur_cpu), sizeof(cur_cpu),
258 nlst[X_CUR_CPU].n_name);
259 (void) getkval(nlst[X_HZ].n_value, (int *)(&Hz), sizeof(Hz),
260 nlst[X_HZ].n_name);
261 (void) getkval(nlst[X_V].n_value, (int *)(&v), sizeof(v),
262 nlst[X_V].n_name)
    [all...]
m_svr5.c 119 static struct nlist nlst[] = variable in typeref:struct:nlist
245 if (nlist (UNIX, nlst))
252 if (check_nlist (nlst) > 0)
265 (void) getkval (nlst[X_V].n_value, &v, sizeof (struct var), nlst[X_V].n_name);
270 mpid_offset = nlst[X_MPID].n_value;
271 avenrun_offset = nlst[X_AVENRUN].n_value;
533 * check_nlist(nlst) - checks the nlist to see if any symbols were not
539 check_nlist (register struct nlist *nlst)
547 while (nlst->n_name != NULL
    [all...]
m_sunos5.c 168 static struct nlist nlst[] = variable in typeref:struct:nlist
674 * check_nlist(nlst) - checks the nlist to see if any symbols were not
680 check_nlist (register struct nlist *nlst)
688 while (nlst->n_name != NULL)
690 if (nlst->n_type == 0)
693 fprintf (stderr, "kernel: no symbol named `%s'\n", nlst->n_name);
696 nlst++;
907 (void) getkval(nlst[X_NCPUS].n_value, (int *)(&ret), sizeof(ret), "ncpus");
1256 if (kvm_nlist (kd, nlst) < 0)
1261 if (check_nlist (nlst) != 0
    [all...]
  /src/external/gpl3/gcc/dist/gcc/c/
c-decl.cc 1842 const unsigned nlst = ARRAY_SIZE (last_structptr_types);
1845 gcc_checking_assert (nlst == nbst);
1829 const unsigned nlst = ARRAY_SIZE (last_structptr_types); local
  /src/external/gpl3/gcc.old/dist/gcc/c/
c-decl.cc 1724 const unsigned nlst
1729 gcc_checking_assert (nlst == nbst);
1711 const unsigned nlst local

Completed in 76 milliseconds