Searched refs:head_lpos (Results 1 – 4 of 4) sorted by relevance
1041 begin_lpos = atomic_long_read(&data_ring->head_lpos); in data_alloc()1070 } while (!atomic_long_try_cmpxchg(&data_ring->head_lpos, &begin_lpos, in data_alloc()1110 unsigned long head_lpos; in data_realloc() local1115 head_lpos = atomic_long_read(&data_ring->head_lpos); in data_realloc()1116 if (head_lpos != blk_lpos->next) in data_realloc()1127 if (head_lpos - next_lpos < DATA_SIZE(data_ring)) { in data_realloc()1139 if (!atomic_long_try_cmpxchg(&data_ring->head_lpos, &head_lpos, in data_realloc()2092 atomic_long_set(&rb->text_data_ring.head_lpos, BLK0_LPOS(textbits)); in prb_init()
67 atomic_long_t head_lpos; member267 .head_lpos = ATOMIC_LONG_INIT(BLK0_LPOS((avgtextbits) + (descbits))), \
962 VMCOREINFO_OFFSET(prb_data_ring, head_lpos); in log_buf_vmcoreinfo_setup()
295 (prb_data_ring, size_bits|data|head_lpos|tail_lpos)