Lines Matching refs:len
252 size_t len;
260 len = 0;
261 if (sysctl(name, 4, 0, &len, 0, 0) < 0) {
265 if (len > sizeof curstat.i) {
269 if (sysctl(name, 4, &initstat.i, &len, 0, 0) < 0) {
276 len = 0;
277 if (sysctl(name, 4, 0, &len, 0, 0) < 0) {
281 if (len > sizeof curstat.u) {
285 if (sysctl(name, 4, &initstat.u, &len, 0, 0) < 0) {
296 size_t len;
304 len = sizeof initstat.i;
305 if (sysctl(name, 4, &initstat.i, &len, 0, 0) < 0) {
311 len = sizeof initstat.u;
312 if (sysctl(name, 4, &initstat.u, &len, 0, 0) < 0) {
322 size_t len;
329 len = sizeof curstat.i;
331 if (sysctl(name, 4, &curstat.i, &len, 0, 0) < 0)
335 len = sizeof curstat.u;
337 if (sysctl(name, 4, &curstat.u, &len, 0, 0) < 0)