Home
last modified time | relevance | path

Searched refs:sysinfo (Results 1 – 4 of 4) sorted by relevance

/DragonOS/kernel/src/syscall/
H A Dmisc.rs36 pub fn sysinfo(info: *mut SysInfo) -> Result<usize, SystemError> { in sysinfo() method
38 let mut sysinfo = SysInfo::default(); in sysinfo() localVariable
42 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 …]
H A Dmod.rs1005 Self::sysinfo(info) in handle()
/DragonOS/docs/community/ChangeLog/V0.1.x/
H A DV0.1.10.md242 * Add slab free space calculation and add it to freeram of sysinfo
H A DV0.1.9.md2100 * 删除了 sysinfo 的默认实现