Home
last modified time | relevance | path

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

/external/squashfs-tools/squashfs-tools/
Dxattr.c78 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()
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.h243 extern struct cache *fragment_cache, *data_cache;
Dmksquashfs.c153 char *data_cache = NULL; variable
421 + (((char *)A) - data_cache)))
429 memcpy(data_cache, sdata_cache, cache_bytes = scache_bytes); in restorefs()
512 data_cache, SQUASHFS_METADATA_SIZE, in get_inode()
518 memmove(data_cache, data_cache + SQUASHFS_METADATA_SIZE, in get_inode()
530 void *dc = realloc(data_cache, cache_size + in get_inode()
535 data_cache = dc; in get_inode()
540 return data_cache + cache_bytes - req_size; in get_inode()
638 char *datap = data_cache; in write_inodes()
6481 &data_cache, &directory_table, in main()
[all …]
Dunsquashfs.c46 struct cache *fragment_cache, *data_cache; variable
1041 block->buffer = cache_get(data_cache, start, in write_file()
2327 data_cache = cache_init(block_size, data_buffer_size); in initialise_threads()