Searched refs:atomic_long_xchg (Results 1 – 12 of 12) sorted by relevance
/linux-6.6.21/mm/ |
D | page_counter.c | 28 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()
|
D | vmscan.c | 396 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/ |
D | spsc_queue.h | 73 tail = (struct spsc_node **)atomic_long_xchg(&queue->tail, (long)&node->next); in spsc_queue_push()
|
/linux-6.6.21/include/asm-generic/ |
D | local.h | 46 #define local_xchg(l, n) atomic_long_xchg((&(l)->a), (n))
|
/linux-6.6.21/arch/loongarch/include/asm/ |
D | local.h | 70 #define local_xchg(l, n) (atomic_long_xchg((&(l)->a), (n)))
|
/linux-6.6.21/arch/riscv/include/asm/ |
D | pgtable.h | 568 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/ |
D | loadavg.c | 289 delta = atomic_long_xchg(&calc_load_nohz[idx], 0); in calc_load_nohz_read()
|
/linux-6.6.21/arch/mips/include/asm/ |
D | local.h | 108 #define local_xchg(l, n) (atomic_long_xchg((&(l)->a), (n)))
|
/linux-6.6.21/fs/cachefiles/ |
D | daemon.c | 221 b_released = atomic_long_xchg(&cache->b_released, 0); in cachefiles_do_daemon_read()
|
/linux-6.6.21/drivers/net/wwan/ |
D | qcom_bam_dmux.c | 389 pending = atomic_long_xchg(&dmux->tx_deferred_skb, 0); in bam_dmux_tx_wakeup_work()
|
/linux-6.6.21/include/linux/atomic/ |
D | atomic-instrumented.h | 4244 atomic_long_xchg(atomic_long_t *v, long new) in atomic_long_xchg() function
|
/linux-6.6.21/kernel/rcu/ |
D | rcutorture.c | 2895 max_cbs = atomic_long_xchg(&rcu_fwd_max_cbs, 0); in rcu_torture_fwd_prog()
|