Home
last modified time | relevance | path

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

/linux/kernel/printk/
H A Dprintk_ringbuffer.c374 unsigned long begin_lpos) in to_block() argument
376 return (void *)&data_ring->data[DATA_INDEX(data_ring, begin_lpos)]; in to_block()
1009 unsigned long begin_lpos; in get_next_lpos() local
1012 begin_lpos = lpos; in get_next_lpos()
1016 if (DATA_WRAPS(data_ring, begin_lpos) == DATA_WRAPS(data_ring, next_lpos)) in get_next_lpos()
1033 unsigned long begin_lpos; in data_alloc() local
1049 begin_lpos = atomic_long_read(&data_ring->head_lpos); in data_alloc()
1052 next_lpos = get_next_lpos(data_ring, begin_lpos, size); in data_alloc()
1078 } while (!atomic_long_try_cmpxchg(&data_ring->head_lpos, &begin_lpos, in data_alloc()
1081 blk = to_block(data_ring, begin_lpos); in data_alloc()
[all …]