Searched refs:maxid (Results 1 - 10 of 10) sorted by relevance
/freebsd-10.1-release/lib/libmemstat/ |
H A D | memstat_uma.c | 81 int count, hint_dontsearch, i, j, maxcpus, maxid; local 95 size = sizeof(maxid); 96 if (sysctlbyname("kern.smp.maxid", &maxid, &size, NULL, 0) < 0) { 103 if (size != sizeof(maxid)) { 122 (maxid + 1)); 185 uthp->uth_name, maxid + 1); 196 _memstat_mt_reset_stats(mtp, maxid + 1);
|
/freebsd-10.1-release/lib/libutil/ |
H A D | quotafile.c | 252 int maxid; local 258 maxid = st.st_size / sizeof(struct dqblk32) - 1; 261 maxid = st.st_size / sizeof(struct dqblk64) - 2; 264 maxid = 0; 267 return (maxid > 0 ? maxid : 0); 511 int serrno, maxid, id, fd; local 526 maxid = quota_maxid(qf); 558 for (id = 0; id <= maxid; id++) { 575 if (id < maxid) { [all...] |
/freebsd-10.1-release/usr.bin/vmstat/ |
H A D | vmstat.c | 579 int maxid; local 600 maxid = (size / CPUSTATES / sizeof(long)) - 1; 601 for (i = 0; i <= maxid; i++) { 615 *maxidp = maxid; 646 int ncpus, maxid; local 654 maxid = 0; 693 ncpus = getcpuinfo(&cpumask, &maxid); 694 size_cp_times = sizeof(long) * (maxid + 1) * CPUSTATES; 700 printhdr(maxid, cpumask); 751 printhdr(maxid, cpumas 820 printhdr(int maxid, u_long cpumask) argument 1107 pcpustats(int ncpus, u_long cpumask, int maxid) argument [all...] |
/freebsd-10.1-release/usr.sbin/repquota/ |
H A D | repquota.c | 202 u_long id, maxid; local 225 maxid = quota_maxid(qf); 226 for (id = 0; id <= maxid; id++) {
|
/freebsd-10.1-release/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_subr.c | 512 int maxid = 0; 513 size_t len = sizeof(maxid); 514 if (sysctlbyname("kern.smp.maxid", &maxid, &len, NULL, 0) != 0) 517 return (cpu <= maxid ? 1 : -1);
|
/freebsd-10.1-release/usr.bin/top/ |
H A D | machine.c | 237 static int maxid; variable 370 maxid = (size / CPUSTATES / sizeof(long)) - 1; 371 for (i = 0; i <= maxid; i++) { 449 size = (maxid + 1) * CPUSTATES * sizeof(long); 461 for (i = j = 0; i <= maxid; i++) {
|
/freebsd-10.1-release/cddl/contrib/opensolaris/tools/ctf/cvt/ |
H A D | ctf.c | 1009 caddr_t ctfdata, int maxid) 1034 * A maxid of zero indicates a request to resurrect all types, so reset 1035 * maxid to the maximum type id. 1037 if (maxid == 0) 1038 maxid = CTF_MAX_TYPE; 1041 if (tid > maxid) 1008 resurrect_types(ctf_header_t *h, tdata_t *td, tdesc_t **tdarr, int tdsize, caddr_t ctfdata, int maxid) argument
|
/freebsd-10.1-release/contrib/bsnmp/gensnmptree/ |
H A D | gensnmptree.c | 1256 asn_subid_t maxid = 0; local 1261 if (!first && sub->id <= maxid) 1263 maxid = sub->id;
|
/freebsd-10.1-release/tools/tools/ath/athprom/ |
H A D | athprom.c | 227 token(FILE *fd, char id[], int maxid, const char *what) argument 240 if (i == maxid-1) {
|
/freebsd-10.1-release/sys/kern/ |
H A D | subr_smp.c | 78 SYSCTL_INT(_kern_smp, OID_AUTO, maxid, CTLFLAG_RD|CTLFLAG_CAPRD, &mp_maxid, 0,
|
Completed in 135 milliseconds