Searched refs:fragment_table (Results 1 – 7 of 7) sorted by relevance
/external/squashfs-tools/squashfs-tools/ |
D | unsquash-2.c | 28 static squashfs_fragment_entry_2 *fragment_table; variable 59 fragment_table = malloc(bytes); in read_fragment_table_2() 60 if(fragment_table == NULL) in read_fragment_table_2() 92 expected, ((char *) fragment_table) + (i * in read_fragment_table_2() 107 (&fragment_table[i])); in read_fragment_table_2() 108 memcpy((char *) &fragment_table[i], (char *) &sfragment, in read_fragment_table_2() 122 squashfs_fragment_entry_2 *fragment_entry = &fragment_table[fragment]; in read_fragment_2()
|
D | unsquash-3.c | 28 static squashfs_fragment_entry_3 *fragment_table; variable 46 fragment_table = malloc(bytes); in read_fragment_table_3() 47 if(fragment_table == NULL) in read_fragment_table_3() 79 expected, ((char *) fragment_table) + (i * in read_fragment_table_3() 94 (&fragment_table[i])); in read_fragment_table_3() 95 memcpy((char *) &fragment_table[i], (char *) &sfragment, in read_fragment_table_3() 109 squashfs_fragment_entry_3 *fragment_entry = &fragment_table[fragment]; in read_fragment_3()
|
D | unsquash-4.c | 28 static struct squashfs_fragment_entry *fragment_table; variable 47 fragment_table = malloc(bytes); in read_fragment_table_4() 48 if(fragment_table == NULL) in read_fragment_table_4() 66 expected, ((char *) fragment_table) + (i * in read_fragment_table_4() 78 SQUASHFS_INSWAP_FRAGMENT_ENTRY(&fragment_table[i]); in read_fragment_table_4() 91 fragment_entry = &fragment_table[fragment]; in read_fragment_4()
|
D | read_fs.c | 751 struct squashfs_fragment_entry **fragment_table) in read_fragment_table() argument 765 *fragment_table = malloc(bytes); in read_fragment_table() 766 if(*fragment_table == NULL) in read_fragment_table() 775 free(*fragment_table); in read_fragment_table() 785 expected, ((unsigned char *) *fragment_table) + in read_fragment_table() 794 free(*fragment_table); in read_fragment_table() 800 SQUASHFS_INSWAP_FRAGMENT_ENTRY(&(*fragment_table)[i]); in read_fragment_table() 867 struct squashfs_fragment_entry **fragment_table, in read_filesystem() argument 887 if(read_fragment_table(fd, sBlk, fragment_table) == 0) in read_filesystem()
|
D | mksquashfs.h | 153 extern struct squashfs_fragment_entry *fragment_table;
|
D | mksquashfs.c | 229 struct squashfs_fragment_entry *fragment_table = NULL; variable 1530 disk_fragment = &fragment_table[index]; in get_fragment() 1647 size = SQUASHFS_COMPRESSED_SIZE_BLOCK(fragment_table[frg].size); in unlock_fragments() 1648 fragment_table[frg].start_block = bytes; in unlock_fragments() 1664 fragment_table[fragment].size = c_byte; in add_pending_fragment() 1678 fragment_table[fragment->block].unused = 0; in write_fragment() 1693 void *ft = realloc(fragment_table, (fragments + in allocate_fragment() 1697 fragment_table = ft; in allocate_fragment() 1820 "size %d\n", i, fragment_table[i].start_block, in write_fragment_table() 1821 fragment_table[i].size); in write_fragment_table() [all …]
|
D | process_fragments.c | 172 disk_fragment = &fragment_table[index]; in get_fragment()
|