Searched refs:atomic_long_xchg (Results 1 – 13 of 13) sorted by relevance
/linux-6.12.1/mm/ |
D | page_counter.c | 33 old_protected = atomic_long_xchg(&c->min_usage, protected); in propagate_protected_usage() 42 old_protected = atomic_long_xchg(&c->low_usage, protected); in propagate_protected_usage()
|
D | shrinker.c | 262 nr_deferred = atomic_long_xchg(&unit->nr_deferred[shrinker_id_to_offset(shrinker->id)], 0); in xchg_nr_deferred_memcg() 349 return atomic_long_xchg(&shrinker->nr_deferred[nid], 0); in xchg_nr_deferred()
|
/linux-6.12.1/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.12.1/include/asm-generic/ |
D | local.h | 46 #define local_xchg(l, n) atomic_long_xchg((&(l)->a), (n))
|
/linux-6.12.1/arch/loongarch/include/asm/ |
D | local.h | 70 #define local_xchg(l, n) (atomic_long_xchg((&(l)->a), (n)))
|
/linux-6.12.1/arch/mips/include/asm/ |
D | local.h | 108 #define local_xchg(l, n) (atomic_long_xchg((&(l)->a), (n)))
|
/linux-6.12.1/kernel/sched/ |
D | loadavg.c | 289 delta = atomic_long_xchg(&calc_load_nohz[idx], 0); in calc_load_nohz_read()
|
/linux-6.12.1/arch/riscv/include/asm/ |
D | pgtable.h | 594 pte_t pte = __pte(atomic_long_xchg((atomic_long_t *)ptep, 0)); in ptep_get_and_clear() 816 pmd_t pmd = __pmd(atomic_long_xchg((atomic_long_t *)pmdp, 0)); in pmdp_huge_get_and_clear() 835 return __pmd(atomic_long_xchg((atomic_long_t *)pmdp, pmd_val(pmd))); in pmdp_establish()
|
/linux-6.12.1/fs/cachefiles/ |
D | daemon.c | 223 b_released = atomic_long_xchg(&cache->b_released, 0); in cachefiles_do_daemon_read()
|
/linux-6.12.1/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.12.1/mm/kasan/ |
D | kasan_test_c.c | 744 KUNIT_EXPECT_KASAN_FAIL(test, atomic_long_xchg(unsafe, 42)); in kasan_atomics_helper()
|
/linux-6.12.1/include/linux/atomic/ |
D | atomic-instrumented.h | 4272 atomic_long_xchg(atomic_long_t *v, long new) in atomic_long_xchg() function
|
/linux-6.12.1/kernel/rcu/ |
D | rcutorture.c | 2973 max_cbs = atomic_long_xchg(&rcu_fwd_max_cbs, 0); in rcu_torture_fwd_prog()
|