Home
last modified time | relevance | path

Searched refs:dupl_ptr (Results 1 – 2 of 2) sorted by relevance

/external/squashfs-tools/squashfs-tools/
Dprocess_fragments.c277 struct file_info *dupl_ptr; in frag_thrd() local
312 dupl_ptr = dupl[DUP_HASH(file_size)]; in frag_thrd()
315 file_buffer->dupl_start = dupl_ptr; in frag_thrd()
318 for(; dupl_ptr; dupl_ptr = dupl_ptr->next) { in frag_thrd()
319 if(file_size != dupl_ptr->file_size || in frag_thrd()
320 file_size != dupl_ptr->fragment->size) in frag_thrd()
324 flag = dupl_ptr->have_frag_checksum; in frag_thrd()
325 checksum = dupl_ptr->fragment_checksum; in frag_thrd()
338 buffer = get_fragment_cksum(dupl_ptr, in frag_thrd()
345 buffer = get_fragment(dupl_ptr->fragment, in frag_thrd()
[all …]
Dmksquashfs.c1844 struct file_info *dupl_ptr = dupl[DUP_HASH(file_size)]; in add_file() local
1851 for(; dupl_ptr; dupl_ptr = dupl_ptr->next) { in add_file()
1852 if(file_size != dupl_ptr->file_size) in add_file()
1854 if(blocks != 0 && start != dupl_ptr->start) in add_file()
1856 if(fragment != dupl_ptr->fragment->index) in add_file()
1859 dupl_ptr->fragment->offset || bytes != in add_file()
1860 dupl_ptr->fragment->size)) in add_file()
1891 struct file_info *dupl_ptr = dupl[DUP_HASH(file_size)]; in pre_duplicate() local
1893 for(; dupl_ptr; dupl_ptr = dupl_ptr->next) in pre_duplicate()
1894 if(dupl_ptr->file_size == file_size) in pre_duplicate()
[all …]