Lines Matching defs:key
21 * Given the ID of the parent and the name build a search key.
23 void hfs_cat_build_key(struct super_block *sb, btree_key *key, u32 parent, const struct qstr *name)
25 key->cat.reserved = 0;
26 key->cat.ParID = cpu_to_be32(parent);
28 hfs_asc2mac(sb, &key->cat.CName, name);
29 key->key_len = 6 + key->cat.CName.len;
31 memset(&key->cat.CName, 0, sizeof(struct hfs_name));
32 key->key_len = 6;
160 * struct hfs_cat_key *key1: pointer to the first key to compare
161 * struct hfs_cat_key *key2: pointer to the second key to compare
254 if (fd.tree->keycmp(fd.search_key, (void *)&rd->key) < 0)