Home
last modified time | relevance | path

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

/kernel/printk/
Dprintk_ringbuffer.c1042 begin_lpos = atomic_long_read(&data_ring->head_lpos); in data_alloc()
1071 } while (!atomic_long_try_cmpxchg(&data_ring->head_lpos, &begin_lpos, in data_alloc()
1111 unsigned long head_lpos; in data_realloc() local
1116 head_lpos = atomic_long_read(&data_ring->head_lpos); in data_realloc()
1117 if (head_lpos != blk_lpos->next) in data_realloc()
1128 if (head_lpos - next_lpos < DATA_SIZE(data_ring)) { in data_realloc()
1140 if (!atomic_long_try_cmpxchg(&data_ring->head_lpos, &head_lpos, in data_realloc()
2094 atomic_long_set(&rb->text_data_ring.head_lpos, BLK0_LPOS(textbits)); in prb_init()
Dprintk_ringbuffer.h67 atomic_long_t head_lpos; member
267 .head_lpos = ATOMIC_LONG_INIT(BLK0_LPOS((avgtextbits) + (descbits))), \
Dprintk.c1009 VMCOREINFO_OFFSET(prb_data_ring, head_lpos); in log_buf_vmcoreinfo_setup()