Searched refs:data_cache (Results 1 – 6 of 6) sorted by relevance
| /external/squashfs-tools/squashfs-tools/ |
| D | xattr.c | 78 static char *data_cache = NULL; variable 333 data_cache, SQUASHFS_METADATA_SIZE, in get_xattr_space() 338 memmove(data_cache, data_cache + SQUASHFS_METADATA_SIZE, in get_xattr_space() 349 data_cache = realloc(data_cache, cache_size + in get_xattr_space() 351 if(data_cache == NULL) in get_xattr_space() 359 return data_cache + cache_bytes - req_size; in get_xattr_space() 492 char *datap = data_cache; in write_xattrs() 796 memcpy(sdata_cache, data_cache, cache_bytes); in save_xattrs() 814 memcpy(data_cache, sdata_cache, scache_bytes); in restore_xattrs()
|
| D | unsquashfs_info.c | 87 dump_cache(data_cache); in dump_state()
|
| D | read_fs.c | 857 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()
|
| D | unsquashfs.h | 243 extern struct cache *fragment_cache, *data_cache;
|
| D | mksquashfs.c | 154 char *data_cache = NULL; variable 422 + (((char *)A) - data_cache))) 430 memcpy(data_cache, sdata_cache, cache_bytes = scache_bytes); in restorefs() 513 data_cache, SQUASHFS_METADATA_SIZE, in get_inode() 519 memmove(data_cache, data_cache + SQUASHFS_METADATA_SIZE, in get_inode() 531 void *dc = realloc(data_cache, cache_size + in get_inode() 536 data_cache = dc; in get_inode() 541 return data_cache + cache_bytes - req_size; in get_inode() 639 char *datap = data_cache; in write_inodes() 6482 &data_cache, &directory_table, in main() [all …]
|
| D | unsquashfs.c | 47 struct cache *fragment_cache, *data_cache; variable 1042 block->buffer = cache_get(data_cache, start, in write_file() 2328 data_cache = cache_init(block_size, data_buffer_size); in initialise_threads()
|