Home
last modified time | relevance | path

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

/external/crosvm/base/src/sys/unix/
Dmmap.rs726 pub fn add_anon(&mut self, offset: usize, size: usize) -> Result<()> { in add_anon() method
1122 assert!(m.add_anon(0, pagesize() * 4).is_ok()); in arena_add()
1128 assert!(m.add_anon(0, pagesize() * 4).is_ok()); in arena_remove()
1136 assert!(m.add_anon(0, 0x100).is_ok()); in arena_add_alignment_error()
1137 let res = m.add_anon(pagesize() + 1, 0x100).unwrap_err(); in arena_add_alignment_error()
1147 let res = m.add_anon(0, pagesize() + 1).unwrap_err(); in arena_add_oob_error()
1159 m.add_anon(ps * 4, ps * 4) in arena_add_overlapping()
1163 m.add_anon(ps * 2, ps * 3) in arena_add_overlapping()
1167 m.add_anon(ps * 7, ps * 3) in arena_add_overlapping()
1172 m.add_anon(ps * 3, ps * 6) in arena_add_overlapping()
[all …]