Searched refs:count_ones (Results 1 – 6 of 6) sorted by relevance
68 int bads = count_ones(bad_sector_map); in copy_and_gen_ecc()214 ft_history.defects += count_ones(tail->hard_error_map); in write_segment()231 count_ones(tail->hard_error_map)); in write_segment()
117 ft_history.crc_errors += count_ones(read_bad); in correct_and_copy_fraction()122 ft_history.corrected += count_ones(mseg.corrected); in correct_and_copy_fraction()268 count_ones(head->hard_error_map); in ftape_read_segment_fraction()
74 static inline int count_ones(unsigned long mask) in count_ones() function
237 : count_ones(map)); in print_bad_sector_map()390 new_count = count_ones(new_map); in ftape_put_bad_sector_entry()
140 buff->data_offset = count_ones(offset_mask); /* good sectors to skip */ in setup_segment()
73 count_ones(ftape_get_bad_sector_entry(segment))*FT_SECTOR_SIZE; in zft_get_seg_sz()