Lines Matching refs:cached_extents
120 hfs_brec_insert(fd, HFS_I(inode)->cached_extents, sizeof(hfs_extent_rec)); in __hfs_ext_write_extent()
125 hfs_bnode_write(fd->bnode, HFS_I(inode)->cached_extents, fd->entryoffset, fd->entrylength); in __hfs_ext_write_extent()
175 res = __hfs_ext_read_extent(fd, HFS_I(inode)->cached_extents, inode->i_ino, in __hfs_ext_cache_extent()
179 HFS_I(inode)->cached_blocks = hfs_ext_block_count(HFS_I(inode)->cached_extents); in __hfs_ext_cache_extent()
362 dblock = hfs_ext_find_block(HFS_I(inode)->cached_extents, in hfs_get_block()
398 goal = hfs_ext_lastblock(HFS_I(inode)->cached_extents); in hfs_extend_file()
429 res = hfs_add_extent(HFS_I(inode)->cached_extents, in hfs_extend_file()
434 hfs_dump_extent(HFS_I(inode)->cached_extents); in hfs_extend_file()
458 memset(HFS_I(inode)->cached_extents, 0, sizeof(hfs_extent_rec)); in hfs_extend_file()
459 HFS_I(inode)->cached_extents[0].block = cpu_to_be16(start); in hfs_extend_file()
460 HFS_I(inode)->cached_extents[0].count = cpu_to_be16(len); in hfs_extend_file()
461 hfs_dump_extent(HFS_I(inode)->cached_extents); in hfs_extend_file()
524 hfs_free_extents(sb, HFS_I(inode)->cached_extents, in hfs_file_truncate()
526 hfs_dump_extent(HFS_I(inode)->cached_extents); in hfs_file_truncate()