Home
last modified time | relevance | path

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

/Linux-v6.1/Documentation/translations/zh_CN/core-api/
Dassoc_array.rst122 是 ``ASSOC_ARRAY_KEY_CHUNK_SIZE`` 的倍数,该函数应返回 ``ASSOC_ARRAY_KEY_CHUNK_SIZE``
/Linux-v6.1/include/linux/
Dassoc_array.h17 #define ASSOC_ARRAY_KEY_CHUNK_SIZE BITS_PER_LONG /* Key data retrieved in chunks of this size */ macro
Dassoc_array_priv.h21 #define ASSOC_ARRAY_KEY_CHUNK_MASK (ASSOC_ARRAY_KEY_CHUNK_SIZE - 1)
/Linux-v6.1/lib/
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-v6.1/security/keys/
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-v6.1/Documentation/core-api/
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.