Searched refs:ASSOC_ARRAY_KEY_CHUNK_SIZE (Results 1 - 4 of 4) sorted by relevance

/linux-master/include/linux/
H A Dassoc_array.h17 #define ASSOC_ARRAY_KEY_CHUNK_SIZE BITS_PER_LONG /* Key data retrieved in chunks of this size */ macro
H A Dassoc_array_priv.h21 #define ASSOC_ARRAY_KEY_CHUNK_MASK (ASSOC_ARRAY_KEY_CHUNK_SIZE - 1)
/linux-master/lib/
H A Dassoc_array.c258 if (round_up(sc_level, ASSOC_ARRAY_KEY_CHUNK_SIZE) > shortcut->skip_to_level) {
264 next_sc_level = sc_level + ASSOC_ARRAY_KEY_CHUNK_SIZE;
265 next_sc_level = round_down(next_sc_level, ASSOC_ARRAY_KEY_CHUNK_SIZE);
741 keylen = round_up(diff, ASSOC_ARRAY_KEY_CHUNK_SIZE);
764 ops->get_key_chunk(index_key, i * ASSOC_ARRAY_KEY_CHUNK_SIZE);
848 keylen = round_up(diff, ASSOC_ARRAY_KEY_CHUNK_SIZE);
898 keylen = round_up(shortcut->skip_to_level, ASSOC_ARRAY_KEY_CHUNK_SIZE);
1491 keylen = round_up(shortcut->skip_to_level, ASSOC_ARRAY_KEY_CHUNK_SIZE);
/linux-master/security/keys/
H A Dkeyring.c196 if (ASSOC_ARRAY_KEY_CHUNK_SIZE == 32)
204 hash |= (hash >> (ASSOC_ARRAY_KEY_CHUNK_SIZE - level_shift)) | 1;
275 level /= ASSOC_ARRAY_KEY_CHUNK_SIZE;
338 level += ASSOC_ARRAY_KEY_CHUNK_SIZE / 8;

Completed in 212 milliseconds