Home | History | Annotate | Download | only in squashfs-tools

Lines Matching defs:bytes

34 	int bytes = SQUASHFS_FRAGMENT_BYTES(sBlk.s.fragments);
47 fragment_table = malloc(bytes);
64 bytes & (SQUASHFS_METADATA_SIZE - 1);
101 int bytes = lookup_entry(inode_table_hash, start);
102 char *block_ptr = inode_table + bytes + offset;
107 if(bytes == -1)
258 int bytes;
291 bytes = lookup_entry(directory_table_hash, start);
293 if(bytes == -1)
297 bytes += (*i)->offset;
298 size = (*i)->data + bytes - 3;
300 while(bytes < size) {
301 SQUASHFS_SWAP_DIR_HEADER(directory_table + bytes, &dirh);
305 "%d, %d directory entries\n", bytes, dir_count);
306 bytes += sizeof(dirh);
313 SQUASHFS_SWAP_DIR_ENTRY(directory_table + bytes, dire);
315 bytes += sizeof(*dire);
321 memcpy(dire->name, directory_table + bytes,
341 bytes += dire->size + 1;
357 int bytes = SQUASHFS_ID_BYTES(sBlk.s.no_ids);
363 id_table = malloc(bytes);
379 bytes & (SQUASHFS_METADATA_SIZE - 1);