Lines Matching refs:key

102 /* The key as used on disk in a catalog tree.  This is used to lookup
116 /* The key as used on disk in a extent overflow tree. Using this key
158 /* A record descriptor, both key and data, used to pass to call back
162 void *key;
183 struct grub_hfs_extent_key key;
192 key.forktype = 0;
193 key.fileid = grub_cpu_to_be32 (file);
198 key.first_block = grub_cpu_to_be16 (pos);
232 key.first_block = grub_cpu_to_be16 (pos);
234 grub_hfs_find_node (data, (char *) &key, data->ext_root,
311 struct grub_hfs_catalog_key key;
370 key.parent_dir = grub_cpu_to_be32 (1);
371 key.strlen = data->sblock.volname[0];
372 grub_strcpy ((char *) key.str, (char *) (data->sblock.volname + 1));
374 if (grub_hfs_find_node (data, (char *) &key, data->cat_root,
702 grub_uint8_t key;
709 &pnt->key,
711 &pnt->key + pnt->keylen +(pnt->keylen + 1) % 2,
727 /* Lookup a record in the mounted filesystem DATA using the key KEY.
732 grub_hfs_find_node (struct grub_hfs_data *data, char *key,
746 cmp = grub_hfs_cmp_catkeys (rec->key, (void *) key);
748 cmp = grub_hfs_cmp_extkeys (rec->key, (void *) key);
750 /* If the key is smaller or equal to the current node, mark the
755 else /* The key can not be found in the tree. */
805 /* The lowest key possible with DIR as root directory. */
806 struct grub_hfs_catalog_key key = {0, grub_cpu_to_be32 (dir), 0, ""};
815 struct grub_hfs_catalog_key *ckey = rec->key;
817 if (grub_hfs_cmp_catkeys (rec->key, (void *) &key) <= 0)
836 struct grub_hfs_catalog_key *ckey = rec->key;
837 struct grub_hfs_catalog_key *origkey = &key;
1112 struct grub_hfs_catalog_key key;
1114 key.parent_dir = grub_cpu_to_be32 (inode);
1115 slen = utf8_to_macroman (key.str, path);
1121 key.strlen = slen;
1124 if (! grub_hfs_find_node (data, (char *) &key, data->cat_root,
1165 struct grub_hfs_catalog_key *ckey = rec->key;