Searched refs:shift (Results 1 – 4 of 4) sorted by relevance
/mm/ |
D | mm_init.c | 67 int shift, width; in mminit_verify_pageflags_layout() local 70 shift = 8 * sizeof(unsigned long); in mminit_verify_pageflags_layout() 71 width = shift - SECTIONS_WIDTH - NODES_WIDTH - ZONES_WIDTH in mminit_verify_pageflags_layout() 101 shift, width, width, NR_PAGEFLAGS, NR_PAGEFLAGS, 0); in mminit_verify_pageflags_layout() 112 shift -= SECTIONS_WIDTH; in mminit_verify_pageflags_layout() 113 BUG_ON(shift != SECTIONS_PGSHIFT); in mminit_verify_pageflags_layout() 116 shift -= NODES_WIDTH; in mminit_verify_pageflags_layout() 117 BUG_ON(shift != NODES_PGSHIFT); in mminit_verify_pageflags_layout() 120 shift -= ZONES_WIDTH; in mminit_verify_pageflags_layout() 121 BUG_ON(shift != ZONES_PGSHIFT); in mminit_verify_pageflags_layout()
|
D | page-writeback.c | 1200 unsigned long shift; in wb_update_dirty_ratelimit() local 1325 shift = dirty_ratelimit / (2 * step + 1); in wb_update_dirty_ratelimit() 1326 if (shift < BITS_PER_LONG) in wb_update_dirty_ratelimit() 1327 step = DIV_ROUND_UP(step >> shift, 8); in wb_update_dirty_ratelimit()
|
D | mempolicy.c | 1993 struct vm_area_struct *vma, unsigned long addr, int shift) in interleave_nid() argument 2005 BUG_ON(shift < PAGE_SHIFT); in interleave_nid() 2006 off = vma->vm_pgoff >> (shift - PAGE_SHIFT); in interleave_nid() 2007 off += (addr - vma->vm_start) >> shift; in interleave_nid()
|
D | compaction.c | 1227 unsigned short shift = BITS_PER_LONG - 1; in freelist_scan_limit() local 1229 return (COMPACT_CLUSTER_MAX >> min(shift, cc->fast_search_fail)) + 1; in freelist_scan_limit()
|