Home
last modified time | relevance | path

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

/linux-6.6.21/kernel/printk/
Dprintk_ringbuffer.c370 unsigned long begin_lpos) in to_block() argument
372 return (void *)&data_ring->data[DATA_INDEX(data_ring, begin_lpos)]; in to_block()
1005 unsigned long begin_lpos; in get_next_lpos() local
1008 begin_lpos = lpos; in get_next_lpos()
1012 if (DATA_WRAPS(data_ring, begin_lpos) == DATA_WRAPS(data_ring, next_lpos)) in get_next_lpos()
1029 unsigned long begin_lpos; in data_alloc() local
1041 begin_lpos = atomic_long_read(&data_ring->head_lpos); in data_alloc()
1044 next_lpos = get_next_lpos(data_ring, begin_lpos, size); in data_alloc()
1070 } while (!atomic_long_try_cmpxchg(&data_ring->head_lpos, &begin_lpos, in data_alloc()
1073 blk = to_block(data_ring, begin_lpos); in data_alloc()
[all …]