• Home
  • Raw
  • Download

Lines Matching refs:head

136 	struct hfs_btree_header_rec *head;  in hfs_btree_open()  local
166 head = (struct hfs_btree_header_rec *)(kmap_local_page(page) + in hfs_btree_open()
168 tree->root = be32_to_cpu(head->root); in hfs_btree_open()
169 tree->leaf_count = be32_to_cpu(head->leaf_count); in hfs_btree_open()
170 tree->leaf_head = be32_to_cpu(head->leaf_head); in hfs_btree_open()
171 tree->leaf_tail = be32_to_cpu(head->leaf_tail); in hfs_btree_open()
172 tree->node_count = be32_to_cpu(head->node_count); in hfs_btree_open()
173 tree->free_nodes = be32_to_cpu(head->free_nodes); in hfs_btree_open()
174 tree->attributes = be32_to_cpu(head->attributes); in hfs_btree_open()
175 tree->node_size = be16_to_cpu(head->node_size); in hfs_btree_open()
176 tree->max_key_len = be16_to_cpu(head->max_key_len); in hfs_btree_open()
177 tree->depth = be16_to_cpu(head->depth); in hfs_btree_open()
206 (head->key_type == HFSPLUS_KEY_BINARY)) in hfs_btree_open()
243 kunmap_local(head); in hfs_btree_open()
248 kunmap_local(head); in hfs_btree_open()
285 struct hfs_btree_header_rec *head; in hfs_btree_write() local
295 head = (struct hfs_btree_header_rec *)(kmap_local_page(page) + in hfs_btree_write()
298 head->root = cpu_to_be32(tree->root); in hfs_btree_write()
299 head->leaf_count = cpu_to_be32(tree->leaf_count); in hfs_btree_write()
300 head->leaf_head = cpu_to_be32(tree->leaf_head); in hfs_btree_write()
301 head->leaf_tail = cpu_to_be32(tree->leaf_tail); in hfs_btree_write()
302 head->node_count = cpu_to_be32(tree->node_count); in hfs_btree_write()
303 head->free_nodes = cpu_to_be32(tree->free_nodes); in hfs_btree_write()
304 head->attributes = cpu_to_be32(tree->attributes); in hfs_btree_write()
305 head->depth = cpu_to_be16(tree->depth); in hfs_btree_write()
307 kunmap_local(head); in hfs_btree_write()