Searched refs:atomic_long_try_cmpxchg (Results 1 - 13 of 13) sorted by relevance
/linux-master/drivers/tty/ |
H A D | tty_ldsem.c | 90 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 D | local.h | 45 #define local_try_cmpxchg(l, po, n) atomic_long_try_cmpxchg((&(l)->a), (po), (n))
|
/linux-master/kernel/printk/ |
H A D | printk_ringbuffer.c | 754 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 D | nbcon.c | 196 if (atomic_long_try_cmpxchg(&ACCESS_PRIVATE(con, nbcon_seq), &nbcon_seq,
|
/linux-master/kernel/locking/ |
H A D | rwsem.c | 213 if (atomic_long_try_cmpxchg(&sem->owner, &val, 237 } while (!atomic_long_try_cmpxchg(&sem->owner, &owner,
|
/linux-master/lib/ |
H A D | sbitmap.c | 509 while (!atomic_long_try_cmpxchg(ptr, &val,
|
/linux-master/mm/kasan/ |
H A D | kasan_test.c | 746 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 D | rsrc.c | 56 } while (!atomic_long_try_cmpxchg(&user->locked_vm,
|
/linux-master/kernel/dma/ |
H A D | swiotlb.c | 959 } while (!atomic_long_try_cmpxchg(&mem->used_hiwater,
|
/linux-master/mm/ |
H A D | zswap.c | 769 } while (!atomic_long_try_cmpxchg(nr_zswap_protected, &old, new));
|
/linux-master/include/linux/atomic/ |
H A D | atomic-instrumented.h | 4417 * 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 D | zram_drv.c | 193 } while (!atomic_long_try_cmpxchg(&zram->stats.max_used_pages,
|
/linux-master/net/core/ |
H A D | skbuff.c | 1669 } while (!atomic_long_try_cmpxchg(&user->locked_vm, &old_pg, new_pg));
|
Completed in 422 milliseconds