Searched refs:atomic_long_xchg (Results 1 – 10 of 10) sorted by relevance
| /Linux-v5.10/mm/ |
| D | page_counter.c | 29 old_protected = atomic_long_xchg(&c->min_usage, protected); in propagate_protected_usage() 38 old_protected = atomic_long_xchg(&c->low_usage, protected); in propagate_protected_usage()
|
| D | vmscan.c | 440 nr = atomic_long_xchg(&shrinker->nr_deferred[nid], 0); in do_shrink_slab()
|
| /Linux-v5.10/include/drm/ |
| D | spsc_queue.h | 73 tail = (struct spsc_node **)atomic_long_xchg(&queue->tail, (long)&node->next); in spsc_queue_push()
|
| /Linux-v5.10/include/asm-generic/ |
| D | local.h | 45 #define local_xchg(l, n) atomic_long_xchg((&(l)->a), (n))
|
| D | atomic-long.h | 387 atomic_long_xchg(atomic_long_t *v, long i) in atomic_long_xchg() function 881 atomic_long_xchg(atomic_long_t *v, long i) in atomic_long_xchg() function
|
| /Linux-v5.10/arch/mips/include/asm/ |
| D | local.h | 130 #define local_xchg(l, n) (atomic_long_xchg((&(l)->a), (n)))
|
| /Linux-v5.10/kernel/sched/ |
| D | loadavg.c | 290 delta = atomic_long_xchg(&calc_load_nohz[idx], 0); in calc_load_nohz_read()
|
| /Linux-v5.10/arch/riscv/include/asm/ |
| D | pgtable.h | 368 return __pte(atomic_long_xchg((atomic_long_t *)ptep, 0)); in ptep_get_and_clear()
|
| /Linux-v5.10/kernel/rcu/ |
| D | rcu_segcblist.c | 131 return atomic_long_xchg(&rsclp->len, v); in rcu_segcblist_xchg_len()
|
| /Linux-v5.10/fs/cachefiles/ |
| D | daemon.c | 176 b_released = atomic_long_xchg(&cache->b_released, 0); in cachefiles_daemon_read()
|