Searched refs:dupl_ptr (Results 1 – 2 of 2) sorted by relevance
277 struct file_info *dupl_ptr; in frag_thrd() local312 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 …]
1888 struct file_info *dupl_ptr = dupl[DUP_HASH(file_size)]; in add_file() local1895 for(; dupl_ptr; dupl_ptr = dupl_ptr->next) { in add_file()1896 if(file_size != dupl_ptr->file_size) in add_file()1898 if(blocks != 0 && start != dupl_ptr->start) in add_file()1900 if(fragment != dupl_ptr->fragment->index) in add_file()1903 dupl_ptr->fragment->offset || bytes != in add_file()1904 dupl_ptr->fragment->size)) in add_file()1935 struct file_info *dupl_ptr = dupl[DUP_HASH(file_size)]; in pre_duplicate() local1937 for(; dupl_ptr; dupl_ptr = dupl_ptr->next) in pre_duplicate()1938 if(dupl_ptr->file_size == file_size) in pre_duplicate()[all …]