Lines Matching refs:head
53 struct trie_header_f *head;
104 return (const struct trie_child_entry_f *)((const char *)node + le64toh(hwdb->head->node_size));
110 base += le64toh(hwdb->head->node_size);
111 base += node->children_count * le64toh(hwdb->head->child_entry_size);
136 le64toh(hwdb->head->child_entry_size), trie_children_cmp_f);
196 node = trie_node_from_off(hwdb, hwdb->head->nodes_root_off);
299 if (memcmp(hwdb->map, sig, sizeof(hwdb->head->signature)) != 0 ||
300 (size_t)hwdb->st.st_size != le64toh(hwdb->head->file_size)) {
307 log_debug("tool version: %"PRIu64, le64toh(hwdb->head->tool_version));
309 log_debug("header size %8"PRIu64" bytes", le64toh(hwdb->head->header_size));
310 log_debug("strings %8"PRIu64" bytes", le64toh(hwdb->head->strings_len));
311 log_debug("nodes %8"PRIu64" bytes", le64toh(hwdb->head->nodes_len));