Lines Matching refs:bytes
107 #define bytetok(bytes) ((bytes) >> 10)
199 static int bytes;
268 bytes = v.v_proc * sizeof(struct proc);
269 pbase = (struct proc *)malloc(bytes);
441 memory_stats[0] = bytetok(ctob(memory_stats[0])); /* clicks -> bytes
443 memory_stats[1] = bytetok(ctob(memory_stats[1])); /* clicks -> bytes
445 memory_stats[2] = bytetok(ctob(memory_stats[2])); /* clicks -> bytes
447 memory_stats[3] = bytetok(memory_stats[3] * NBPP); /* # bytes per page
449 memory_stats[4] = bytetok(memory_stats[4] * NBPP); /* # bytes per page
451 memory_stats[5] = bytetok(memory_stats[5] * NBPSCTR);/* # bytes per sector
488 (void) getkval(proca, (int *)pbase, bytes, "proc array");