Lines Matching refs:extent

152 					    struct hfsplus_extent *extent,  in __hfsplus_ext_read_extent()  argument
167 hfs_bnode_read(fd->bnode, extent, fd->entryoffset, in __hfsplus_ext_read_extent()
290 static void hfsplus_dump_extent(struct hfsplus_extent *extent) in hfsplus_dump_extent() argument
297 be32_to_cpu(extent[i].start_block), in hfsplus_dump_extent()
298 be32_to_cpu(extent[i].block_count)); in hfsplus_dump_extent()
302 static int hfsplus_add_extent(struct hfsplus_extent *extent, u32 offset, in hfsplus_add_extent() argument
308 hfsplus_dump_extent(extent); in hfsplus_add_extent()
309 for (i = 0; i < 8; extent++, i++) { in hfsplus_add_extent()
310 count = be32_to_cpu(extent->block_count); in hfsplus_add_extent()
312 start = be32_to_cpu(extent->start_block); in hfsplus_add_extent()
316 extent++; in hfsplus_add_extent()
317 extent->start_block = cpu_to_be32(alloc_block); in hfsplus_add_extent()
320 extent->block_count = cpu_to_be32(block_count); in hfsplus_add_extent()
331 struct hfsplus_extent *extent, in hfsplus_free_extents() argument
338 hfsplus_dump_extent(extent); in hfsplus_free_extents()
339 for (i = 0; i < 8; extent++, i++) { in hfsplus_free_extents()
340 count = be32_to_cpu(extent->block_count); in hfsplus_free_extents()
351 start = be32_to_cpu(extent->start_block); in hfsplus_free_extents()
359 extent->block_count = 0; in hfsplus_free_extents()
360 extent->start_block = 0; in hfsplus_free_extents()
370 extent->block_count = cpu_to_be32(count); in hfsplus_free_extents()
381 extent--; in hfsplus_free_extents()
382 count = be32_to_cpu(extent->block_count); in hfsplus_free_extents()