Lines Matching refs:head
22 struct hfs_btree_header_rec *head;
83 head = (struct hfs_btree_header_rec *)(kmap_local_page(page) +
85 tree->root = be32_to_cpu(head->root);
86 tree->leaf_count = be32_to_cpu(head->leaf_count);
87 tree->leaf_head = be32_to_cpu(head->leaf_head);
88 tree->leaf_tail = be32_to_cpu(head->leaf_tail);
89 tree->node_count = be32_to_cpu(head->node_count);
90 tree->free_nodes = be32_to_cpu(head->free_nodes);
91 tree->attributes = be32_to_cpu(head->attributes);
92 tree->node_size = be16_to_cpu(head->node_size);
93 tree->max_key_len = be16_to_cpu(head->max_key_len);
94 tree->depth = be16_to_cpu(head->depth);
123 kunmap_local(head);
128 kunmap_local(head);
164 struct hfs_btree_header_rec *head;
174 head = (struct hfs_btree_header_rec *)(kmap_local_page(page) +
177 head->root = cpu_to_be32(tree->root);
178 head->leaf_count = cpu_to_be32(tree->leaf_count);
179 head->leaf_head = cpu_to_be32(tree->leaf_head);
180 head->leaf_tail = cpu_to_be32(tree->leaf_tail);
181 head->node_count = cpu_to_be32(tree->node_count);
182 head->free_nodes = cpu_to_be32(tree->free_nodes);
183 head->attributes = cpu_to_be32(tree->attributes);
184 head->depth = cpu_to_be16(tree->depth);
186 kunmap_local(head);