Searched refs:ALIGN_DOWN (Results 1 – 8 of 8) sorted by relevance
/glibc-2.36/include/ |
D | libc-pointer-arith.h | 46 #define ALIGN_DOWN(base, size) ((base) & -((__typeof__ (base)) (size))) macro 53 #define ALIGN_UP(base, size) ALIGN_DOWN ((base) + (size) - 1, (size)) 57 ((__typeof__ (base)) ALIGN_DOWN ((uintptr_t) (base), (size)))
|
/glibc-2.36/sysdeps/aarch64/ |
D | dl-bti.c | 40 size_t vstart = ALIGN_DOWN (phdr->p_vaddr, pagesz); in _dl_bti_protect() 42 off_t off = ALIGN_DOWN (phdr->p_offset, pagesz); in _dl_bti_protect()
|
/glibc-2.36/elf/ |
D | dl-reloc.c | 274 - ALIGN_DOWN (ph->p_vaddr, GLRO(dl_pagesize)); in _dl_relocate_object() 356 ElfW(Addr) start = ALIGN_DOWN((l->l_addr in _dl_protect_relro() 359 ElfW(Addr) end = ALIGN_DOWN((l->l_addr in _dl_protect_relro()
|
D | dl-load.c | 1146 c->mapstart = ALIGN_DOWN (ph->p_vaddr, GLRO(dl_pagesize)); in _dl_map_object_from_fd() 1153 c->mapoff = ALIGN_DOWN (ph->p_offset, GLRO(dl_pagesize)); in _dl_map_object_from_fd()
|
/glibc-2.36/malloc/ |
D | arena.c | 701 extra = ALIGN_DOWN(top_area - pad, heap->pagesize); in heap_trim()
|
D | malloc.c | 2989 extra = ALIGN_DOWN (top_area - pad, mp_.thp_pagesize); in systrim() 2992 extra = ALIGN_DOWN (top_area - pad, GLRO(dl_pagesize)); in systrim()
|
/glibc-2.36/locale/programs/ |
D | locarchive.c | 301 size_t start = ALIGN_DOWN (ah->mmaped, MAP_FIXED_ALIGNMENT); in file_data_available_p()
|
/glibc-2.36/ChangeLog.old/ |
D | ChangeLog.18 | 8272 cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and 31363 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN. 31670 * malloc/malloc.c (systrim): Use ALIGN_DOWN. 39866 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN. 39867 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN. 64997 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
|