Searched refs:maxid (Results 1 - 10 of 10) sorted by relevance

/freebsd-12-stable/lib/libmemstat/
H A Dmemstat_uma.c82 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 Dquotafile.c264 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 Dvmstat.c613 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 Drepquota.c204 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 Ddt_subr.c512 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 Dmachine.c205 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 Dctf.c1005 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 Dgensnmptree.c1307 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 Dathprom.c227 token(FILE *fd, char id[], int maxid, const char *what) argument
240 if (i == maxid-1) {
/freebsd-12-stable/sys/kern/
H A Dsubr_smp.c82 SYSCTL_INT(_kern_smp, OID_AUTO, maxid, CTLFLAG_RD|CTLFLAG_CAPRD, &mp_maxid, 0,

Completed in 263 milliseconds