diff options
author | Miika Pekkarinen <miipekk@ihme.org> | 2006-03-28 11:51:12 +0000 |
---|---|---|
committer | Miika Pekkarinen <miipekk@ihme.org> | 2006-03-28 11:51:12 +0000 |
commit | 2d93495df2dd0c7c61fa73e07bb8fcae3d1ea5fd (patch) | |
tree | 38d90cb0894b238b84cfa88b3e4cc3658b8a7ced /firmware/include/dircache.h | |
parent | 6784e0333f3d8ee806a7eacbf2b709f45ffea0f5 (diff) |
Boost open() performance on platforms with dircache. Tagcache initial
scanning now over 50% faster than before.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9306 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/include/dircache.h')
-rw-r--r-- | firmware/include/dircache.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/include/dircache.h b/firmware/include/dircache.h index 93bc413dc9..48f29806e3 100644 --- a/firmware/include/dircache.h +++ b/firmware/include/dircache.h @@ -82,12 +82,12 @@ const struct dircache_entry *dircache_get_entry_ptr(const char *filename); void dircache_copy_path(const struct dircache_entry *entry, char *buf, int size); void dircache_bind(int fd, const char *path); -void dircache_update_filesize(int fd, long newsize); +void dircache_update_filesize(int fd, long newsize, long startcluster); void dircache_mkdir(const char *path); void dircache_rmdir(const char *path); void dircache_remove(const char *name); void dircache_rename(const char *oldpath, const char *newpath); -void dircache_add_file(const char *path); +void dircache_add_file(const char *path, long startcluster); DIRCACHED* opendir_cached(const char* name); struct dircache_entry* readdir_cached(DIRCACHED* dir); |