Home
last modified time | relevance | path

Searched refs:data_cache (Results 1 – 6 of 6) sorted by relevance

/external/squashfs-tools/squashfs-tools/
Dxattr.c58 static char *data_cache = NULL; variable
298 data_cache, SQUASHFS_METADATA_SIZE, in get_xattr_space()
303 memmove(data_cache, data_cache + SQUASHFS_METADATA_SIZE, in get_xattr_space()
314 data_cache = realloc(data_cache, cache_size + in get_xattr_space()
316 if(data_cache == NULL) in get_xattr_space()
324 return data_cache + cache_bytes - req_size; in get_xattr_space()
457 char *datap = data_cache; in write_xattrs()
749 memcpy(sdata_cache, data_cache, cache_bytes); in save_xattrs()
767 memcpy(data_cache, sdata_cache, scache_bytes); in restore_xattrs()
Dunsquashfs_info.c87 dump_cache(data_cache); in dump_state()
Dread_fs.c857 char **cinode_table, char **data_cache, char **cdirectory_table, in read_filesystem() argument
954 *data_cache = malloc(root_inode_offset + *root_inode_size); in read_filesystem()
955 if(*data_cache == NULL) in read_filesystem()
958 memcpy(*data_cache, inode_table + root_inode_block, in read_filesystem()
Dunsquashfs.h239 extern struct cache *fragment_cache, *data_cache;
Dmksquashfs.c136 char *data_cache = NULL; variable
374 + (((char *)A) - data_cache)))
382 memcpy(data_cache, sdata_cache, cache_bytes = scache_bytes); in restorefs()
464 data_cache, SQUASHFS_METADATA_SIZE, in get_inode()
470 memmove(data_cache, data_cache + SQUASHFS_METADATA_SIZE, in get_inode()
482 void *dc = realloc(data_cache, cache_size + in get_inode()
487 data_cache = dc; in get_inode()
492 return data_cache + cache_bytes - req_size; in get_inode()
590 char *datap = data_cache; in write_inodes()
5950 &data_cache, &directory_table, in main()
[all …]
Dunsquashfs.c41 struct cache *fragment_cache, *data_cache; variable
1036 block->buffer = cache_get(data_cache, start, in write_file()
2321 data_cache = cache_init(block_size, data_buffer_size); in initialise_threads()