Home
last modified time | relevance | path

Searched refs:prev_state_val (Results 1 – 1 of 1) sorted by relevance

/linux-6.6.21/kernel/printk/
Dprintk_ringbuffer.c878 unsigned long prev_state_val; in desc_reserve() local
974 prev_state_val = atomic_long_read(&desc->state_var); /* LMM(desc_reserve:E) */ in desc_reserve()
975 if (prev_state_val && in desc_reserve()
976 get_desc_state(id_prev_wrap, prev_state_val) != desc_reusable) { in desc_reserve()
989 if (!atomic_long_try_cmpxchg(&desc->state_var, &prev_state_val, in desc_reserve()
1262 unsigned long prev_state_val; in desc_reopen_last() local
1281 prev_state_val = DESC_SV(id, desc_committed); in desc_reopen_last()
1299 if (!atomic_long_try_cmpxchg(&d->state_var, &prev_state_val, in desc_reopen_last()
1450 unsigned long prev_state_val = DESC_SV(id, desc_committed); in desc_make_final() local
1453 atomic_long_cmpxchg_relaxed(&d->state_var, prev_state_val, in desc_make_final()
[all …]