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.c1929 struct file_info *dupl_ptr = dupl[DUP_HASH(file_size)]; in add_file() local
1936 for(; dupl_ptr; dupl_ptr = dupl_ptr->next) { in add_file()
1937 if(file_size != dupl_ptr->file_size) in add_file()
1939 if(blocks != 0 && start != dupl_ptr->start) in add_file()
1941 if(fragment != dupl_ptr->fragment->index) in add_file()
1944 dupl_ptr->fragment->offset || bytes != in add_file()
1945 dupl_ptr->fragment->size)) in add_file()
1976 struct file_info *dupl_ptr = dupl[DUP_HASH(file_size)]; in pre_duplicate() local
1978 for(; dupl_ptr; dupl_ptr = dupl_ptr->next) in pre_duplicate()
1979 if(dupl_ptr->file_size == file_size) in pre_duplicate()
[all …]