Lines Matching refs:cache_bytes
59 static int cache_bytes = 0, cache_size = 0; variable
287 while(cache_bytes >= SQUASHFS_METADATA_SIZE) { in get_xattr_space()
304 cache_bytes - SQUASHFS_METADATA_SIZE); in get_xattr_space()
305 cache_bytes -= SQUASHFS_METADATA_SIZE; in get_xattr_space()
311 data_space = cache_size - cache_bytes; in get_xattr_space()
322 *disk = ((long long) xattr_bytes << 16) | cache_bytes; in get_xattr_space()
323 cache_bytes += req_size; in get_xattr_space()
324 return data_cache + cache_bytes - req_size; in get_xattr_space()
467 while(cache_bytes) { in write_xattrs()
477 avail_bytes = cache_bytes > SQUASHFS_METADATA_SIZE ? in write_xattrs()
478 SQUASHFS_METADATA_SIZE : cache_bytes; in write_xattrs()
485 cache_bytes -= avail_bytes; in write_xattrs()
745 sdata_cache = malloc(cache_bytes); in save_xattrs()
749 memcpy(sdata_cache, data_cache, cache_bytes); in save_xattrs()
750 scache_bytes = cache_bytes; in save_xattrs()
768 cache_bytes = scache_bytes; in restore_xattrs()