Home
last modified time | relevance | path

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

/Linux-v5.15/mm/
Dslab_common.c1005 if (count < 2 || cachep->random_seq) in cache_random_seq_create()
1008 cachep->random_seq = kcalloc(count, sizeof(unsigned int), gfp); in cache_random_seq_create()
1009 if (!cachep->random_seq) in cache_random_seq_create()
1015 freelist_randomize(&state, cachep->random_seq, count); in cache_random_seq_create()
1022 kfree(cachep->random_seq); in cache_random_seq_destroy()
1023 cachep->random_seq = NULL; in cache_random_seq_destroy()
Dslub.c1785 if (s->random_seq) in init_cache_random_seq()
1796 if (s->random_seq) { in init_cache_random_seq()
1800 s->random_seq[i] *= s->size; in init_cache_random_seq()
1831 idx = s->random_seq[*pos]; in next_freelist_entry()
1848 if (page->objects < 2 || !s->random_seq) in shuffle_freelist()
Dslab.c2398 if (!cachep->random_seq) { in freelist_state_initialize()
2402 state->list = cachep->random_seq; in freelist_state_initialize()
/Linux-v5.15/include/linux/
Dslab_def.h81 unsigned int *random_seq; member
Dslub_def.h131 unsigned int *random_seq; member