Searched refs:atomic_long_try_cmpxchg (Results 1 - 13 of 13) sorted by relevance

/linux-master/drivers/tty/
H A Dtty_ldsem.c90 if (atomic_long_try_cmpxchg(&sem->count, &count, count - adjust))
114 if (atomic_long_try_cmpxchg(&sem->count, &count, count - LDSEM_ACTIVE_BIAS))
170 if (atomic_long_try_cmpxchg(&sem->count, &count, count + adjust)) {
245 if (atomic_long_try_cmpxchg(&sem->count, &count, count + adjust))
351 if (atomic_long_try_cmpxchg(&sem->count, &count, count + LDSEM_READ_BIAS)) {
377 if (atomic_long_try_cmpxchg(&sem->count, &count, count + LDSEM_WRITE_BIAS)) {
/linux-master/include/asm-generic/
H A Dlocal.h45 #define local_try_cmpxchg(l, po, n) atomic_long_try_cmpxchg((&(l)->a), (po), (n))
/linux-master/kernel/printk/
H A Dprintk_ringbuffer.c754 if (atomic_long_try_cmpxchg(&data_ring->tail_lpos, &tail_lpos,
969 } while (!atomic_long_try_cmpxchg(&desc_ring->head_id, &head_id,
993 if (!atomic_long_try_cmpxchg(&desc->state_var, &prev_state_val,
1078 } while (!atomic_long_try_cmpxchg(&data_ring->head_lpos, &begin_lpos,
1147 if (!atomic_long_try_cmpxchg(&data_ring->head_lpos, &head_lpos,
1315 if (!atomic_long_try_cmpxchg(&d->state_var, &prev_state_val,
1721 if (!atomic_long_try_cmpxchg(&d->state_var, &prev_state_val,
H A Dnbcon.c196 if (atomic_long_try_cmpxchg(&ACCESS_PRIVATE(con, nbcon_seq), &nbcon_seq,
/linux-master/kernel/locking/
H A Drwsem.c213 if (atomic_long_try_cmpxchg(&sem->owner, &val,
237 } while (!atomic_long_try_cmpxchg(&sem->owner, &owner,
/linux-master/lib/
H A Dsbitmap.c509 while (!atomic_long_try_cmpxchg(ptr, &val,
/linux-master/mm/kasan/
H A Dkasan_test.c746 KUNIT_EXPECT_KASAN_FAIL(test, atomic_long_try_cmpxchg(unsafe, safe, 42));
747 KUNIT_EXPECT_KASAN_FAIL(test, atomic_long_try_cmpxchg(safe, unsafe, 42));
/linux-master/io_uring/
H A Drsrc.c56 } while (!atomic_long_try_cmpxchg(&user->locked_vm,
/linux-master/kernel/dma/
H A Dswiotlb.c959 } while (!atomic_long_try_cmpxchg(&mem->used_hiwater,
/linux-master/mm/
H A Dzswap.c769 } while (!atomic_long_try_cmpxchg(nr_zswap_protected, &old, new));
/linux-master/include/linux/atomic/
H A Datomic-instrumented.h4417 * atomic_long_try_cmpxchg() - atomic compare and exchange with full ordering
4431 atomic_long_try_cmpxchg(atomic_long_t *v, long *old, long new) function
/linux-master/drivers/block/zram/
H A Dzram_drv.c193 } while (!atomic_long_try_cmpxchg(&zram->stats.max_used_pages,
/linux-master/net/core/
H A Dskbuff.c1669 } while (!atomic_long_try_cmpxchg(&user->locked_vm, &old_pg, new_pg));

Completed in 422 milliseconds