Fork me on GitHub
kstat             296 drivers/char/memdev.c 	physical_memory = (kstat.physical_pages << PAGE_SHIFT);
kstat             310 drivers/char/memdev.c 	physical_memory = (kstat.physical_pages << PAGE_SHIFT);
kstat             339 drivers/char/memdev.c 	physical_memory = P2V((kstat.physical_pages << PAGE_SHIFT));
kstat             353 drivers/char/memdev.c 	physical_memory = P2V((kstat.physical_pages << PAGE_SHIFT));
kstat             434 drivers/char/memdev.c 		kstat.random_seed = kstat.random_seed * 1103515245 + 12345;
kstat             435 drivers/char/memdev.c 		*buffer = (char)(unsigned int)(kstat.random_seed / 65536) % 256;
kstat             551 drivers/char/tty.c 				unsigned int ini_ticks = kstat.ticks;
kstat             558 drivers/char/tty.c 					while(kstat.ticks - ini_ticks < timeout && !tty->cooked_q.count) {
kstat             105 fs/buffer.c    	kstat.dirty += (PAGE_SIZE / 1024);
kstat             121 fs/buffer.c    	kstat.dirty -= (PAGE_SIZE / 1024);
kstat             291 fs/buffer.c    				kstat.buffers += (PAGE_SIZE / 1024);
kstat             442 fs/buffer.c    			kstat.buffers -= (PAGE_SIZE / 1024);
kstat             107 fs/inode.c     	kstat.free_inodes++;
kstat             112 fs/inode.c     	if(!kstat.free_inodes) {
kstat             118 fs/inode.c     	kstat.free_inodes--;
kstat             123 fs/inode.c     	if(!kstat.free_inodes) {
kstat             134 fs/inode.c     	if(!kstat.free_inodes) {
kstat             302 fs/inode.c     			printk("WARNING: %s(): no more inodes on free list! (%d).\n", __FUNCTION__, kstat.free_inodes);
kstat             170 fs/procfs/data.c 	size += sprintk(buffer + size, "SPU: %9u %s\n", kstat.sirqs, "Spurious interrupts");
kstat             221 fs/procfs/data.c 	kstat.shared = 0;
kstat             222 fs/procfs/data.c 	for(n = 0; n < kstat.physical_pages; n++) {
kstat             230 fs/procfs/data.c 		kstat.shared += pg->count - 1;
kstat             235 fs/procfs/data.c 	size += sprintk(buffer + size, "Mem:  %8u %8u %8u %8u %8u %8u\n", kstat.total_mem_pages << PAGE_SHIFT, (kstat.total_mem_pages << PAGE_SHIFT) - (kstat.free_pages << PAGE_SHIFT), kstat.free_pages << PAGE_SHIFT, kstat.shared * 1024, kstat.buffers * 1024, kstat.cached * 1024);
kstat             237 fs/procfs/data.c 	size += sprintk(buffer + size, "MemTotal: %9d kB\n", kstat.total_mem_pages << 2);
kstat             238 fs/procfs/data.c 	size += sprintk(buffer + size, "MemFree:  %9d kB\n", kstat.free_pages << 2);
kstat             239 fs/procfs/data.c 	size += sprintk(buffer + size, "MemShared:%9d kB\n", kstat.shared);
kstat             240 fs/procfs/data.c 	size += sprintk(buffer + size, "Buffers:  %9d kB\n", kstat.buffers);
kstat             241 fs/procfs/data.c 	size += sprintk(buffer + size, "Cached:   %9d kB\n", kstat.cached);
kstat             244 fs/procfs/data.c 	size += sprintk(buffer + size, "Dirty:    %9d kB\n", kstat.dirty);
kstat             343 fs/procfs/data.c 	idle = kstat.ticks - (kstat.cpu_user + kstat.cpu_nice + kstat.cpu_system);
kstat             345 fs/procfs/data.c 	size += sprintk(buffer + size, "cpu %d %d %d %d\n", kstat.cpu_user, kstat.cpu_nice, kstat.cpu_system, idle);
kstat             349 fs/procfs/data.c 	size += sprintk(buffer + size, "intr %u", kstat.irqs);
kstat             357 fs/procfs/data.c 	size += sprintk(buffer + size, "ctxt %u\n", kstat.ctxt);
kstat             358 fs/procfs/data.c 	size += sprintk(buffer + size, "btime %d\n", kstat.boot_time);
kstat             359 fs/procfs/data.c 	size += sprintk(buffer + size, "processes %d\n", kstat.processes);
kstat             371 fs/procfs/data.c 	return sprintk(buffer, "%u.%02u %u.%02u\n", kstat.uptime, kstat.ticks % HZ, idle / HZ, idle % HZ);
kstat             414 fs/procfs/data.c 	return sprintk(buffer, "%d\n", (inode_table_size / sizeof(struct inode)) - kstat.free_inodes);
kstat              22 include/fiwix/kernel.h #define CURRENT_TIME	(kstat.system_time)
kstat              23 include/fiwix/kernel.h #define CURRENT_TICKS	(kstat.ticks)
kstat              83 include/fiwix/kernel.h extern struct kernel_stat kstat;
kstat              52 kernel/main.c  struct kernel_stat kstat;
kstat              59 kernel/main.c  	memset_b(&kstat, NULL, sizeof(kstat));
kstat             145 kernel/pic.c   			if(kstat.sirqs < MAX_SPU_NOTICES) {
kstat             147 kernel/pic.c   			} else if(kstat.sirqs == MAX_SPU_NOTICES) {
kstat             150 kernel/pic.c   			kstat.sirqs++;
kstat             165 kernel/pic.c   	kstat.irqs++;
kstat              27 kernel/sched.c 	kstat.ctxt++;
kstat              89 kernel/sched.c 	kstat.random_seed = CURRENT_TIME;
kstat             143 kernel/syscalls/fork.c 	kstat.processes++;
kstat              30 kernel/syscalls/ftime.c 	tp->millitm = ((kstat.ticks % HZ) * 1000000) / HZ;
kstat              31 kernel/syscalls/gettimeofday.c 		tv->tv_usec = ((kstat.ticks % HZ) * 1000000) / HZ;
kstat              37 kernel/syscalls/gettimeofday.c 		tz->tz_minuteswest = kstat.tz_minuteswest;
kstat              38 kernel/syscalls/gettimeofday.c 		tz->tz_dsttime = kstat.tz_dsttime;
kstat              42 kernel/syscalls/settimeofday.c 		kstat.tz_minuteswest = tz->tz_minuteswest;
kstat              43 kernel/syscalls/settimeofday.c 		kstat.tz_dsttime = tz->tz_dsttime;
kstat              37 kernel/syscalls/sysinfo.c 	tmp_info.uptime = kstat.uptime;
kstat              38 kernel/syscalls/sysinfo.c 	tmp_info.totalram = kstat.total_mem_pages << PAGE_SHIFT;
kstat              39 kernel/syscalls/sysinfo.c 	tmp_info.freeram = kstat.free_pages << PAGE_SHIFT;
kstat              41 kernel/syscalls/sysinfo.c 	tmp_info.bufferram = kstat.buffers * 1024;
kstat              36 kernel/syscalls/times.c 	return kstat.ticks;
kstat             175 kernel/timer.c 	if((++kstat.ticks % HZ) == 0) {
kstat             177 kernel/timer.c 		kstat.uptime++;
kstat             189 kernel/timer.c 			kstat.cpu_system++;
kstat             198 kernel/timer.c 			kstat.cpu_user++;
kstat             371 kernel/timer.c 	kstat.boot_time = CURRENT_TIME = mktime(&mt);
kstat              91 mm/bios_map.c  	kstat.physical_pages = 0;
kstat             122 mm/bios_map.c  							kstat.physical_pages += (to_low - from_low) / PAGE_SIZE;
kstat             130 mm/bios_map.c  		kstat.physical_pages += (1024 >> 2);	/* add the first MB as a whole */
kstat             131 mm/bios_map.c  		if(kstat.physical_pages > (0x40000000 >> PAGE_SHIFT)) {
kstat             132 mm/bios_map.c  			printk("WARNING: detected a total of %dMB of available memory below 4GB.\n", (kstat.physical_pages << 2) / 1024);
kstat             142 mm/bios_map.c  		kstat.physical_pages = (_extmemsize + 1024) >> 2;
kstat             149 mm/bios_map.c  	if(kstat.physical_pages > (0x40000000 >> PAGE_SHIFT)) {
kstat             150 mm/bios_map.c  		kstat.physical_pages = (0x40000000 >> PAGE_SHIFT);
kstat             270 mm/memory.c    	physical_page_tables = (kstat.physical_pages / 1024) + ((kstat.physical_pages % 1024) ? 1 : 0);
kstat             271 mm/memory.c    	physical_memory = (kstat.physical_pages << PAGE_SHIFT);	/* in bytes */
kstat             285 mm/memory.c    	for(n = 0; n < kstat.physical_pages; n++) {
kstat             323 mm/memory.c    	buffer_table_size = (kstat.physical_pages * BUFFER_PERCENTAGE) / 100;
kstat             450 mm/memory.c    	page_table_size = PAGE_ALIGN(kstat.physical_pages * sizeof(struct page));
kstat             459 mm/memory.c    	page_init(kstat.physical_pages);
kstat             465 mm/memory.c    	printk("memory: total=%dKB, user=%dKB, kernel=%dKB, reserved=%dKB\n", kstat.physical_pages << 2, kstat.total_mem_pages << 2, kstat.kernel_reserved, kstat.physical_reserved);
kstat              63 mm/page.c      	kstat.cached += (PAGE_SIZE / 1024);
kstat              89 mm/page.c      			kstat.cached -= (PAGE_SIZE / 1024);
kstat             108 mm/page.c      	kstat.free_pages++;
kstat             113 mm/page.c      	if(!kstat.free_pages) {
kstat             119 mm/page.c      	kstat.free_pages--;
kstat             124 mm/page.c      	if(!kstat.free_pages) {
kstat             162 mm/page.c      	if(!kstat.free_pages) {
kstat             167 mm/page.c      		if(!kstat.free_pages) {
kstat             247 mm/page.c      	if(kstat.free_pages > NR_BUF_RECLAIM) {
kstat             404 mm/page.c      			kstat.kernel_reserved++;
kstat             415 mm/page.c      			kstat.physical_reserved++;
kstat             422 mm/page.c      	kstat.total_mem_pages = kstat.free_pages;
kstat             423 mm/page.c      	kstat.kernel_reserved <<= 2;
kstat             424 mm/page.c      	kstat.physical_reserved <<= 2;