Home
last modified time | relevance | path

Searched refs:ALIGN (Results 1 – 12 of 12) sorted by relevance

/DragonOS-0.1.8/kernel/src/libs/
Dalign.rs16 pub struct AlignedBox<T, const ALIGN: usize> {
20 impl<T, const ALIGN: usize> AlignedBox<T, ALIGN> {
31 max(ALIGN, core::mem::align_of::<T>()),
62 impl<T, const ALIGN: usize> Debug for AlignedBox<T, ALIGN> {
75 impl<T, const ALIGN: usize> Drop for AlignedBox<T, ALIGN> {
86 impl<T, const ALIGN: usize> core::ops::Deref for AlignedBox<T, ALIGN> {
94 impl<T, const ALIGN: usize> core::ops::DerefMut for AlignedBox<T, ALIGN> {
100 impl<T: Clone + SafeForZero, const ALIGN: usize> Clone for AlignedBox<T, ALIGN> {
102 let mut new: AlignedBox<T, ALIGN> = in clone()
/DragonOS-0.1.8/kernel/src/
Dlink.lds19 . = ALIGN(4096);
23 . = ALIGN(32768);
33 . = ALIGN(32768);
43 . = ALIGN(32768);
54 . = ALIGN(32768);
60 . = ALIGN(32768);
/DragonOS-0.1.8/user/apps/test_bind/
Dlink.lds49 . = ALIGN(CONSTANT (MAXPAGESIZE));
74 . = ALIGN(CONSTANT (MAXPAGESIZE));
77 …. = SEGMENT_START("rodata-segment", ALIGN(CONSTANT (MAXPAGESIZE)) + (. & (CONSTANT (MAXPAGESIZE) -…
175 . = ALIGN(. != 0 ? 64 / 8 : 1);
183 . = ALIGN(64 / 8);
185 .lrodata ALIGN(CONSTANT (MAXPAGESIZE)) + (. & (CONSTANT (MAXPAGESIZE) - 1)) :
189 .ldata ALIGN(CONSTANT (MAXPAGESIZE)) + (. & (CONSTANT (MAXPAGESIZE) - 1)) :
192 . = ALIGN(. != 0 ? 64 / 8 : 1);
194 . = ALIGN(64 / 8);
/DragonOS-0.1.8/user/apps/test_fstat/
Dlink.lds49 . = ALIGN(CONSTANT (MAXPAGESIZE));
74 . = ALIGN(CONSTANT (MAXPAGESIZE));
77 …. = SEGMENT_START("rodata-segment", ALIGN(CONSTANT (MAXPAGESIZE)) + (. & (CONSTANT (MAXPAGESIZE) -…
175 . = ALIGN(. != 0 ? 64 / 8 : 1);
183 . = ALIGN(64 / 8);
185 .lrodata ALIGN(CONSTANT (MAXPAGESIZE)) + (. & (CONSTANT (MAXPAGESIZE) - 1)) :
189 .ldata ALIGN(CONSTANT (MAXPAGESIZE)) + (. & (CONSTANT (MAXPAGESIZE) - 1)) :
192 . = ALIGN(. != 0 ? 64 / 8 : 1);
194 . = ALIGN(64 / 8);
/DragonOS-0.1.8/user/apps/test_gettimeofday/
Dlink.lds49 . = ALIGN(CONSTANT (MAXPAGESIZE));
74 . = ALIGN(CONSTANT (MAXPAGESIZE));
77 …. = SEGMENT_START("rodata-segment", ALIGN(CONSTANT (MAXPAGESIZE)) + (. & (CONSTANT (MAXPAGESIZE) -…
175 . = ALIGN(. != 0 ? 64 / 8 : 1);
183 . = ALIGN(64 / 8);
185 .lrodata ALIGN(CONSTANT (MAXPAGESIZE)) + (. & (CONSTANT (MAXPAGESIZE) - 1)) :
189 .ldata ALIGN(CONSTANT (MAXPAGESIZE)) + (. & (CONSTANT (MAXPAGESIZE) - 1)) :
192 . = ALIGN(. != 0 ? 64 / 8 : 1);
194 . = ALIGN(64 / 8);
/DragonOS-0.1.8/user/apps/http_server/
Dlink.lds49 . = ALIGN(CONSTANT (MAXPAGESIZE));
74 . = ALIGN(CONSTANT (MAXPAGESIZE));
77 …. = SEGMENT_START("rodata-segment", ALIGN(CONSTANT (MAXPAGESIZE)) + (. & (CONSTANT (MAXPAGESIZE) -…
175 . = ALIGN(. != 0 ? 64 / 8 : 1);
183 . = ALIGN(64 / 8);
185 .lrodata ALIGN(CONSTANT (MAXPAGESIZE)) + (. & (CONSTANT (MAXPAGESIZE) - 1)) :
189 .ldata ALIGN(CONSTANT (MAXPAGESIZE)) + (. & (CONSTANT (MAXPAGESIZE) - 1)) :
192 . = ALIGN(. != 0 ? 64 / 8 : 1);
194 . = ALIGN(64 / 8);
/DragonOS-0.1.8/user/apps/test_relibc/
Dlink.lds49 . = ALIGN(CONSTANT (MAXPAGESIZE));
74 . = ALIGN(CONSTANT (MAXPAGESIZE));
77 …. = SEGMENT_START("rodata-segment", ALIGN(CONSTANT (MAXPAGESIZE)) + (. & (CONSTANT (MAXPAGESIZE) -…
175 . = ALIGN(. != 0 ? 64 / 8 : 1);
183 . = ALIGN(64 / 8);
185 .lrodata ALIGN(CONSTANT (MAXPAGESIZE)) + (. & (CONSTANT (MAXPAGESIZE) - 1)) :
189 .ldata ALIGN(CONSTANT (MAXPAGESIZE)) + (. & (CONSTANT (MAXPAGESIZE) - 1)) :
192 . = ALIGN(. != 0 ? 64 / 8 : 1);
194 . = ALIGN(64 / 8);
/DragonOS-0.1.8/user/apps/test_signal/
Dlink.lds21 . = ALIGN(8);
/DragonOS-0.1.8/user/apps/shell/
Dshell.lds21 . = ALIGN(8);
/DragonOS-0.1.8/user/apps/about/
Dabout.lds21 . = ALIGN(8);
/DragonOS-0.1.8/kernel/src/driver/multiboot2/
Dmultiboot2.c27 tag = (struct iter_data_t *)((uint8_t *)tag + ALIGN(tag->size, 8))) in multiboot2_iter()
/DragonOS-0.1.8/kernel/src/common/
Dglib.h62 static __always_inline ul ALIGN(const ul addr, const ul _align) in ALIGN() function