Searched refs:left (Results 1 – 4 of 4) sorted by relevance
/mm/ |
D | swap_state.c | 764 unsigned int max_win, hits, prev_win, win, left; in swap_ra_info() local 806 left = (win - 1) / 2; in swap_ra_info() 807 swap_ra_clamp_pfn(vma, faddr, fpfn - left, fpfn + win - left, in swap_ra_info()
|
D | slab.c | 1820 size_t left; in set_objfreelist_slab_cache() local 1835 left = calculate_slab_order(cachep, size, in set_objfreelist_slab_cache() 1843 cachep->colour = left / cachep->colour_off; in set_objfreelist_slab_cache() 1851 size_t left; in set_off_slab_cache() local 1866 left = calculate_slab_order(cachep, size, flags | CFLGS_OFF_SLAB); in set_off_slab_cache() 1874 if (left >= cachep->num * sizeof(freelist_idx_t)) in set_off_slab_cache() 1877 cachep->colour = left / cachep->colour_off; in set_off_slab_cache() 1885 size_t left; in set_on_slab_cache() local 1889 left = calculate_slab_order(cachep, size, flags); in set_on_slab_cache() 1893 cachep->colour = left / cachep->colour_off; in set_on_slab_cache()
|
D | memblock.c | 1727 unsigned int left = 0, right = type->cnt; in memblock_search() local 1730 unsigned int mid = (right + left) / 2; in memblock_search() 1736 left = mid + 1; in memblock_search() 1739 } while (left < right); in memblock_search()
|
D | mmap.c | 2036 struct vm_area_struct *left = in unmapped_area() local 2039 if (left->rb_subtree_gap >= length) { in unmapped_area() 2040 vma = left; in unmapped_area() 2165 struct vm_area_struct *left = in unmapped_area_topdown() local 2168 if (left->rb_subtree_gap >= length) { in unmapped_area_topdown() 2169 vma = left; in unmapped_area_topdown()
|