Lines Matching refs:inner_guard
109 let mut inner_guard = self.inner.write(); in do_efi_memmap_init() localVariable
126 inner_guard.mmap.vaddr = Some(vaddr); in do_efi_memmap_init()
127 inner_guard.mmap.late = false; in do_efi_memmap_init()
129 inner_guard.mmap.late = true; in do_efi_memmap_init()
133 if inner_guard.mmap.vaddr.is_none() { in do_efi_memmap_init()
138 inner_guard.mmap.paddr = Some(paddr); in do_efi_memmap_init()
139 inner_guard.mmap.size = data.mmap_size.unwrap() as usize; in do_efi_memmap_init()
140 inner_guard.mmap.nr_map = in do_efi_memmap_init()
142 inner_guard.mmap.desc_size = data.mmap_desc_size.unwrap() as usize; in do_efi_memmap_init()
143 inner_guard.mmap.desc_version = data.mmap_desc_version.unwrap() as usize; in do_efi_memmap_init()
145 inner_guard.init_flags.set(EFIInitFlags::MEMMAP, true); in do_efi_memmap_init()
152 let mut inner_guard = self.inner.write_irqsave(); in efi_memmap_unmap() localVariable
155 if !inner_guard.init_flags.contains(EFIInitFlags::MEMMAP) { in efi_memmap_unmap()
159 if !inner_guard.mmap.late { in efi_memmap_unmap()
160 EarlyIoRemap::unmap(inner_guard.mmap.vaddr.take().unwrap()).unwrap(); in efi_memmap_unmap()
164 inner_guard.init_flags.set(EFIInitFlags::MEMMAP, false); in efi_memmap_unmap()