Home
last modified time | relevance | path

Searched refs:MountInfo (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/num_cpus/src/
Dlinux.rs150 let mntinfo = some!(MountInfo::load_cpu(mountinfo_proc)); in load_cgroups()
159 struct MountInfo { struct
175 fn translate(mntinfo: MountInfo, subsys: Subsys) -> Option<Cgroup> { in translate() argument
227 impl MountInfo { implementation
228 fn load_cpu<P: AsRef<Path>>(proc_path: P) -> Option<MountInfo> { in load_cpu() argument
234 .filter_map(MountInfo::parse_line) in load_cpu()
238 fn parse_line(line: String) -> Option<MountInfo> { in parse_line() argument
255 Some(MountInfo { in parse_line()
291 use super::{Cgroup, MountInfo, Subsys};
309 let mnt_info = MountInfo::load_cpu(path).unwrap(); in test_load_mountinfo()
[all …]
/external/autotest/client/common_lib/
Dutils.py3165 MountInfo = collections.namedtuple('MountInfo', ['root', 'mount_point', 'tags']) variable
3204 yield MountInfo(root = mountinfo[3],