Lines Matching defs:ls
751 getinfo(struct Info *ls)
757 GETSYSCTL("kern.cp_time", ls->time);
759 GETSYSCTL("vm.stats.sys.v_swtch", ls->v_swtch);
760 GETSYSCTL("vm.stats.sys.v_trap", ls->v_trap);
761 GETSYSCTL("vm.stats.sys.v_syscall", ls->v_syscall);
762 GETSYSCTL("vm.stats.sys.v_intr", ls->v_intr);
763 GETSYSCTL("vm.stats.sys.v_soft", ls->v_soft);
764 GETSYSCTL("vm.stats.vm.v_vm_faults", ls->v_vm_faults);
765 GETSYSCTL("vm.stats.vm.v_io_faults", ls->v_io_faults);
766 GETSYSCTL("vm.stats.vm.v_cow_faults", ls->v_cow_faults);
767 GETSYSCTL("vm.stats.vm.v_zfod", ls->v_zfod);
768 GETSYSCTL("vm.stats.vm.v_ozfod", ls->v_ozfod);
769 GETSYSCTL("vm.stats.vm.v_swapin", ls->v_swapin);
770 GETSYSCTL("vm.stats.vm.v_swapout", ls->v_swapout);
771 GETSYSCTL("vm.stats.vm.v_swappgsin", ls->v_swappgsin);
772 GETSYSCTL("vm.stats.vm.v_swappgsout", ls->v_swappgsout);
773 GETSYSCTL("vm.stats.vm.v_vnodein", ls->v_vnodein);
774 GETSYSCTL("vm.stats.vm.v_vnodeout", ls->v_vnodeout);
775 GETSYSCTL("vm.stats.vm.v_vnodepgsin", ls->v_vnodepgsin);
776 GETSYSCTL("vm.stats.vm.v_vnodepgsout", ls->v_vnodepgsout);
777 GETSYSCTL("vm.stats.vm.v_intrans", ls->v_intrans);
778 GETSYSCTL("vm.stats.vm.v_reactivated", ls->v_reactivated);
779 GETSYSCTL("vm.stats.vm.v_pdwakeups", ls->v_pdwakeups);
780 GETSYSCTL("vm.stats.vm.v_pdpages", ls->v_pdpages);
781 GETSYSCTL("vm.stats.vm.v_dfree", ls->v_dfree);
782 GETSYSCTL("vm.stats.vm.v_pfree", ls->v_pfree);
783 GETSYSCTL("vm.stats.vm.v_tfree", ls->v_tfree);
784 GETSYSCTL("vm.stats.vm.v_page_size", ls->v_page_size);
785 GETSYSCTL("vm.stats.vm.v_free_count", ls->v_free_count);
786 GETSYSCTL("vm.stats.vm.v_wire_count", ls->v_wire_count);
787 GETSYSCTL("vm.stats.vm.v_active_count", ls->v_active_count);
788 GETSYSCTL("vm.stats.vm.v_inactive_count", ls->v_inactive_count);
789 GETSYSCTL("vm.stats.vm.v_cache_count", ls->v_cache_count);
790 GETSYSCTL("vfs.bufspace", ls->bufspace);
791 GETSYSCTL("kern.maxvnodes", ls->desiredvnodes);
792 GETSYSCTL("vfs.numvnodes", ls->numvnodes);
793 GETSYSCTL("vfs.freevnodes", ls->freevnodes);
794 GETSYSCTL("vfs.cache.nchstats", ls->nchstats);
795 GETSYSCTL("vfs.numdirtybuffers", ls->numdirtybuffers);
796 getsysctl("hw.intrcnt", ls->intrcnt, nintr * sizeof(u_long));
798 size = sizeof(ls->Total);
801 if (sysctl(mib, 2, &ls->Total, &size, NULL, 0) < 0) {
803 bzero(&ls->Total, sizeof(ls->Total));
830 allocinfo(struct Info *ls)
833 ls->intrcnt = (long *) calloc(nintr, sizeof(long));
834 if (ls->intrcnt == NULL)