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

/linux-4.1.27/include/linux/
H A Dassoc_array.h21 #define ASSOC_ARRAY_KEY_CHUNK_SIZE BITS_PER_LONG /* Key data retrieved in chunks of this size */ macro
H A Dassoc_array_priv.h25 #define ASSOC_ARRAY_KEY_CHUNK_MASK (ASSOC_ARRAY_KEY_CHUNK_SIZE - 1)
/linux-4.1.27/security/keys/
H A Dkeyring.c201 if (ASSOC_ARRAY_KEY_CHUNK_SIZE == 32) hash_key_type_and_desc()
209 return hash | (hash >> (ASSOC_ARRAY_KEY_CHUNK_SIZE - level_shift)) | 1; hash_key_type_and_desc()
237 level /= ASSOC_ARRAY_KEY_CHUNK_SIZE; keyring_get_key_chunk()
246 (ASSOC_ARRAY_KEY_CHUNK_SIZE - 8)); keyring_get_key_chunk()
266 (ASSOC_ARRAY_KEY_CHUNK_SIZE - 8)); keyring_get_key_chunk()
311 level += ASSOC_ARRAY_KEY_CHUNK_SIZE / 8; keyring_diff_objects()
/linux-4.1.27/lib/
H A Dassoc_array.c273 if (round_up(sc_level, ASSOC_ARRAY_KEY_CHUNK_SIZE) > shortcut->skip_to_level) { assoc_array_walk()
279 next_sc_level = sc_level + ASSOC_ARRAY_KEY_CHUNK_SIZE; assoc_array_walk()
280 next_sc_level = round_down(next_sc_level, ASSOC_ARRAY_KEY_CHUNK_SIZE); assoc_array_walk()
775 keylen = round_up(diff, ASSOC_ARRAY_KEY_CHUNK_SIZE); assoc_array_insert_into_terminal_node()
799 ops->get_key_chunk(index_key, i * ASSOC_ARRAY_KEY_CHUNK_SIZE); assoc_array_insert_into_terminal_node()
881 keylen = round_up(diff, ASSOC_ARRAY_KEY_CHUNK_SIZE); assoc_array_insert_mid_shortcut()
931 keylen = round_up(shortcut->skip_to_level, ASSOC_ARRAY_KEY_CHUNK_SIZE); assoc_array_insert_mid_shortcut()
1522 keylen = round_up(shortcut->skip_to_level, ASSOC_ARRAY_KEY_CHUNK_SIZE); assoc_array_gc()

Completed in 93 milliseconds