Home
last modified time | relevance | path

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

/mm/
Dmm_init.c66 int shift, width; in mminit_verify_pageflags_layout() local
69 shift = 8 * sizeof(unsigned long); in mminit_verify_pageflags_layout()
70 width = shift - SECTIONS_WIDTH - NODES_WIDTH - ZONES_WIDTH - LAST_CPUPID_SHIFT; in mminit_verify_pageflags_layout()
96 shift, width, width, NR_PAGEFLAGS, NR_PAGEFLAGS, 0); in mminit_verify_pageflags_layout()
107 shift -= SECTIONS_WIDTH; in mminit_verify_pageflags_layout()
108 BUG_ON(shift != SECTIONS_PGSHIFT); in mminit_verify_pageflags_layout()
111 shift -= NODES_WIDTH; in mminit_verify_pageflags_layout()
112 BUG_ON(shift != NODES_PGSHIFT); in mminit_verify_pageflags_layout()
115 shift -= ZONES_WIDTH; in mminit_verify_pageflags_layout()
116 BUG_ON(shift != ZONES_PGSHIFT); in mminit_verify_pageflags_layout()
Dpage-writeback.c1203 unsigned long shift; in wb_update_dirty_ratelimit() local
1328 shift = dirty_ratelimit / (2 * step + 1); in wb_update_dirty_ratelimit()
1329 if (shift < BITS_PER_LONG) in wb_update_dirty_ratelimit()
1330 step = DIV_ROUND_UP(step >> shift, 8); in wb_update_dirty_ratelimit()
Dworkingset.c497 xas.xa_shift = node->shift + XA_CHUNK_SHIFT; in shadow_lru_isolate()
Dmempolicy.c1907 struct vm_area_struct *vma, unsigned long addr, int shift) in interleave_nid() argument
1919 BUG_ON(shift < PAGE_SHIFT); in interleave_nid()
1920 off = vma->vm_pgoff >> (shift - PAGE_SHIFT); in interleave_nid()
1921 off += (addr - vma->vm_start) >> shift; in interleave_nid()
Dcompaction.c1171 unsigned short shift = BITS_PER_LONG - 1; in freelist_scan_limit() local
1173 return (COMPACT_CLUSTER_MAX >> min(shift, cc->fast_search_fail)) + 1; in freelist_scan_limit()