Lines Matching refs:keylen
114 int index, u16 * keylen);
341 u16 keylen; in befs_find_key() local
354 thiskey = befs_bt_get_key(sb, node, last, &keylen); in befs_find_key()
356 eq = befs_compare_strings(thiskey, keylen, findkey, findkey_len); in befs_find_key()
371 thiskey = befs_bt_get_key(sb, node, mid, &keylen); in befs_find_key()
372 eq = befs_compare_strings(thiskey, keylen, findkey, in befs_find_key()
424 u16 keylen; in befs_btree_read() local
492 keystart = befs_bt_get_key(sb, this_node, cur_key, &keylen); in befs_btree_read()
494 befs_debug(sb, "Read [%Lu,%d]: keysize %d", node_off, cur_key, keylen); in befs_btree_read()
496 if (bufsize < keylen + 1) { in befs_btree_read()
498 "for key of size %d", bufsize, keylen); in befs_btree_read()
503 strncpy(keybuf, keystart, keylen); in befs_btree_read()
505 *keysize = keylen; in befs_btree_read()
506 keybuf[keylen] = '\0'; in befs_btree_read()
509 cur_key, keylen, keybuf, *value); in befs_btree_read()
677 int index, u16 * keylen) in befs_bt_get_key() argument
684 *keylen = 0; in befs_bt_get_key()
696 *keylen = fs16_to_cpu(sb, keylen_index[index]) - prev_key_end; in befs_bt_get_key()