Lines Matching refs:keylen
117 int index, u16 * keylen);
335 u16 keylen; in befs_find_key() local
346 thiskey = befs_bt_get_key(sb, node, last, &keylen); in befs_find_key()
348 eq = befs_compare_strings(thiskey, keylen, findkey, findkey_len); in befs_find_key()
363 thiskey = befs_bt_get_key(sb, node, mid, &keylen); in befs_find_key()
364 eq = befs_compare_strings(thiskey, keylen, findkey, in befs_find_key()
421 u16 keylen; in befs_btree_read() local
490 keystart = befs_bt_get_key(sb, this_node, cur_key, &keylen); in befs_btree_read()
494 (int)keylen); in befs_btree_read()
496 if (bufsize < keylen + 1) { in befs_btree_read()
498 "for key of size %d", __func__, bufsize, keylen); in befs_btree_read()
503 strlcpy(keybuf, keystart, keylen + 1); in befs_btree_read()
505 *keysize = keylen; in befs_btree_read()
508 cur_key, keylen, keybuf, *value); in befs_btree_read()
676 int index, u16 * keylen) in befs_bt_get_key() argument
683 *keylen = 0; in befs_bt_get_key()
695 *keylen = fs16_to_cpu(sb, keylen_index[index]) - prev_key_end; in befs_bt_get_key()