Searched refs:delta (Results 1 – 7 of 7) sorted by relevance
/mm/ |
D | slob.c | 220 int delta = 0, units = SLOB_UNITS(size); in slob_page_alloc() local 227 delta = aligned - cur; in slob_page_alloc() 229 if (avail >= units + delta) { /* room enough? */ in slob_page_alloc() 232 if (delta) { /* need to fragment head to align? */ in slob_page_alloc() 234 set_slob(aligned, avail - delta, next); in slob_page_alloc() 235 set_slob(cur, delta, aligned); in slob_page_alloc()
|
D | hugetlb.c | 101 long delta) in hugepage_subpool_get_pages() argument 109 if ((spool->used_hpages + delta) <= spool->max_hpages) { in hugepage_subpool_get_pages() 110 spool->used_hpages += delta; in hugepage_subpool_get_pages() 120 long delta) in hugepage_subpool_put_pages() argument 126 spool->used_hpages -= delta; in hugepage_subpool_put_pages() 1230 static int gather_surplus_pages(struct hstate *h, int delta) in gather_surplus_pages() argument 1238 needed = (h->resv_huge_pages + delta) - h->free_huge_pages; in gather_surplus_pages() 1240 h->resv_huge_pages += delta; in gather_surplus_pages() 1265 needed = (h->resv_huge_pages + delta) - in gather_surplus_pages() 1286 h->resv_huge_pages += delta; in gather_surplus_pages() [all …]
|
D | vmstat.c | 217 int delta) in __mod_zone_page_state() argument 224 x = delta + __this_cpu_read(*p); in __mod_zone_page_state() 317 enum zone_stat_item item, int delta, int overstep_mode) in mod_state() argument 339 n = delta + o; in mod_state() 355 int delta) in mod_zone_page_state() argument 357 mod_state(zone, item, delta, 0); in mod_zone_page_state() 382 int delta) in mod_zone_page_state() argument 387 __mod_zone_page_state(zone, item, delta); in mod_zone_page_state()
|
D | vmscan.c | 280 unsigned long long delta; in shrink_slab_node() local 301 delta = (4 * nr_pages_scanned) / shrinker->seeks; in shrink_slab_node() 302 delta *= freeable; in shrink_slab_node() 303 do_div(delta, lru_pages + 1); in shrink_slab_node() 304 total_scan += delta; in shrink_slab_node() 324 if (delta < freeable / 4) in shrink_slab_node() 337 freeable, delta, total_scan); in shrink_slab_node() 3613 long delta = 0; in zone_pagecache_reclaimable() local 3628 delta += zone_page_state(zone, NR_FILE_DIRTY); in zone_pagecache_reclaimable() 3631 if (unlikely(delta > nr_pagecache_reclaimable)) in zone_pagecache_reclaimable() [all …]
|
D | compaction.c | 27 static inline void count_compact_events(enum vm_event_item item, long delta) in count_compact_events() argument 29 count_vm_events(item, delta); in count_compact_events() 33 #define count_compact_events(item, delta) do { } while (0) argument
|
D | mremap.c | 456 static int vma_expandable(struct vm_area_struct *vma, unsigned long delta) in vma_expandable() argument 458 unsigned long end = vma->vm_end + delta; in vma_expandable()
|
D | percpu.c | 2216 unsigned long delta; in setup_per_cpu_areas() local 2230 delta = (unsigned long)pcpu_base_addr - (unsigned long)__per_cpu_start; in setup_per_cpu_areas() 2232 __per_cpu_offset[cpu] = delta + pcpu_unit_offsets[cpu]; in setup_per_cpu_areas()
|