Lines Matching refs:xattr_bytes
105 extern unsigned int xattr_bytes, total_xattr_bytes;
323 if((xattr_size - xattr_bytes) < in get_xattr_space()
332 c_byte = mangle(xattr_table + xattr_bytes + BLOCK_OFFSET, in get_xattr_space()
335 TRACE("Xattr block @ 0x%x, size %d\n", xattr_bytes, c_byte); in get_xattr_space()
336 SQUASHFS_SWAP_SHORTS(&c_byte, xattr_table + xattr_bytes, 1); in get_xattr_space()
337 xattr_bytes += SQUASHFS_COMPRESSED_SIZE(c_byte) + BLOCK_OFFSET; in get_xattr_space()
357 *disk = ((long long) xattr_bytes << 16) | cache_bytes; in get_xattr_space()
503 if((xattr_size - xattr_bytes) < in write_xattrs()
514 c_byte = mangle(xattr_table + xattr_bytes + BLOCK_OFFSET, datap, in write_xattrs()
516 TRACE("Xattr block @ 0x%x, size %d\n", xattr_bytes, c_byte); in write_xattrs()
517 SQUASHFS_SWAP_SHORTS(&c_byte, xattr_table + xattr_bytes, 1); in write_xattrs()
518 xattr_bytes += SQUASHFS_COMPRESSED_SIZE(c_byte) + BLOCK_OFFSET; in write_xattrs()
526 write_destination(fd, bytes, xattr_bytes, xattr_table); in write_xattrs()
527 bytes += xattr_bytes; in write_xattrs()
784 sxattr_bytes = xattr_bytes; in save_xattrs()
810 xattr_bytes = sxattr_bytes; in restore_xattrs()