Lines Matching refs:head

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