info 197 bsp/drv/dev/base/kd.c struct meminfo info; info 200 bsp/drv/dev/base/kd.c sysinfo(INFO_MEMORY, &info); info 203 bsp/drv/dev/base/kd.c printf(" Used :%8ld KB\n", (info.total - info.free) / 1024); info 204 bsp/drv/dev/base/kd.c printf(" Free :%8ld KB\n", info.free / 1024); info 205 bsp/drv/dev/base/kd.c printf(" Total :%8ld KB\n", info.total / 1024); info 206 bsp/drv/dev/base/kd.c printf(" Bootdisk :%8ld KB\n", info.bootdisk / 1024); info 214 bsp/drv/dev/cpufreq/cpufreq.c struct timerinfo info; info 221 bsp/drv/dev/cpufreq/cpufreq.c sysinfo(INFO_TIMER, &info); info 222 bsp/drv/dev/cpufreq/cpufreq.c idle_cycles = info.idleticks - last_idleticks; info 223 bsp/drv/dev/cpufreq/cpufreq.c run_cycles = info.cputicks - last_cputicks - idle_cycles; info 242 bsp/drv/dev/cpufreq/cpufreq.c last_cputicks = info.cputicks; info 243 bsp/drv/dev/cpufreq/cpufreq.c last_idleticks = info.idleticks; info 254 bsp/drv/dev/cpufreq/cpufreq.c struct timerinfo info; info 267 bsp/drv/dev/cpufreq/cpufreq.c sysinfo(INFO_TIMER, &info); info 268 bsp/drv/dev/cpufreq/cpufreq.c last_cputicks = info.cputicks; info 269 bsp/drv/dev/cpufreq/cpufreq.c last_idleticks = info.idleticks; info 306 bsp/drv/dev/cpufreq/cpufreq.c struct cpufreqinfo info; info 313 bsp/drv/dev/cpufreq/cpufreq.c sc->ops->getinfo(&info); info 314 bsp/drv/dev/cpufreq/cpufreq.c if (copyout(&info, arg, sizeof(info))) info 439 bsp/drv/dev/cpufreq/est.c est_getinfo(struct cpufreqinfo *info) info 442 bsp/drv/dev/cpufreq/est.c info->maxfreq = maxfreq; info 443 bsp/drv/dev/cpufreq/est.c info->maxvolts = maxvolts; info 444 bsp/drv/dev/cpufreq/est.c info->freq = curfreq; info 445 bsp/drv/dev/cpufreq/est.c info->volts = curvolts; info 39 bsp/drv/include/cpufreq.h void (*getinfo)(struct cpufreqinfo *info); info 517 sys/kern/device.c device_info(struct devinfo *info) info 519 sys/kern/device.c u_long target = info->cookie; info 527 sys/kern/device.c info->cookie = i; info 528 sys/kern/device.c info->id = dev; info 529 sys/kern/device.c info->flags = dev->flags; info 530 sys/kern/device.c strlcpy(info->name, dev->name, MAXDEVNAME); info 225 sys/kern/irq.c irq_info(struct irqinfo *info) info 227 sys/kern/irq.c int vec = info->cookie; info 242 sys/kern/irq.c info->vector = irq->vector; info 243 sys/kern/irq.c info->count = irq->count; info 244 sys/kern/irq.c info->priority = irq->priority; info 245 sys/kern/irq.c info->istreq = irq->istreq; info 246 sys/kern/irq.c info->thread = irq->thread; info 247 sys/kern/irq.c info->cookie = vec + 1; info 439 sys/kern/task.c task_info(struct taskinfo *info) info 441 sys/kern/task.c u_long target = info->cookie; info 451 sys/kern/task.c info->cookie = i; info 452 sys/kern/task.c info->id = task; info 453 sys/kern/task.c info->flags = task->flags; info 454 sys/kern/task.c info->suscnt = task->suscnt; info 455 sys/kern/task.c info->capability = task->capability; info 456 sys/kern/task.c info->vmsize = task->map->total; info 457 sys/kern/task.c info->nthreads = task->nthreads; info 458 sys/kern/task.c info->active = (task == curtask) ? 1 : 0; info 459 sys/kern/task.c strlcpy(info->taskname, task->name, MAXTASKNAME); info 481 sys/kern/thread.c thread_info(struct threadinfo *info) info 483 sys/kern/thread.c u_long target = info->cookie; info 493 sys/kern/thread.c info->cookie = i; info 494 sys/kern/thread.c info->id = t; info 495 sys/kern/thread.c info->state = t->state; info 496 sys/kern/thread.c info->policy = t->policy; info 497 sys/kern/thread.c info->priority = t->priority; info 498 sys/kern/thread.c info->basepri = t->basepri; info 499 sys/kern/thread.c info->time = t->time; info 500 sys/kern/thread.c info->suscnt = t->suscnt; info 501 sys/kern/thread.c info->task = t->task; info 502 sys/kern/thread.c info->active = (t == curthread) ? 1 : 0; info 503 sys/kern/thread.c strlcpy(info->taskname, t->task->name, MAXTASKNAME); info 504 sys/kern/thread.c strlcpy(info->slpevt, t->slpevt ? info 447 sys/kern/timer.c timer_info(struct timerinfo *info) info 450 sys/kern/timer.c info->hz = HZ; info 451 sys/kern/timer.c info->cputicks = lbolt; info 452 sys/kern/timer.c info->idleticks = idle_ticks; info 239 sys/mem/page.c page_info(struct meminfo *info) info 242 sys/mem/page.c info->total = total_size; info 243 sys/mem/page.c info->free = total_size - used_size; info 244 sys/mem/page.c info->bootdisk = bootdisk_size; info 250 sys/mem/page.c info->free -= bootdisk_size; info 740 sys/mem/vm.c vm_info(struct vminfo *info) info 742 sys/mem/vm.c u_long target = info->cookie; info 743 sys/mem/vm.c task_t task = info->task; info 758 sys/mem/vm.c info->cookie = i; info 759 sys/mem/vm.c info->virt = seg->addr; info 760 sys/mem/vm.c info->size = seg->size; info 761 sys/mem/vm.c info->flags = seg->flags; info 762 sys/mem/vm.c info->phys = seg->phys; info 500 sys/mem/vm_nommu.c vm_info(struct vminfo *info) info 502 sys/mem/vm_nommu.c u_long target = info->cookie; info 503 sys/mem/vm_nommu.c task_t task = info->task; info 518 sys/mem/vm_nommu.c info->cookie = i; info 519 sys/mem/vm_nommu.c info->virt = seg->addr; info 520 sys/mem/vm_nommu.c info->size = seg->size; info 521 sys/mem/vm_nommu.c info->flags = seg->flags; info 522 sys/mem/vm_nommu.c info->phys = seg->phys; info 45 usr/bin/free/free.c struct meminfo info; info 47 usr/bin/free/free.c sys_info(INFO_MEMORY, &info); info 50 usr/bin/free/free.c printf("Mem: %10d %10d %10d %10d\n", (u_int)info.total, info 51 usr/bin/free/free.c (u_int)(info.total - info.free), (u_int)info.free, info 52 usr/bin/free/free.c (u_int)info.bootdisk); info 118 usr/bin/sh/cmds.c struct meminfo info; info 120 usr/bin/sh/cmds.c sys_info(INFO_MEMORY, &info); info 123 usr/bin/sh/cmds.c printf("mem = %d\n", (u_int)info.total); info 39 usr/lib/posix/gen/uname.c struct kerninfo info; info 41 usr/lib/posix/gen/uname.c sys_info(INFO_KERNEL, &info); info 42 usr/lib/posix/gen/uname.c memcpy(uts, &info, sizeof(*uts)); info 86 usr/sample/alarm/alarm.c struct timerinfo info; info 91 usr/sample/alarm/alarm.c sys_info(INFO_TIMER, &info); info 92 usr/sample/alarm/alarm.c if (info.hz == 0) info 94 usr/sample/alarm/alarm.c hz = info.hz; info 59 usr/sample/bench/bench.c struct timerinfo info; info 67 usr/sample/bench/bench.c sys_info(INFO_TIMER, &info); info 68 usr/sample/bench/bench.c if (info.hz == 0) info 107 usr/sample/bench/bench.c (int)((end - start) * 1000 / info.hz), info 195 usr/server/fs/devfs/devfs_vnops.c struct devinfo info; info 205 usr/server/fs/devfs/devfs_vnops.c info.cookie = 0; info 207 usr/server/fs/devfs/devfs_vnops.c error = sys_info(INFO_DEVICE, &info); info 210 usr/server/fs/devfs/devfs_vnops.c if (!strncmp(info.name, name, MAXDEVNAME)) info 214 usr/server/fs/devfs/devfs_vnops.c vp->v_type = (info.flags & D_CHR) ? VCHR : VBLK; info 215 usr/server/fs/devfs/devfs_vnops.c if (info.flags & D_TTY) info 218 usr/server/fs/devfs/devfs_vnops.c if (info.flags & D_PROT) info 231 usr/server/fs/devfs/devfs_vnops.c struct devinfo info; info 238 usr/server/fs/devfs/devfs_vnops.c info.cookie = 0; info 240 usr/server/fs/devfs/devfs_vnops.c error = sys_info(INFO_DEVICE, &info); info 246 usr/server/fs/devfs/devfs_vnops.c if (info.flags & D_CHR) info 248 usr/server/fs/devfs/devfs_vnops.c else if (info.flags & D_BLK) info 250 usr/server/fs/devfs/devfs_vnops.c strlcpy((char *)&dir->d_name, info.name, sizeof(dir->d_name)); info 83 usr/test/kmon/cmd.c struct kerninfo info; info 85 usr/test/kmon/cmd.c sys_info(INFO_KERNEL, &info); info 89 usr/test/kmon/cmd.c info.sysname, info.version, info.machine); info 95 usr/test/kmon/cmd.c struct meminfo info; info 97 usr/test/kmon/cmd.c sys_info(INFO_MEMORY, &info); info 101 usr/test/kmon/cmd.c (u_int)((info.total - info.free) / 1024)); info 102 usr/test/kmon/cmd.c printf(" Free : %8d KB\n", (u_int)(info.free / 1024)); info 103 usr/test/kmon/cmd.c printf(" Total : %8d KB\n", (u_int)(info.total / 1024)); info 104 usr/test/kmon/cmd.c printf(" Bootdisk : %8d KB\n", (u_int)(info.bootdisk / 1024));