Home
last modified time | relevance | path

Searched refs:nr_deferred (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/mm/
Dshrinker.c257 long nr_deferred; in xchg_nr_deferred_memcg() local
262 nr_deferred = atomic_long_xchg(&unit->nr_deferred[shrinker_id_to_offset(shrinker->id)], 0); in xchg_nr_deferred_memcg()
265 return nr_deferred; in xchg_nr_deferred_memcg()
273 long nr_deferred; in add_nr_deferred_memcg() local
278 nr_deferred = in add_nr_deferred_memcg()
279 atomic_long_add_return(nr, &unit->nr_deferred[shrinker_id_to_offset(shrinker->id)]); in add_nr_deferred_memcg()
282 return nr_deferred; in add_nr_deferred_memcg()
306 nr = atomic_long_read(&child_unit->nr_deferred[offset]); in reparent_shrinker_deferred()
307 atomic_long_add(nr, &parent_unit->nr_deferred[offset]); in reparent_shrinker_deferred()
349 return atomic_long_xchg(&shrinker->nr_deferred[nid], 0); in xchg_nr_deferred()
[all …]
/linux-6.12.1/include/linux/
Dshrinker.h17 atomic_long_t nr_deferred[SHRINKER_UNIT_BITS]; member
117 atomic_long_t *nr_deferred; member