Home
last modified time | relevance | path

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

/linux/mm/
A Dslab_common.c997 if (count < 2 || cachep->random_seq) in cache_random_seq_create()
1000 cachep->random_seq = kcalloc(count, sizeof(unsigned int), gfp); in cache_random_seq_create()
1001 if (!cachep->random_seq) in cache_random_seq_create()
1007 freelist_randomize(&state, cachep->random_seq, count); in cache_random_seq_create()
1014 kfree(cachep->random_seq); in cache_random_seq_destroy()
1015 cachep->random_seq = NULL; in cache_random_seq_destroy()
A Dslub.c1808 if (s->random_seq) in init_cache_random_seq()
1819 if (s->random_seq) { in init_cache_random_seq()
1823 s->random_seq[i] *= s->size; in init_cache_random_seq()
1854 idx = s->random_seq[*pos]; in next_freelist_entry()
1871 if (page->objects < 2 || !s->random_seq) in shuffle_freelist()
A Dslab.c2398 if (!cachep->random_seq) { in freelist_state_initialize()
2402 state->list = cachep->random_seq; in freelist_state_initialize()
/linux/include/linux/
A Dslab_def.h81 unsigned int *random_seq; member
A Dslub_def.h133 unsigned int *random_seq; member

Completed in 32 milliseconds