Home
last modified time | relevance | path

Searched refs:shift (Results 1 – 3 of 3) sorted by relevance

/mm/
Dmm_init.c70 int shift, width; in mminit_verify_pageflags_layout() local
73 shift = 8 * sizeof(unsigned long); in mminit_verify_pageflags_layout()
74 width = shift - SECTIONS_WIDTH - NODES_WIDTH - ZONES_WIDTH - LAST_CPUPID_SHIFT; in mminit_verify_pageflags_layout()
100 shift, width, width, NR_PAGEFLAGS, NR_PAGEFLAGS, 0); in mminit_verify_pageflags_layout()
111 shift -= SECTIONS_WIDTH; in mminit_verify_pageflags_layout()
112 BUG_ON(shift != SECTIONS_PGSHIFT); in mminit_verify_pageflags_layout()
115 shift -= NODES_WIDTH; in mminit_verify_pageflags_layout()
116 BUG_ON(shift != NODES_PGSHIFT); in mminit_verify_pageflags_layout()
119 shift -= ZONES_WIDTH; in mminit_verify_pageflags_layout()
120 BUG_ON(shift != ZONES_PGSHIFT); in mminit_verify_pageflags_layout()
Dbootmem.c189 unsigned shift; in free_all_bootmem_core() local
192 shift = idx & (BITS_PER_LONG - 1); in free_all_bootmem_core()
199 if (shift) { in free_all_bootmem_core()
200 vec >>= shift; in free_all_bootmem_core()
203 (BITS_PER_LONG - shift); in free_all_bootmem_core()
Dmempolicy.c1800 struct vm_area_struct *vma, unsigned long addr, int shift) in interleave_nid() argument
1812 BUG_ON(shift < PAGE_SHIFT); in interleave_nid()
1813 off = vma->vm_pgoff >> (shift - PAGE_SHIFT); in interleave_nid()
1814 off += (addr - vma->vm_start) >> shift; in interleave_nid()