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

/freebsd-current/lib/libmemstat/
H A Dmemstat_uma.c83 int count, hint_dontsearch, i, j, maxcpus, maxid; local
97 size = sizeof(maxid);
98 if (sysctlbyname("kern.smp.maxid", &maxid, &size, NULL, 0) < 0) {
105 if (size != sizeof(maxid)) {
124 (maxid + 1));
187 uthp->uth_name, maxid + 1);
198 _memstat_mt_reset_stats(mtp, maxid + 1);
/freebsd-current/lib/libutil/
H A Dquotafile.c262 int maxid; local
268 maxid = st.st_size / sizeof(struct dqblk32) - 1;
271 maxid = st.st_size / sizeof(struct dqblk64) - 2;
274 maxid = 0;
277 return (maxid > 0 ? maxid : 0);
521 int serrno, maxid, id, fd; local
536 maxid = quota_maxid(qf);
568 for (id = 0; id <= maxid; id++) {
585 if (id < maxid) {
[all...]
/freebsd-current/usr.bin/vmstat/
H A Dvmstat.c601 int empty, i, j, maxcpu, maxid; local
615 maxid = (size / CPUSTATES / sizeof(long)) - 1;
616 for (i = 0; i <= maxid; i++) {
628 *maxidp = maxid;
640 int maxid, rate_adj, retval; local
645 maxid = 0;
683 getcpuinfo(&cpumask, &maxid);
684 size_cp_times = sizeof(long) * (maxid + 1) * CPUSTATES;
690 printhdr(maxid, cpumask);
739 printhdr(maxid, cpumas
814 printhdr(int maxid, u_long cpumask) argument
1137 pcpustats(u_long cpumask, int maxid) argument
[all...]
/freebsd-current/usr.sbin/repquota/
H A Drepquota.c190 u_long id, maxid; local
213 maxid = quota_maxid(qf);
214 for (id = 0; id <= maxid; id++) {
/freebsd-current/sys/dev/xen/cpu/
H A Dxen_acpi_cpu.c510 unsigned int i, maxid; local
519 maxid = op.u.pcpu_info.max_present;
520 for (i = 0; i <= maxid; i++) {
/freebsd-current/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_subr.c513 int maxid = 0;
514 size_t len = sizeof(maxid);
515 if (sysctlbyname("kern.smp.maxid", &maxid, &len, NULL, 0) != 0)
518 return (cpu <= maxid ? 1 : -1);
/freebsd-current/usr.bin/top/
H A Dmachine.c204 static int maxid; variable
367 maxid = MIN(size / CPUSTATES / sizeof(long) - 1, CPU_SETSIZE - 1);
369 for (i = 0; i <= maxid; i++) {
463 size = (maxid + 1) * CPUSTATES * sizeof(long);
475 for (i = j = 0; i <= maxid; i++) {
/freebsd-current/contrib/bsnmp/gensnmptree/
H A Dgensnmptree.c1307 asn_subid_t maxid = 0; local
1312 if (!first && sub->id <= maxid)
1314 maxid = sub->id;
/freebsd-current/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dctf.c1058 caddr_t ctfdata, int maxid)
1082 * A maxid of zero indicates a request to resurrect all types, so reset
1083 * maxid to the maximum type id.
1085 if (maxid == 0) {
1086 maxid = version == CTF_VERSION_2 ?
1095 if (tid > maxid)
1057 resurrect_types(ctf_header_t *h, tdata_t *td, tdesc_t **tdarr, int tdsize, caddr_t ctfdata, int maxid) argument
/freebsd-current/tools/tools/ath/athprom/
H A Dathprom.c226 token(FILE *fd, char id[], int maxid, const char *what) argument
239 if (i == maxid-1) {
/freebsd-current/sys/kern/
H A Dkern_jail.c2176 int jid, maxid; local
2192 for (maxid = JAIL_MAX; maxid != 0; ) {
2198 maxid = 0;
2201 if (++jid > maxid) {
2202 if (lastprid == maxid || lastprid == 0)
2212 maxid = lastprid;
H A Dsubr_smp.c84 SYSCTL_INT(_kern_smp, OID_AUTO, maxid, CTLFLAG_RD|CTLFLAG_CAPRD, &mp_maxid, 0,

Completed in 159 milliseconds