Searched refs:atomic_long_try_cmpxchg (Results 1 – 4 of 4) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/tty/ |
| H A D | tty_ldsem.c | 90 if (atomic_long_try_cmpxchg(&sem->count, &count, count - adjust)) in __ldsem_wake_readers() 114 if (atomic_long_try_cmpxchg(&sem->count, &count, count - LDSEM_ACTIVE_BIAS)) in writer_trylock() 170 if (atomic_long_try_cmpxchg(&sem->count, &count, count + adjust)) { in down_read_failed() 245 if (atomic_long_try_cmpxchg(&sem->count, &count, count + adjust)) in down_write_failed() 351 if (atomic_long_try_cmpxchg(&sem->count, &count, count + LDSEM_READ_BIAS)) { in ldsem_down_read_trylock() 377 if (atomic_long_try_cmpxchg(&sem->count, &count, count + LDSEM_WRITE_BIAS)) { in ldsem_down_write_trylock()
|
| /OK3568_Linux_fs/kernel/kernel/printk/ |
| H A D | printk_ringbuffer.c | 751 if (atomic_long_try_cmpxchg(&data_ring->tail_lpos, &tail_lpos, in data_push_tail() 966 } while (!atomic_long_try_cmpxchg(&desc_ring->head_id, &head_id, in desc_reserve() 990 if (!atomic_long_try_cmpxchg(&desc->state_var, &prev_state_val, in desc_reserve() 1071 } while (!atomic_long_try_cmpxchg(&data_ring->head_lpos, &begin_lpos, in data_alloc() 1140 if (!atomic_long_try_cmpxchg(&data_ring->head_lpos, &head_lpos, in data_realloc() 1300 if (!atomic_long_try_cmpxchg(&d->state_var, &prev_state_val, in desc_reopen_last() 1609 if (!atomic_long_try_cmpxchg(&d->state_var, &prev_state_val, in _prb_commit()
|
| /OK3568_Linux_fs/kernel/include/asm-generic/ |
| H A D | atomic-long.h | 435 atomic_long_try_cmpxchg(atomic_long_t *v, long *old, long new) in atomic_long_try_cmpxchg() function 929 atomic_long_try_cmpxchg(atomic_long_t *v, long *old, long new) in atomic_long_try_cmpxchg() function
|
| /OK3568_Linux_fs/kernel/kernel/locking/ |
| H A D | rwsem.c | 249 if (atomic_long_try_cmpxchg(&sem->owner, &val, in rwsem_clear_reader_owned() 273 } while (!atomic_long_try_cmpxchg(&sem->owner, &owner, in rwsem_set_nonspinnable()
|