Lines Matching refs:node_size
60 char *buf, u16 node_size) in hfsplus_init_header_node() argument
73 clump_size, node_size); in hfsplus_init_header_node()
76 rec_offsets = (__be16 *)(buf + node_size); in hfsplus_init_header_node()
85 head->node_size = cpu_to_be16(node_size); in hfsplus_init_header_node()
87 do_div(tmp, node_size); in hfsplus_init_header_node()
98 hdr_node_map_rec_bits = 8 * (node_size - offset - (4 * sizeof(u16))); in hfsplus_init_header_node()
104 map_node_bits = 8 * (node_size - sizeof(struct hfs_bnode_desc) - in hfsplus_init_header_node()
133 u16 node_size = HFSPLUS_ATTR_TREE_NODE_SIZE; in hfsplus_create_attributes_file() local
185 node_size, in hfsplus_create_attributes_file()
210 buf = kzalloc(node_size, GFP_NOFS); in hfsplus_create_attributes_file()
217 hfsplus_init_header_node(attr_file, clump_size, buf, node_size); in hfsplus_create_attributes_file()
223 for (; written < node_size; index++, written += PAGE_CACHE_SIZE) { in hfsplus_create_attributes_file()
234 min_t(size_t, PAGE_CACHE_SIZE, node_size - written)); in hfsplus_create_attributes_file()