Home
last modified time | relevance | path

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

/kernel/printk/
Dprintk_ringbuffer.c308 #define DATA_SIZE(data_ring) _DATA_SIZE((data_ring)->size_bits) macro
309 #define DATA_SIZE_MASK(data_ring) (DATA_SIZE(data_ring) - 1)
407 if (size > DATA_SIZE(data_ring) - sizeof(db->id)) in data_check_size()
579 while ((lpos_end - lpos_begin) - 1 < DATA_SIZE(data_ring)) { in data_make_reusable()
670 while ((lpos - tail_lpos) - 1 < DATA_SIZE(data_ring)) { in data_push_tail()
1046 if (!data_push_tail(rb, next_lpos - DATA_SIZE(data_ring))) { in data_alloc()
1127 if (head_lpos - next_lpos < DATA_SIZE(data_ring)) { in data_realloc()
1135 if (!data_push_tail(rb, next_lpos - DATA_SIZE(data_ring))) in data_realloc()
1193 DATA_SIZE(data_ring) - DATA_INDEX(data_ring, blk_lpos->begin)); in space_used()
1227 } else if (DATA_WRAPS(data_ring, blk_lpos->begin + DATA_SIZE(data_ring)) == in get_data()