Home
last modified time | relevance | path

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

/linux/Documentation/translations/zh_CN/core-api/
H A Dassoc_array.rst122 是 ``ASSOC_ARRAY_KEY_CHUNK_SIZE`` 的倍数,该函数应返回 ``ASSOC_ARRAY_KEY_CHUNK_SIZE``
/linux/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/lib/
H A Dassoc_array.c258 if (round_up(sc_level, ASSOC_ARRAY_KEY_CHUNK_SIZE) > shortcut->skip_to_level) { in assoc_array_walk()
264 next_sc_level = sc_level + ASSOC_ARRAY_KEY_CHUNK_SIZE; in assoc_array_walk()
265 next_sc_level = round_down(next_sc_level, ASSOC_ARRAY_KEY_CHUNK_SIZE); in assoc_array_walk()
741 keylen = round_up(diff, ASSOC_ARRAY_KEY_CHUNK_SIZE); in assoc_array_insert_into_terminal_node()
764 ops->get_key_chunk(index_key, i * ASSOC_ARRAY_KEY_CHUNK_SIZE); in assoc_array_insert_into_terminal_node()
848 keylen = round_up(diff, ASSOC_ARRAY_KEY_CHUNK_SIZE); in assoc_array_insert_mid_shortcut()
898 keylen = round_up(shortcut->skip_to_level, ASSOC_ARRAY_KEY_CHUNK_SIZE); in assoc_array_insert_mid_shortcut()
1491 keylen = round_up(shortcut->skip_to_level, ASSOC_ARRAY_KEY_CHUNK_SIZE); in assoc_array_gc()
/linux/security/keys/
H A Dkeyring.c196 if (ASSOC_ARRAY_KEY_CHUNK_SIZE == 32) in hash_key_type_and_desc()
204 hash |= (hash >> (ASSOC_ARRAY_KEY_CHUNK_SIZE - level_shift)) | 1; in hash_key_type_and_desc()
275 level /= ASSOC_ARRAY_KEY_CHUNK_SIZE; in keyring_get_key_chunk()
338 level += ASSOC_ARRAY_KEY_CHUNK_SIZE / 8; in keyring_diff_objects()
/linux/Documentation/core-api/
H A Dassoc_array.rst128 multiple of ``ASSOC_ARRAY_KEY_CHUNK_SIZE`` and the function should return
129 ``ASSOC_ARRAY_KEY_CHUNK_SIZE bits``. No error is possible.