Searched refs:sysinfo (Results 1 – 4 of 4) sorted by relevance
37 pub fn sysinfo(info: *mut SysInfo) -> Result<usize, SystemError> { in sysinfo() method39 let mut sysinfo = SysInfo::default(); in sysinfo() localVariable43 sysinfo.uptime = 0; in sysinfo()44 sysinfo.loads = [0; 3]; in sysinfo()45 sysinfo.totalram = mem.total().bytes() as u64; in sysinfo()46 sysinfo.freeram = mem.free().bytes() as u64 + slab_usage.free(); in sysinfo()47 sysinfo.sharedram = 0; in sysinfo()48 sysinfo.bufferram = 0; in sysinfo()49 sysinfo.totalswap = 0; in sysinfo()50 sysinfo.freeswap = 0; in sysinfo()[all …]
990 Self::sysinfo(info) in handle()
242 * Add slab free space calculation and add it to freeram of sysinfo
2100 * 删除了 sysinfo 的默认实现