Lines Matching refs:loop_i
480 let mut loop_i: u64 = 0; in create_mmio() localVariable
483 if loop_i >= len_2m { in create_mmio()
490 region.vaddr + loop_i, in create_mmio()
508 loop_i += PAGE_2M_SIZE as u64; in create_mmio()
511 loop_i = len_2m; in create_mmio()
513 if loop_i >= size as u64 { in create_mmio()
520 region.vaddr + loop_i, in create_mmio()
538 loop_i += PAGE_4K_SIZE as u64; in create_mmio()
563 let mut loop_i: u64 = 0; in release_mmio() localVariable
565 if loop_i >= length { in release_mmio()
569 let vma: *mut vm_area_struct = unsafe { vma_find(&mut initial_mm, vaddr + loop_i) }; in release_mmio()
573 vaddr + loop_i, in release_mmio()
579 if unsafe { (*vma).vm_start != (vaddr + loop_i) } { in release_mmio()
582 vaddr + loop_i, in release_mmio()
592 loop_i += unsafe { (*vma).vm_end - (*vma).vm_start }; in release_mmio()