Home
last modified time | relevance | path

Searched refs:keylen (Results 1 – 3 of 3) sorted by relevance

/lib/
Dbtree.c50 int keylen; member
56 .keylen = 1,
64 .keylen = LONG_PER_U64,
71 .keylen = 2 * LONG_PER_U64,
140 for (i = geo->keylen - 1; i >= 0; i--) { in dec_key()
150 return &node[n * geo->keylen]; in bkey()
161 longcpy(bkey(geo, node, n), key, geo->keylen); in setkey()
172 longset(bkey(geo, node, n), 0, geo->keylen); in clearpair()
219 longcpy(key, bkey(geo, node, 0), geo->keylen); in btree_last()
227 return longcmp(bkey(geo, node, pos), key, geo->keylen); in keycmp()
[all …]
Dassoc_array.c483 size_t keylen; in assoc_array_insert_into_terminal_node() local
741 keylen = round_up(diff, ASSOC_ARRAY_KEY_CHUNK_SIZE); in assoc_array_insert_into_terminal_node()
742 keylen >>= ASSOC_ARRAY_KEY_CHUNK_SHIFT; in assoc_array_insert_into_terminal_node()
745 keylen * sizeof(unsigned long), GFP_KERNEL); in assoc_array_insert_into_terminal_node()
763 for (i = 0; i < keylen; i++) in assoc_array_insert_into_terminal_node()
769 pr_devel("blank off [%zu] %d: %lx\n", keylen - 1, level, blank); in assoc_array_insert_into_terminal_node()
770 new_s0->index_key[keylen - 1] &= ~blank; in assoc_array_insert_into_terminal_node()
800 size_t keylen; in assoc_array_insert_mid_shortcut() local
849 keylen = round_up(diff, ASSOC_ARRAY_KEY_CHUNK_SIZE); in assoc_array_insert_mid_shortcut()
850 keylen >>= ASSOC_ARRAY_KEY_CHUNK_SHIFT; in assoc_array_insert_mid_shortcut()
[all …]
/lib/crypto/
Ddes.c699 int des_expand_key(struct des_ctx *ctx, const u8 *key, unsigned int keylen) in des_expand_key() argument
701 if (keylen != DES_KEY_SIZE) in des_expand_key()
824 unsigned int keylen) in des3_ede_expand_key() argument
829 if (keylen != DES3_EDE_KEY_SIZE) in des3_ede_expand_key()
832 err = des3_ede_verify_key(key, keylen, true); in des3_ede_expand_key()