Home
last modified time | relevance | path

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

/Linux-v5.10/kernel/printk/
Dprintk_ringbuffer.c321 #define DATA_WRAPS(data_ring, lpos) ((lpos) >> (data_ring)->size_bits) macro
1010 if (DATA_WRAPS(data_ring, begin_lpos) == DATA_WRAPS(data_ring, next_lpos)) in get_next_lpos()
1074 if (DATA_WRAPS(data_ring, begin_lpos) != DATA_WRAPS(data_ring, next_lpos)) { in data_alloc()
1118 wrapped = (DATA_WRAPS(data_ring, blk_lpos->begin) != DATA_WRAPS(data_ring, blk_lpos->next)); in data_realloc()
1144 if (DATA_WRAPS(data_ring, blk_lpos->begin) != DATA_WRAPS(data_ring, next_lpos)) { in data_realloc()
1180 if (DATA_WRAPS(data_ring, blk_lpos->begin) == DATA_WRAPS(data_ring, blk_lpos->next)) { in space_used()
1219 if (DATA_WRAPS(data_ring, blk_lpos->begin) == DATA_WRAPS(data_ring, blk_lpos->next) && in get_data()
1225 } else if (DATA_WRAPS(data_ring, blk_lpos->begin + DATA_SIZE(data_ring)) == in get_data()
1226 DATA_WRAPS(data_ring, blk_lpos->next)) { in get_data()