Home
last modified time | relevance | path

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

/kernel/trace/
Dring_buffer.c2944 unsigned long new_index, old_index; in rb_try_to_discard() local
2950 old_index = new_index + rb_event_ts_length(event); in rb_try_to_discard()
2960 if (bpage->page == (void *)addr && rb_page_write(bpage) == old_index) { in rb_try_to_discard()
2992 old_index += write_mask; in rb_try_to_discard()
2994 index = local_cmpxchg(&bpage->write, old_index, new_index); in rb_try_to_discard()
2995 if (index == old_index) { in rb_try_to_discard()