/freebsd-12-stable/lib/libmemstat/ |
H A D | memstat_uma.c | 82 int count, hint_dontsearch, i, j, maxcpus, maxid; local 96 size = sizeof(maxid); 97 if (sysctlbyname("kern.smp.maxid", &maxid, &size, NULL, 0) < 0) { 104 if (size != sizeof(maxid)) { 123 (maxid + 1)); 186 uthp->uth_name, maxid + 1); 197 _memstat_mt_reset_stats(mtp, maxid + 1);
|
/freebsd-12-stable/lib/libutil/ |
H A D | quotafile.c | 264 int maxid; local 270 maxid = st.st_size / sizeof(struct dqblk32) - 1; 273 maxid = st.st_size / sizeof(struct dqblk64) - 2; 276 maxid = 0; 279 return (maxid > 0 ? maxid : 0); 523 int serrno, maxid, id, fd; local 538 maxid = quota_maxid(qf); 570 for (id = 0; id <= maxid; id++) { 587 if (id < maxid) { [all...] |
/freebsd-12-stable/usr.bin/vmstat/ |
H A D | vmstat.c | 613 int empty, i, j, maxcpu, maxid, ncpus; local 628 maxid = (size / CPUSTATES / sizeof(long)) - 1; 629 for (i = 0; i <= maxid; i++) { 643 *maxidp = maxid; 674 int ncpus, maxid, rate_adj, retval; local 680 maxid = 0; 718 ncpus = getcpuinfo(&cpumask, &maxid); 719 size_cp_times = sizeof(long) * (maxid + 1) * CPUSTATES; 725 printhdr(maxid, cpumask); 774 printhdr(maxid, cpumas 864 printhdr(int maxid, u_long cpumask) argument 1202 pcpustats(u_long cpumask, int maxid) argument [all...] |
/freebsd-12-stable/usr.sbin/repquota/ |
H A D | repquota.c | 204 u_long id, maxid; local 227 maxid = quota_maxid(qf); 228 for (id = 0; id <= maxid; id++) {
|
/freebsd-12-stable/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-12-stable/usr.bin/top/ |
H A D | machine.c | 205 static int maxid; variable 355 maxid = (size / CPUSTATES / sizeof(long)) - 1; 356 for (i = 0; i <= maxid; i++) { 445 size = (maxid + 1) * CPUSTATES * sizeof(long); 457 for (i = j = 0; i <= maxid; i++) {
|
/freebsd-12-stable/cddl/contrib/opensolaris/tools/ctf/cvt/ |
H A D | ctf.c | 1005 caddr_t ctfdata, int maxid) 1030 * A maxid of zero indicates a request to resurrect all types, so reset 1031 * maxid to the maximum type id. 1033 if (maxid == 0) 1034 maxid = CTF_MAX_TYPE; 1037 if (tid > maxid) 1004 resurrect_types(ctf_header_t *h, tdata_t *td, tdesc_t **tdarr, int tdsize, caddr_t ctfdata, int maxid) argument
|
/freebsd-12-stable/contrib/bsnmp/gensnmptree/ |
H A D | gensnmptree.c | 1307 asn_subid_t maxid = 0; local 1312 if (!first && sub->id <= maxid) 1314 maxid = sub->id;
|
/freebsd-12-stable/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-12-stable/sys/kern/ |
H A D | subr_smp.c | 82 SYSCTL_INT(_kern_smp, OID_AUTO, maxid, CTLFLAG_RD|CTLFLAG_CAPRD, &mp_maxid, 0,
|