Searched refs:shift (Results 1 – 3 of 3) sorted by relevance
70 int shift, width; in mminit_verify_pageflags_layout() local73 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()
189 unsigned shift; in free_all_bootmem_core() local192 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()
1800 struct vm_area_struct *vma, unsigned long addr, int shift) in interleave_nid() argument1812 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()