Searched refs:ALIGN_DOWN (Results 176 - 189 of 189) sorted by path

12345678

/linux-master/mm/
H A Dmadvise.c845 *end = ALIGN_DOWN(*end, huge_page_size(hstate_vma(vma)));
H A Dmemory.c4342 addr = ALIGN_DOWN(vmf->address, PAGE_SIZE << order);
4353 addr = ALIGN_DOWN(vmf->address, PAGE_SIZE << order);
4435 addr = ALIGN_DOWN(vmf->address, nr_pages * PAGE_SIZE);
4833 from_pte = max(ALIGN_DOWN(pte_off, nr_pages),
H A Dmemory_hotplug.c991 pfn = ALIGN_DOWN(pfn, group->d.unit_pages);
1119 online_mem_sections(pfn, ALIGN_DOWN(end_pfn, PAGES_PER_SECTION));
1134 offline_mem_sections(pfn, ALIGN_DOWN(end_pfn, PAGES_PER_SECTION));
H A Dpage_isolation.c330 start_pfn = max(ALIGN_DOWN(isolate_pageblock, MAX_ORDER_NR_PAGES),
H A Drmap.c897 s_align = ALIGN_DOWN(start, PMD_SIZE);
898 e_align = ALIGN_DOWN(start + folio_size(folio) - 1, PMD_SIZE);
H A Dshuffle.c113 ALIGN_DOWN(get_random_long() % z->spanned_pages,
H A Dslub.c5087 s->offset = ALIGN_DOWN(s->object_size / 2, sizeof(void *));
H A Dswapfile.c783 next = ALIGN_DOWN(next, SWAP_ADDRESS_SPACE_PAGES);
/linux-master/sound/core/
H A Dmemalloc.c386 start = ALIGN_DOWN(ofs, PAGE_SIZE);
640 start = ALIGN_DOWN(ofs, PAGE_SIZE);
/linux-master/sound/soc/sof/
H A Ddebug.c45 pos = ALIGN_DOWN(pos, 4);
/linux-master/tools/include/linux/
H A Dalign.h9 #define ALIGN_DOWN(x, a) __ALIGN_KERNEL((x) - ((a) - 1), (a)) macro
/linux-master/tools/testing/memblock/linux/
H A Dmmzone.h26 #define pageblock_start_pfn(pfn) ALIGN_DOWN((pfn), pageblock_nr_pages)
/linux-master/tools/testing/scatterlist/linux/
H A Dmm.h36 #define ALIGN_DOWN(x, a) __ALIGN_KERNEL((x) - ((a) - 1), (a)) macro
/linux-master/tools/testing/selftests/mm/
H A Dpkey-helpers.h181 #define ALIGN_DOWN(x, align_to) ((x) & ~((align_to)-1)) macro
185 ((typeof(p))ALIGN_DOWN((unsigned long)(p), ptr_align_to))

Completed in 257 milliseconds

12345678