Searched refs:middle (Results 1 – 1 of 1) sorted by relevance
287 size_t middle; in krealloc_more_oob_helper() local290 middle = size1 + (size2 - size1) / 2; in krealloc_more_oob_helper()301 ptr2[middle] = 'x'; in krealloc_more_oob_helper()319 size_t middle; in krealloc_less_oob_helper() local322 middle = size2 + (size1 - size2) / 2; in krealloc_less_oob_helper()346 round_down(middle, KASAN_GRANULE_SIZE)); in krealloc_less_oob_helper()347 KUNIT_EXPECT_LE(test, round_up(middle, KASAN_GRANULE_SIZE), in krealloc_less_oob_helper()349 KUNIT_EXPECT_KASAN_FAIL(test, ptr2[middle] = 'x'); in krealloc_less_oob_helper()