Home
last modified time | relevance | path

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

/external/crosvm/sys_util/src/
Dmmap.rs796 pub fn add_anon(&mut self, offset: usize, size: usize) -> Result<()> { in add_anon() method
1047 assert!(m.add_anon(0, pagesize() * 4).is_ok()); in arena_add()
1053 assert!(m.add_anon(0, pagesize() * 4).is_ok()); in arena_remove()
1061 assert!(m.add_anon(0, 0x100).is_ok()); in arena_add_alignment_error()
1062 let res = m.add_anon(pagesize() + 1, 0x100).unwrap_err(); in arena_add_alignment_error()
1072 let res = m.add_anon(0, pagesize() + 1).unwrap_err(); in arena_add_oob_error()
1084 m.add_anon(ps * 4, ps * 4) in arena_add_overlapping()
1088 m.add_anon(ps * 2, ps * 3) in arena_add_overlapping()
1092 m.add_anon(ps * 7, ps * 3) in arena_add_overlapping()
1097 m.add_anon(ps * 3, ps * 6) in arena_add_overlapping()
[all …]