Home
last modified time | relevance | path

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

/Linux-v5.4/include/linux/
Dslab_def.h83 unsigned int *random_seq; member
Dslub_def.h132 unsigned int *random_seq; member
/Linux-v5.4/mm/
Dslab_common.c1352 if (count < 2 || cachep->random_seq) in cache_random_seq_create()
1355 cachep->random_seq = kcalloc(count, sizeof(unsigned int), gfp); in cache_random_seq_create()
1356 if (!cachep->random_seq) in cache_random_seq_create()
1362 freelist_randomize(&state, cachep->random_seq, count); in cache_random_seq_create()
1369 kfree(cachep->random_seq); in cache_random_seq_destroy()
1370 cachep->random_seq = NULL; in cache_random_seq_destroy()
Dslub.c1515 if (s->random_seq) in init_cache_random_seq()
1526 if (s->random_seq) { in init_cache_random_seq()
1530 s->random_seq[i] *= s->size; in init_cache_random_seq()
1561 idx = s->random_seq[*pos]; in next_freelist_entry()
1578 if (page->objects < 2 || !s->random_seq) in shuffle_freelist()
Dslab.c2400 if (!cachep->random_seq) { in freelist_state_initialize()
2404 state->list = cachep->random_seq; in freelist_state_initialize()