Searched refs:random_seq (Results 1 – 3 of 3) sorted by relevance
1051 if (count < 2 || cachep->random_seq) in cache_random_seq_create()1054 cachep->random_seq = kcalloc(count, sizeof(unsigned int), gfp); in cache_random_seq_create()1055 if (!cachep->random_seq) in cache_random_seq_create()1058 freelist_randomize(cachep->random_seq, count); in cache_random_seq_create()1065 kfree(cachep->random_seq); in cache_random_seq_destroy()1066 cachep->random_seq = NULL; in cache_random_seq_destroy()
278 unsigned int *random_seq; member
2510 if (s->random_seq) in init_cache_random_seq()2521 if (s->random_seq) { in init_cache_random_seq()2525 s->random_seq[i] *= s->size; in init_cache_random_seq()2556 idx = s->random_seq[*pos]; in next_freelist_entry()2573 if (slab->objects < 2 || !s->random_seq) in shuffle_freelist()
Completed in 22 milliseconds