Home
last modified time | relevance | path

Searched refs:intrcntlen (Results 1 – 1 of 1) sorted by relevance

/freebsd/usr.bin/vmstat/
H A Dvmstat.c1191 size_t intrcntlen; in read_intrcnts() local
1195 kread(X_SINTRCNT, &intrcntlen, sizeof(intrcntlen)); in read_intrcnts()
1196 if ((*intrcnts = malloc(intrcntlen)) == NULL) in read_intrcnts()
1199 kread(X_INTRCNT, *intrcnts, intrcntlen); in read_intrcnts()
1202 kreadptr(kaddr, *intrcnts, intrcntlen); in read_intrcnts()
1205 for (*intrcnts = NULL, intrcntlen = 1024; ; intrcntlen *= 2) { in read_intrcnts()
1206 *intrcnts = reallocf(*intrcnts, intrcntlen); in read_intrcnts()
1209 if (mysysctl("hw.intrcnt", *intrcnts, &intrcntlen) == 0) in read_intrcnts()
1214 return (intrcntlen / sizeof(unsigned long)); in read_intrcnts()