Home
last modified time | relevance | path

Searched refs:head_lpos (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/kernel/printk/
H A Dprintk_ringbuffer.c135 * data block and a @head_lpos that points to the logical position of the
141 * them. Then the @head_lpos is pushed forward and is associated with a new
1039 begin_lpos = atomic_long_read(&data_ring->head_lpos); in data_alloc()
1068 } while (!atomic_long_try_cmpxchg(&data_ring->head_lpos, &begin_lpos, in data_alloc()
1108 unsigned long head_lpos; in data_realloc() local
1113 head_lpos = atomic_long_read(&data_ring->head_lpos); in data_realloc()
1114 if (head_lpos != blk_lpos->next) in data_realloc()
1125 if (head_lpos - next_lpos < DATA_SIZE(data_ring)) { in data_realloc()
1137 if (!atomic_long_try_cmpxchg(&data_ring->head_lpos, in data_realloc()
[all...]
H A Dprintk_ringbuffer.h67 atomic_long_t head_lpos; member
212 * The initial @head_lpos and @tail_lpos for data rings. It is at index
265 .head_lpos = ATOMIC_LONG_INIT(BLK0_LPOS((avgtextbits) + (descbits))), \
H A Dprintk.c1002 VMCOREINFO_OFFSET(prb_data_ring, head_lpos); in log_buf_vmcoreinfo_setup()
/kernel/linux/linux-6.6/kernel/printk/
H A Dprintk_ringbuffer.c135 * data block and a @head_lpos that points to the logical position of the
141 * them. Then the @head_lpos is pushed forward and is associated with a new
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() local
1115 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, in data_realloc()
[all...]
H A Dprintk_ringbuffer.h67 atomic_long_t head_lpos; member
213 * The initial @head_lpos and @tail_lpos for data rings. It is at index
267 .head_lpos = ATOMIC_LONG_INIT(BLK0_LPOS((avgtextbits) + (descbits))), \
H A Dprintk.c1015 VMCOREINFO_OFFSET(prb_data_ring, head_lpos); in log_buf_vmcoreinfo_setup()

Completed in 16 milliseconds