Home
last modified time | relevance | path

Searched refs:cache_bytes (Results 1 – 2 of 2) sorted by relevance

/external/squashfs-tools/squashfs-tools/
Dxattr.c79 static int cache_bytes = 0, cache_size = 0; variable
322 while(cache_bytes >= SQUASHFS_METADATA_SIZE) { in get_xattr_space()
339 cache_bytes - SQUASHFS_METADATA_SIZE); in get_xattr_space()
340 cache_bytes -= SQUASHFS_METADATA_SIZE; in get_xattr_space()
346 data_space = cache_size - cache_bytes; in get_xattr_space()
357 *disk = ((long long) xattr_bytes << 16) | cache_bytes; in get_xattr_space()
358 cache_bytes += req_size; in get_xattr_space()
359 return data_cache + cache_bytes - req_size; in get_xattr_space()
502 while(cache_bytes) { in write_xattrs()
512 avail_bytes = cache_bytes > SQUASHFS_METADATA_SIZE ? in write_xattrs()
[all …]
Dmksquashfs.c153 unsigned int cache_bytes = 0, cache_size = 0, inode_count = 0; variable
416 memcpy(data_cache, sdata_cache, cache_bytes = scache_bytes); in restorefs()
487 while(cache_bytes >= SQUASHFS_METADATA_SIZE) { in get_inode()
506 cache_bytes - SQUASHFS_METADATA_SIZE); in get_inode()
507 cache_bytes -= SQUASHFS_METADATA_SIZE; in get_inode()
510 data_space = (cache_size - cache_bytes); in get_inode()
525 cache_bytes += req_size; in get_inode()
527 return data_cache + cache_bytes - req_size; in get_inode()
628 while(cache_bytes) { in write_inodes()
638 avail_bytes = cache_bytes > SQUASHFS_METADATA_SIZE ? in write_inodes()
[all …]