Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/char/ftape/lowlevel/
Dftape-write.c68 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()
Dftape-read.c117 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()
Dftape-rw.h74 static inline int count_ones(unsigned long mask) in count_ones() function
Dftape-bsm.c237 : count_ones(map)); in print_bad_sector_map()
390 new_count = count_ones(new_map); in ftape_put_bad_sector_entry()
Dftape-rw.c140 buff->data_offset = count_ones(offset_mask); /* good sectors to skip */ in setup_segment()
/linux-2.4.37.9/drivers/char/ftape/zftape/
Dzftape-rw.c73 count_ones(ftape_get_bad_sector_entry(segment))*FT_SECTOR_SIZE; in zft_get_seg_sz()