Lines Matching refs:extent

157 					    struct hfsplus_extent *extent,  in __hfsplus_ext_read_extent()  argument
172 hfs_bnode_read(fd->bnode, extent, fd->entryoffset, in __hfsplus_ext_read_extent()
297 static void hfsplus_dump_extent(struct hfsplus_extent *extent) in hfsplus_dump_extent() argument
304 be32_to_cpu(extent[i].start_block), in hfsplus_dump_extent()
305 be32_to_cpu(extent[i].block_count)); in hfsplus_dump_extent()
309 static int hfsplus_add_extent(struct hfsplus_extent *extent, u32 offset, in hfsplus_add_extent() argument
315 hfsplus_dump_extent(extent); in hfsplus_add_extent()
316 for (i = 0; i < 8; extent++, i++) { in hfsplus_add_extent()
317 count = be32_to_cpu(extent->block_count); in hfsplus_add_extent()
319 start = be32_to_cpu(extent->start_block); in hfsplus_add_extent()
323 extent++; in hfsplus_add_extent()
324 extent->start_block = cpu_to_be32(alloc_block); in hfsplus_add_extent()
327 extent->block_count = cpu_to_be32(block_count); in hfsplus_add_extent()
338 struct hfsplus_extent *extent, in hfsplus_free_extents() argument
348 hfsplus_dump_extent(extent); in hfsplus_free_extents()
349 for (i = 0; i < 8; extent++, i++) { in hfsplus_free_extents()
350 count = be32_to_cpu(extent->block_count); in hfsplus_free_extents()
361 start = be32_to_cpu(extent->start_block); in hfsplus_free_extents()
369 extent->block_count = 0; in hfsplus_free_extents()
370 extent->start_block = 0; in hfsplus_free_extents()
380 extent->block_count = cpu_to_be32(count); in hfsplus_free_extents()
391 extent--; in hfsplus_free_extents()
392 count = be32_to_cpu(extent->block_count); in hfsplus_free_extents()