Home
last modified time | relevance | path

Searched refs:align (Results 1 – 18 of 18) sorted by relevance

/DragonOS-0.1.8/kernel/src/smp/
Dapu_boot.S4 .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/
Dalign.rs137 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()
Dmod.rs1 pub mod align; module
Dlockref.rs8 #[repr(align(8))]
Delf.rs15 libs::align::page_align_up,
/DragonOS-0.1.8/kernel/src/
Dhead.S94 .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/
Dmod.rs107 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()
Dkernel_mapper.rs8 libs::align::page_align_up,
Dsyscall.rs8 libs::align::{check_aligned, page_align_up},
Dc_adapter.rs12 libs::{align::page_align_up, spinlock::SpinLock},
Ducontext.rs22 align::page_align_up,
/DragonOS-0.1.8/kernel/src/arch/x86_64/
Dfpu.rs17 #[repr(C, align(16))]
/DragonOS-0.1.8/kernel/src/mm/allocator/
Dkernel_allocator.rs3 libs::align::page_align_up,
/DragonOS-0.1.8/docs/kernel/locking/
Dlockref.md15 #[repr(align(8))]
/DragonOS-0.1.8/kernel/src/driver/multiboot2/
Dmultiboot2.h190 unsigned int align; member
/DragonOS-0.1.8/kernel/src/arch/x86_64/mm/
Dmod.rs13 use crate::libs::align::page_align_up;
/DragonOS-0.1.8/kernel/src/driver/pci/
Dpci.rs60 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/
Dmod.rs19 libs::align::page_align_up,