Lines Matching refs:cached_extents
124 hfs_brec_insert(fd, HFS_I(inode)->cached_extents, sizeof(hfs_extent_rec)); in __hfs_ext_write_extent()
129 hfs_bnode_write(fd->bnode, HFS_I(inode)->cached_extents, fd->entryoffset, fd->entrylength); in __hfs_ext_write_extent()
179 res = __hfs_ext_read_extent(fd, HFS_I(inode)->cached_extents, inode->i_ino, in __hfs_ext_cache_extent()
183 HFS_I(inode)->cached_blocks = hfs_ext_block_count(HFS_I(inode)->cached_extents); in __hfs_ext_cache_extent()
368 dblock = hfs_ext_find_block(HFS_I(inode)->cached_extents, in hfs_get_block()
404 goal = hfs_ext_lastblock(HFS_I(inode)->cached_extents); in hfs_extend_file()
435 res = hfs_add_extent(HFS_I(inode)->cached_extents, in hfs_extend_file()
440 hfs_dump_extent(HFS_I(inode)->cached_extents); in hfs_extend_file()
464 memset(HFS_I(inode)->cached_extents, 0, sizeof(hfs_extent_rec)); in hfs_extend_file()
465 HFS_I(inode)->cached_extents[0].block = cpu_to_be16(start); in hfs_extend_file()
466 HFS_I(inode)->cached_extents[0].count = cpu_to_be16(len); in hfs_extend_file()
467 hfs_dump_extent(HFS_I(inode)->cached_extents); in hfs_extend_file()
530 hfs_free_extents(sb, HFS_I(inode)->cached_extents, in hfs_file_truncate()
532 hfs_dump_extent(HFS_I(inode)->cached_extents); in hfs_file_truncate()