Lines Matching refs:flag_dirty
404 size_t flag_dirty, size_t flag_decommitted, size_t need_pages) in arena_run_split_remove() argument
408 assert(flag_dirty == 0 || flag_decommitted == 0); in arena_run_split_remove()
413 flag_dirty); in arena_run_split_remove()
418 if (flag_dirty != 0) in arena_run_split_remove()
424 size_t flags = flag_dirty | flag_decommitted; in arena_run_split_remove()
436 if (flag_dirty != 0) { in arena_run_split_remove()
450 size_t flag_dirty, flag_decommitted, run_ind, need_pages; in arena_run_split_large_helper() local
456 flag_dirty = arena_mapbits_dirty_get(chunk, run_ind); in arena_run_split_large_helper()
466 arena_run_split_remove(arena, chunk, run_ind, flag_dirty, in arena_run_split_large_helper()
476 } else if (flag_dirty != 0) { in arena_run_split_large_helper()
507 flag_unzeroed_mask = (flag_dirty | flag_decommitted) == 0 ? in arena_run_split_large_helper()
509 arena_mapbits_large_set(chunk, run_ind+need_pages-1, 0, flag_dirty | in arena_run_split_large_helper()
512 arena_mapbits_large_set(chunk, run_ind, size, flag_dirty | in arena_run_split_large_helper()
537 size_t flag_dirty, flag_decommitted, run_ind, need_pages, i; in arena_run_split_small() local
544 flag_dirty = arena_mapbits_dirty_get(chunk, run_ind); in arena_run_split_small()
553 arena_run_split_remove(arena, chunk, run_ind, flag_dirty, in arena_run_split_small()
561 if (config_debug && flag_dirty == 0 && flag_unzeroed == 0) in arena_run_split_small()
1791 size_t *p_run_ind, size_t *p_run_pages, size_t flag_dirty, in arena_run_coalesce() argument
1801 arena_mapbits_dirty_get(chunk, run_ind+run_pages) == flag_dirty && in arena_run_coalesce()
1815 run_ind+run_pages+nrun_pages-1) == flag_dirty); in arena_run_coalesce()
1824 if (flag_dirty != 0) { in arena_run_coalesce()
1840 flag_dirty && arena_mapbits_decommitted_get(chunk, run_ind-1) == in arena_run_coalesce()
1854 assert(arena_mapbits_dirty_get(chunk, run_ind) == flag_dirty); in arena_run_coalesce()
1863 if (flag_dirty != 0) { in arena_run_coalesce()
1908 size_t size, run_ind, run_pages, flag_dirty, flag_decommitted; in arena_run_dalloc() local
1929 flag_dirty = dirty ? CHUNK_MAP_DIRTY : 0; in arena_run_dalloc()
1934 size_t flags = flag_dirty | flag_decommitted; in arena_run_dalloc()
1946 flag_dirty, flag_decommitted); in arena_run_dalloc()
1985 size_t flag_dirty = arena_mapbits_dirty_get(chunk, pageind); in arena_run_trim_head() local
1987 size_t flag_unzeroed_mask = (flag_dirty | flag_decommitted) == 0 ? in arena_run_trim_head()
1998 arena_mapbits_large_set(chunk, pageind+head_npages-1, 0, flag_dirty | in arena_run_trim_head()
2001 arena_mapbits_large_set(chunk, pageind, oldsize-newsize, flag_dirty | in arena_run_trim_head()
2009 pageind+head_npages+tail_npages-1) == flag_dirty); in arena_run_trim_head()
2012 flag_dirty | (flag_unzeroed_mask & arena_mapbits_unzeroed_get(chunk, in arena_run_trim_head()
2025 size_t flag_dirty = arena_mapbits_dirty_get(chunk, pageind); in arena_run_trim_tail() local
2027 size_t flag_unzeroed_mask = (flag_dirty | flag_decommitted) == 0 ? in arena_run_trim_tail()
2040 arena_mapbits_large_set(chunk, pageind+head_npages-1, 0, flag_dirty | in arena_run_trim_tail()
2043 arena_mapbits_large_set(chunk, pageind, newsize, flag_dirty | in arena_run_trim_tail()
2051 pageind+head_npages+tail_npages-1) == flag_dirty); in arena_run_trim_tail()
2054 flag_dirty | (flag_unzeroed_mask & arena_mapbits_unzeroed_get(chunk, in arena_run_trim_tail()
2904 size_t usize, splitsize, size, flag_dirty, flag_unzeroed_mask; in arena_ralloc_large_grow() local
2946 flag_dirty = arena_mapbits_dirty_get(chunk, pageind) | in arena_ralloc_large_grow()
2948 flag_unzeroed_mask = flag_dirty == 0 ? CHUNK_MAP_UNZEROED : 0; in arena_ralloc_large_grow()
2950 flag_dirty | (flag_unzeroed_mask & in arena_ralloc_large_grow()
2952 arena_mapbits_large_set(chunk, pageind+npages-1, 0, flag_dirty | in arena_ralloc_large_grow()