Lines Matching refs:add_anon
726 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()
1181 m.add_anon(ps * 4, ps * 4) in arena_remove_overlapping()
1183 m.add_anon(ps * 2, ps * 2) in arena_remove_overlapping()
1185 m.add_anon(ps * 8, ps * 2) in arena_remove_overlapping()
1207 m.add_anon(0, ps).expect("failed to add mapping"); in arena_remove_unaligned()