Lines Matching refs:add_anon
796 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()
1106 m.add_anon(ps * 4, ps * 4) in arena_remove_overlapping()
1108 m.add_anon(ps * 2, ps * 2) in arena_remove_overlapping()
1110 m.add_anon(ps * 8, ps * 2) in arena_remove_overlapping()
1132 m.add_anon(0, ps).expect("failed to add mapping"); in arena_remove_unaligned()