Searched refs:align (Results 1 – 18 of 18) sorted by relevance
/DragonOS-0.1.8/kernel/src/smp/ |
D | apu_boot.S | 4 .align 0x1000 // 按照4k对齐 56 .align 0x1000 83 .align 0x1000 89 .align 0x1000 94 .align 0x1000 105 .align 0x1000 110 .align 0x1000 115 .align 0x1000
|
/DragonOS-0.1.8/kernel/src/libs/ |
D | align.rs | 137 pub fn check_aligned(value: usize, align: usize) -> bool { in check_aligned() 138 assert!(align != 0 && align.is_power_of_two()); in check_aligned() 139 return value & (align - 1) == 0; in check_aligned()
|
D | mod.rs | 1 pub mod align; module
|
D | lockref.rs | 8 #[repr(align(8))]
|
D | elf.rs | 15 libs::align::page_align_up,
|
/DragonOS-0.1.8/kernel/src/ |
D | head.S | 94 .align MULTIBOOT_HEADER_ALIGN 109 .align 8 118 .align 8 522 .align 0x1000 //设置为4k对齐 543 .align 16 599 .align 0x1000 611 .align 16
|
/DragonOS-0.1.8/kernel/src/mm/ |
D | mod.rs | 107 pub fn check_aligned(&self, align: usize) -> bool { in check_aligned() 108 return self.0 & (align - 1) == 0; in check_aligned() 216 pub fn check_aligned(&self, align: usize) -> bool { in check_aligned() 217 return self.0 & (align - 1) == 0; in check_aligned()
|
D | kernel_mapper.rs | 8 libs::align::page_align_up,
|
D | syscall.rs | 8 libs::align::{check_aligned, page_align_up},
|
D | c_adapter.rs | 12 libs::{align::page_align_up, spinlock::SpinLock},
|
D | ucontext.rs | 22 align::page_align_up,
|
/DragonOS-0.1.8/kernel/src/arch/x86_64/ |
D | fpu.rs | 17 #[repr(C, align(16))]
|
/DragonOS-0.1.8/kernel/src/mm/allocator/ |
D | kernel_allocator.rs | 3 libs::align::page_align_up,
|
/DragonOS-0.1.8/docs/kernel/locking/ |
D | lockref.md | 15 #[repr(align(8))]
|
/DragonOS-0.1.8/kernel/src/driver/multiboot2/ |
D | multiboot2.h | 190 unsigned int align; member
|
/DragonOS-0.1.8/kernel/src/arch/x86_64/mm/ |
D | mod.rs | 13 use crate::libs::align::page_align_up;
|
/DragonOS-0.1.8/kernel/src/driver/pci/ |
D | pci.rs | 60 pub fn check_aligned(&self, align: usize) -> bool { in check_aligned() 61 return self.0 & (align - 1) == 0; in check_aligned()
|
/DragonOS-0.1.8/kernel/src/syscall/ |
D | mod.rs | 19 libs::align::page_align_up,
|