Home
last modified time | relevance | path

Searched refs:atomic_long_xchg (Results 1 – 12 of 12) sorted by relevance

/linux-6.6.21/mm/
Dpage_counter.c28 old_protected = atomic_long_xchg(&c->min_usage, protected); in propagate_protected_usage()
37 old_protected = atomic_long_xchg(&c->low_usage, protected); in propagate_protected_usage()
Dvmscan.c396 return atomic_long_xchg(&info->nr_deferred[shrinker->id], 0); in xchg_nr_deferred_memcg()
573 return atomic_long_xchg(&shrinker->nr_deferred[nid], 0); in xchg_nr_deferred()
/linux-6.6.21/include/drm/
Dspsc_queue.h73 tail = (struct spsc_node **)atomic_long_xchg(&queue->tail, (long)&node->next); in spsc_queue_push()
/linux-6.6.21/include/asm-generic/
Dlocal.h46 #define local_xchg(l, n) atomic_long_xchg((&(l)->a), (n))
/linux-6.6.21/arch/loongarch/include/asm/
Dlocal.h70 #define local_xchg(l, n) (atomic_long_xchg((&(l)->a), (n)))
/linux-6.6.21/arch/riscv/include/asm/
Dpgtable.h568 pte_t pte = __pte(atomic_long_xchg((atomic_long_t *)ptep, 0)); in ptep_get_and_clear()
781 pmd_t pmd = __pmd(atomic_long_xchg((atomic_long_t *)pmdp, 0)); in pmdp_huge_get_and_clear()
800 return __pmd(atomic_long_xchg((atomic_long_t *)pmdp, pmd_val(pmd))); in pmdp_establish()
/linux-6.6.21/kernel/sched/
Dloadavg.c289 delta = atomic_long_xchg(&calc_load_nohz[idx], 0); in calc_load_nohz_read()
/linux-6.6.21/arch/mips/include/asm/
Dlocal.h108 #define local_xchg(l, n) (atomic_long_xchg((&(l)->a), (n)))
/linux-6.6.21/fs/cachefiles/
Ddaemon.c221 b_released = atomic_long_xchg(&cache->b_released, 0); in cachefiles_do_daemon_read()
/linux-6.6.21/drivers/net/wwan/
Dqcom_bam_dmux.c389 pending = atomic_long_xchg(&dmux->tx_deferred_skb, 0); in bam_dmux_tx_wakeup_work()
/linux-6.6.21/include/linux/atomic/
Datomic-instrumented.h4244 atomic_long_xchg(atomic_long_t *v, long new) in atomic_long_xchg() function
/linux-6.6.21/kernel/rcu/
Drcutorture.c2895 max_cbs = atomic_long_xchg(&rcu_fwd_max_cbs, 0); in rcu_torture_fwd_prog()