Lines Matching refs:xattr_bytes
85 extern unsigned int xattr_bytes, total_xattr_bytes;
288 if((xattr_size - xattr_bytes) < in get_xattr_space()
297 c_byte = mangle(xattr_table + xattr_bytes + BLOCK_OFFSET, in get_xattr_space()
300 TRACE("Xattr block @ 0x%x, size %d\n", xattr_bytes, c_byte); in get_xattr_space()
301 SQUASHFS_SWAP_SHORTS(&c_byte, xattr_table + xattr_bytes, 1); in get_xattr_space()
302 xattr_bytes += SQUASHFS_COMPRESSED_SIZE(c_byte) + BLOCK_OFFSET; in get_xattr_space()
322 *disk = ((long long) xattr_bytes << 16) | cache_bytes; in get_xattr_space()
468 if((xattr_size - xattr_bytes) < in write_xattrs()
479 c_byte = mangle(xattr_table + xattr_bytes + BLOCK_OFFSET, datap, in write_xattrs()
481 TRACE("Xattr block @ 0x%x, size %d\n", xattr_bytes, c_byte); in write_xattrs()
482 SQUASHFS_SWAP_SHORTS(&c_byte, xattr_table + xattr_bytes, 1); in write_xattrs()
483 xattr_bytes += SQUASHFS_COMPRESSED_SIZE(c_byte) + BLOCK_OFFSET; in write_xattrs()
491 write_destination(fd, bytes, xattr_bytes, xattr_table); in write_xattrs()
492 bytes += xattr_bytes; in write_xattrs()
737 sxattr_bytes = xattr_bytes; in save_xattrs()
763 xattr_bytes = sxattr_bytes; in restore_xattrs()