Home
last modified time | relevance | path

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

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