Home
last modified time | relevance | path

Searched refs:fragment_entry (Results 1 – 6 of 6) sorted by relevance

/external/squashfs-tools/kernel/fs/squashfs/
Dfragment.c57 struct squashfs_fragment_entry fragment_entry; in squashfs_frag_lookup() local
60 size = squashfs_read_metadata(sb, &fragment_entry, &start_block, in squashfs_frag_lookup()
61 &offset, sizeof(fragment_entry)); in squashfs_frag_lookup()
65 *fragment_block = le64_to_cpu(fragment_entry.start_block); in squashfs_frag_lookup()
66 size = le32_to_cpu(fragment_entry.size); in squashfs_frag_lookup()
/external/squashfs-tools/squashfs-tools/
Dunsquash-2.c122 squashfs_fragment_entry_2 *fragment_entry = &fragment_table[fragment]; in read_fragment_2() local
123 *start_block = fragment_entry->start_block; in read_fragment_2()
124 *size = fragment_entry->size; in read_fragment_2()
Dunsquash-4.c89 struct squashfs_fragment_entry *fragment_entry; in read_fragment_4() local
91 fragment_entry = &fragment_table[fragment]; in read_fragment_4()
92 *start_block = fragment_entry->start_block; in read_fragment_4()
93 *size = fragment_entry->size; in read_fragment_4()
Dunsquash-3.c109 squashfs_fragment_entry_3 *fragment_entry = &fragment_table[fragment]; in read_fragment_3() local
110 *start_block = fragment_entry->start_block; in read_fragment_3()
111 *size = fragment_entry->size; in read_fragment_3()
/external/squashfs-tools/kernel-2.4/fs/squashfs/
Dsquashfs2_0.c105 struct squashfs_fragment_entry_2 fragment_entry; in get_fragment_location_2() local
115 SQUASHFS_SWAP_FRAGMENT_ENTRY_2(&fragment_entry, &sfragment_entry); in get_fragment_location_2()
117 if (!squashfs_get_cached_block(s, (char *) &fragment_entry, in get_fragment_location_2()
119 sizeof(fragment_entry), &start_block, in get_fragment_location_2()
123 *fragment_start_block = fragment_entry.start_block; in get_fragment_location_2()
124 *fragment_size = fragment_entry.size; in get_fragment_location_2()
Dinode.c382 struct squashfs_fragment_entry fragment_entry; in get_fragment_location() local
392 SQUASHFS_SWAP_FRAGMENT_ENTRY(&fragment_entry, &sfragment_entry); in get_fragment_location()
394 if (!squashfs_get_cached_block(s, (char *) &fragment_entry, in get_fragment_location()
396 sizeof(fragment_entry), &start_block, in get_fragment_location()
400 *fragment_start_block = fragment_entry.start_block; in get_fragment_location()
401 *fragment_size = fragment_entry.size; in get_fragment_location()