Searched refs:c_byte (Results 1 - 4 of 4) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/src/router/squashfs-4.2/ |
H A D | read_fs.c | 76 unsigned short c_byte; local 79 res = read_fs_bytes(fd, start, 2, &c_byte); 83 SQUASHFS_INSWAP_SHORTS(&c_byte, 1); 85 if(SQUASHFS_COMPRESSED(c_byte)) { 89 c_byte = SQUASHFS_COMPRESSED_SIZE(c_byte); 90 res = read_fs_bytes(fd, start + 2, c_byte, buffer); 94 res = compressor_uncompress(comp, block, buffer, c_byte, 102 *next = start + 2 + c_byte; 105 c_byte [all...] |
H A D | unsquashfs.c | 575 unsigned short c_byte; local 579 if(read_fs_bytes(fd, start, 2, &c_byte) == FALSE) 581 c_byte = (c_byte >> 8) | ((c_byte & 0xff) << 8); 583 if(read_fs_bytes(fd, start, 2, &c_byte) == FALSE) 587 SQUASHFS_COMPRESSED_SIZE(c_byte), SQUASHFS_COMPRESSED(c_byte) ? 592 if(SQUASHFS_COMPRESSED(c_byte)) { 596 c_byte 629 int c_byte = SQUASHFS_COMPRESSED_SIZE_BLOCK(size); local 833 int c_byte = SQUASHFS_COMPRESSED_SIZE_BLOCK(block_list[i]); local [all...] |
H A D | xattr.c | 258 unsigned short c_byte; local 274 c_byte = mangle(xattr_table + xattr_bytes + BLOCK_OFFSET, 277 TRACE("Xattr block @ 0x%x, size %d\n", xattr_bytes, c_byte); 278 SQUASHFS_SWAP_SHORTS(&c_byte, xattr_table + xattr_bytes, 1); 279 xattr_bytes += SQUASHFS_COMPRESSED_SIZE(c_byte) + BLOCK_OFFSET; 441 unsigned short c_byte; local 466 c_byte = mangle(xattr_table + xattr_bytes + BLOCK_OFFSET, datap, 468 TRACE("Xattr block @ 0x%x, size %d\n", xattr_bytes, c_byte); 469 SQUASHFS_SWAP_SHORTS(&c_byte, xattr_table + xattr_bytes, 1); 470 xattr_bytes += SQUASHFS_COMPRESSED_SIZE(c_byte) [all...] |
H A D | mksquashfs.c | 321 int c_byte; member in struct:file_buffer 864 int error, c_byte = 0; local 867 c_byte = compressor_compress(comp, strm, d, s, size, block_size, 869 if(c_byte == -1) 874 if(c_byte == 0 || c_byte >= size) { 880 return c_byte; 895 unsigned short c_byte; local 909 c_byte = mangle(inode_table + inode_bytes + BLOCK_OFFSET, 912 TRACE("Inode block @ 0x%x, size %d\n", inode_bytes, c_byte); 1038 unsigned short c_byte; local 1076 unsigned short c_byte; local 1601 unsigned short c_byte; local 1772 int c_byte; member in struct:frag_locked 1820 add_pending_fragment(struct file_buffer *write_buffer, int c_byte, int fragment) argument 1899 unsigned short c_byte; local 2616 int c_byte, compressed_size; local 5107 unsigned short c_byte = size | SQUASHFS_COMPRESSED_BIT; local [all...] |
Completed in 239 milliseconds