Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/x86/
Dmpx-mini-test.c1315 int rand_index = (mpx_random() % NR_MALLOCS); in do_one_malloc() local
1316 void *ptr = mallocs[rand_index].ptr; in do_one_malloc()
1321 dprintf3("freeing one malloc at index: %d\n", rand_index); in do_one_malloc()
1322 free_one_malloc(rand_index); in do_one_malloc()
1326 for (i = rand_index; i < NR_MALLOCS; i++) in do_one_malloc()
1347 mallocs[rand_index].nr_filled_btes = cover_buf_with_bt_entries(ptr, sz); in do_one_malloc()
1348 mallocs[rand_index].ptr = ptr; in do_one_malloc()
1349 mallocs[rand_index].size = sz; in do_one_malloc()