Home
last modified time | relevance | path

Searched refs:dirty (Results 1 – 8 of 8) sorted by relevance

/mm/
Dpage-writeback.c266 unsigned long dirty; in global_dirty_limits() local
270 dirty = DIV_ROUND_UP(vm_dirty_bytes, PAGE_SIZE); in global_dirty_limits()
272 dirty = (vm_dirty_ratio * available_memory) / 100; in global_dirty_limits()
279 if (background >= dirty) in global_dirty_limits()
280 background = dirty / 2; in global_dirty_limits()
284 dirty += dirty / 4; in global_dirty_limits()
287 *pdirty = dirty; in global_dirty_limits()
288 trace_global_dirty_state(background, dirty); in global_dirty_limits()
302 unsigned long dirty; in zone_dirty_limit() local
305 dirty = DIV_ROUND_UP(vm_dirty_bytes, PAGE_SIZE) * in zone_dirty_limit()
[all …]
Dmemory-failure.c783 #define dirty (1UL << PG_dirty) macro
822 { sc|dirty, sc|dirty, "dirty swapcache", me_swapcache_dirty },
823 { sc|dirty, sc, "clean swapcache", me_swapcache_clean },
825 { mlock|dirty, mlock|dirty, "dirty mlocked LRU", me_pagecache_dirty },
826 { mlock|dirty, mlock, "clean mlocked LRU", me_pagecache_clean },
828 { unevict|dirty, unevict|dirty, "dirty unevictable LRU", me_pagecache_dirty },
829 { unevict|dirty, unevict, "clean unevictable LRU", me_pagecache_clean },
831 { lru|dirty, lru|dirty, "dirty LRU", me_pagecache_dirty },
832 { lru|dirty, lru, "clean LRU", me_pagecache_clean },
840 #undef dirty
Dpgtable-generic.c49 pte_t entry, int dirty) in ptep_set_access_flags() argument
63 pmd_t entry, int dirty) in pmdp_set_access_flags() argument
Dvmalloc.c763 unsigned long free, dirty; member
828 vb->dirty = 0; in new_vmap_block()
873 if (!(vb->free + vb->dirty == VMAP_BBMAP_BITS && vb->dirty != VMAP_BBMAP_BITS)) in purge_fragmented_blocks()
877 if (vb->free + vb->dirty == VMAP_BBMAP_BITS && vb->dirty != VMAP_BBMAP_BITS) { in purge_fragmented_blocks()
879 vb->dirty = VMAP_BBMAP_BITS; /* prevent purging it again */ in purge_fragmented_blocks()
990 vb->dirty += 1UL << order; in vb_free()
991 if (vb->dirty == VMAP_BBMAP_BITS) { in vb_free()
Dvmscan.c815 bool *dirty, bool *writeback) in page_check_dirty_writeback() argument
824 *dirty = false; in page_check_dirty_writeback()
830 *dirty = PageDirty(page); in page_check_dirty_writeback()
839 mapping->a_ops->is_dirty_writeback(page, dirty, writeback); in page_check_dirty_writeback()
873 bool dirty, writeback; in shrink_page_list() local
907 page_check_dirty_writeback(page, &dirty, &writeback); in shrink_page_list()
908 if (dirty || writeback) in shrink_page_list()
911 if (dirty && !writeback) in shrink_page_list()
DKconfig536 soft-dirty bit on pte-s. This bit it set when someone writes
537 into a page just as regular dirty bit, but unlike the latter
540 See Documentation/vm/soft-dirty.txt for more details.
Dmemory.c3251 unsigned int dirty = flags & FAULT_FLAG_WRITE; in __handle_mm_fault() local
3265 if (dirty && !pmd_write(orig_pmd)) { in __handle_mm_fault()
3272 orig_pmd, dirty); in __handle_mm_fault()
Dhuge_memory.c928 int dirty) in huge_pmd_set_accessed() argument
940 if (pmdp_set_access_flags(vma, haddr, pmd, entry, dirty)) in huge_pmd_set_accessed()