Searched refs:avail (Results 1 – 2 of 2) sorted by relevance
/mm/ |
D | slab.c | 186 unsigned int avail; member 525 ac->avail = 0; in init_arraycache() 578 int nr = min3(from->avail, max, to->limit - to->avail); in transfer_objects() 583 memcpy(to->entry + to->avail, from->entry + from->avail - nr, in transfer_objects() 586 from->avail -= nr; in transfer_objects() 587 to->avail += nr; in transfer_objects() 596 WARN_ON_ONCE(ac->avail > 0 && ac->entry[ac->avail - 1] == objp)) in __free_one() 598 ac->entry[ac->avail++] = objp; in __free_one() 685 if (ac->avail) { in __drain_alien_cache() 695 free_block(cachep, ac->entry, ac->avail, node, list); in __drain_alien_cache() [all …]
|
D | page-writeback.c | 133 unsigned long avail; /* dirtyable */ member 378 const unsigned long available_memory = dtc->avail; in domain_dirty_limits() 391 unsigned long global_avail = gdtc->avail; in domain_dirty_limits() 453 gdtc.avail = global_dirtyable_memory(); in global_dirty_limits() 857 unsigned long global_clean = gdtc->avail - min(gdtc->avail, gdtc->dirty); in mdtc_calc_avail() 860 mdtc->avail = filepages + min(headroom, other_clean); in mdtc_calc_avail() 1723 gdtc->avail = global_dirtyable_memory(); in balance_dirty_pages() 2116 gdtc->avail = global_dirtyable_memory(); in wb_over_bg_thresh()
|