Searched refs:ALIGN (Results 1 – 12 of 12) sorted by relevance
/DragonOS-0.1.8/kernel/src/libs/ |
D | align.rs | 16 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/ |
D | link.lds | 19 . = 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/ |
D | link.lds | 49 . = 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/ |
D | link.lds | 49 . = 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/ |
D | link.lds | 49 . = 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/ |
D | link.lds | 49 . = 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/ |
D | link.lds | 49 . = 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/ |
D | link.lds | 21 . = ALIGN(8);
|
/DragonOS-0.1.8/user/apps/shell/ |
D | shell.lds | 21 . = ALIGN(8);
|
/DragonOS-0.1.8/user/apps/about/ |
D | about.lds | 21 . = ALIGN(8);
|
/DragonOS-0.1.8/kernel/src/driver/multiboot2/ |
D | multiboot2.c | 27 tag = (struct iter_data_t *)((uint8_t *)tag + ALIGN(tag->size, 8))) in multiboot2_iter()
|
/DragonOS-0.1.8/kernel/src/common/ |
D | glib.h | 62 static __always_inline ul ALIGN(const ul addr, const ul _align) in ALIGN() function
|