Searched refs:ring_buffer_calc_shift (Results 1 – 5 of 5) sorted by relevance
297 EXPECT_EQ(0, ring_buffer_calc_shift(1)); in TEST()298 EXPECT_EQ(1, ring_buffer_calc_shift(2)); in TEST()299 EXPECT_EQ(1, ring_buffer_calc_shift(3)); in TEST()300 EXPECT_EQ(2, ring_buffer_calc_shift(4)); in TEST()301 EXPECT_EQ(2, ring_buffer_calc_shift(5)); in TEST()302 EXPECT_EQ(2, ring_buffer_calc_shift(6)); in TEST()303 EXPECT_EQ(2, ring_buffer_calc_shift(7)); in TEST()304 EXPECT_EQ(3, ring_buffer_calc_shift(8)); in TEST()
179 uint32_t ring_buffer_calc_shift(uint32_t size) { in ring_buffer_calc_shift() function198 uint32_t shift = ring_buffer_calc_shift(size); in ring_buffer_view_init()212 uint32_t shift = ring_buffer_calc_shift(size); in ring_buffer_init_view_only()
193 uint32_t ring_buffer_calc_shift(uint32_t size) { in ring_buffer_calc_shift() function212 uint32_t shift = ring_buffer_calc_shift(size); in ring_buffer_view_init()226 uint32_t shift = ring_buffer_calc_shift(size); in ring_buffer_init_view_only()
83 uint32_t ring_buffer_calc_shift(uint32_t size);