Home
last modified time | relevance | path

Searched refs:bad_sector_map (Results 1 – 5 of 5) sorted by relevance

/linux-2.4.37.9/drivers/char/ftape/lowlevel/
Dftape-bsm.c42 static __u8 *bad_sector_map; variable
57 __u8 *dst_ptr = bad_sector_map;
63 memcpy(list, bad_sector_map, sizeof(list));
64 memset(bad_sector_map, 0, sizeof(bad_sector_map));
204 SectorCount *ptr = (SectorCount *)bad_sector_map; in print_bad_sector_map()
230 SectorMap map = ((SectorMap *) bad_sector_map)[i]; in print_bad_sector_map()
265 bad_sector_map = &buffer[FT_HEADER_END]; in ftape_extract_bad_sector_map()
270 bad_sector_map = &buffer[FT_FSL + FT_FSL_SIZE]; in ftape_extract_bad_sector_map()
275 bsm_hash_ptr = (SectorCount *)bad_sector_map; in ftape_extract_bad_sector_map()
338 if (*ptr <= (SectorCount *)bad_sector_map) { in backwards_seek_entry()
[all …]
Dftape-rw.c148 buff->bad_sector_map = ftape_get_bad_sector_entry(buff->segment_id); in setup_segment()
149 if (buff->bad_sector_map != 0) { in setup_segment()
151 buff->segment_id, (long)buff->bad_sector_map); in setup_segment()
156 buff->bad_sector_map >>= buff->sector_offset; in setup_segment()
176 if (buff->bad_sector_map == EMPTY_SEGMENT) { in setup_segment()
183 buff->bad_sector_map = FAKE_SEGMENT; in setup_segment()
235 while (buff->remaining > 0 && (buff->bad_sector_map & 1) != 0) { in ftape_calc_next_cluster()
236 buff->bad_sector_map >>= 1; in ftape_calc_next_cluster()
242 if (buff->bad_sector_map == 0) { /* speed up */ in ftape_calc_next_cluster()
245 SectorMap map = buff->bad_sector_map; in ftape_calc_next_cluster()
Dftape-write.c64 const SectorMap bad_sector_map) in copy_and_gen_ecc() argument
68 int bads = count_ones(bad_sector_map); in copy_and_gen_ecc()
Dfdc-isr.c202 buff->bad_sector_map >>= 1; in skip_bad_sector()
375 buff->bad_sector_map >>= buff->sector_count; in determine_progress()
858 if (buff->bad_sector_map == FAKE_SEGMENT) { in handle_fdc_busy()
999 if (buff->bad_sector_map == FAKE_SEGMENT) { in handle_fdc_busy()
Dfdc-io.h151 volatile SectorMap bad_sector_map; member