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