Home
last modified time | relevance | path

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

/Linux-v4.19/tools/testing/selftests/x86/
Dmpx-mini-test.c1346 int rand_index = (mpx_random() % NR_MALLOCS); in do_one_malloc() local
1347 void *ptr = mallocs[rand_index].ptr; in do_one_malloc()
1352 dprintf3("freeing one malloc at index: %d\n", rand_index); in do_one_malloc()
1353 free_one_malloc(rand_index); in do_one_malloc()
1357 for (i = rand_index; i < NR_MALLOCS; i++) in do_one_malloc()
1378 mallocs[rand_index].nr_filled_btes = cover_buf_with_bt_entries(ptr, sz); in do_one_malloc()
1379 mallocs[rand_index].ptr = ptr; in do_one_malloc()
1380 mallocs[rand_index].size = sz; in do_one_malloc()