Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/char/ftape/zftape/
Dzftape-eof.c163 zft_nr_eof_marks = GET2(address, FT_FSL_CNT); in zft_ftape_extract_file_marks()
172 __u16 tmp = GET2(&zft_eof_map[i].mark.segment,0); in zft_ftape_extract_file_marks()
174 GET2(&zft_eof_map[i].mark.date,0)); in zft_ftape_extract_file_marks()
180 GET2(&zft_eof_map[i].mark.segment, 0), in zft_ftape_extract_file_marks()
181 GET2(&zft_eof_map[i].mark.date,0)); in zft_ftape_extract_file_marks()
Dzftape-vtbl.c197 volume->blk_sz = GET2(entry, VTBL_EXT+EXT_ZFTAPE_BLKSZ); in check_volume()
399 zft_last_vtbl->start_seg = GET2(entry, VTBL_START); in zft_extract_volume_headers()
400 zft_last_vtbl->end_seg = GET2(entry, VTBL_END); in zft_extract_volume_headers()
446 (GET2(&eof_map[num_failed_sectors - 1].mark.segment, 0) in zft_fake_volume_headers()
448 GET2(&eof_map[num_failed_sectors - 2].mark.segment, 0) + 1) && in zft_fake_volume_headers()
449 (GET2(&eof_map[num_failed_sectors - 1].mark.date, 0) == 1)) { in zft_fake_volume_headers()
460 segment = GET2(&eof_map[vol_no].mark.segment, 0); in zft_fake_volume_headers()
461 sector = GET2(&eof_map[vol_no].mark.date, 0); in zft_fake_volume_headers()
/linux-2.4.37.9/drivers/char/ftape/lowlevel/
Dftape-read.c407 ft_header_segment_1 = GET2(address, FT_HSEG_1); in ftape_decode_header_segment()
408 ft_header_segment_2 = GET2(address, FT_HSEG_2); in ftape_decode_header_segment()
409 ft_first_data_segment = GET2(address, FT_FRST_SEG); in ftape_decode_header_segment()
410 ft_last_data_segment = GET2(address, FT_LAST_SEG); in ftape_decode_header_segment()
435 ft_segments_per_track = GET2(address, FT_SPT); in ftape_decode_header_segment()
Dftape-bsm.c86 PUT4(buffer, FT_6_HSEG_1, (__u32)GET2(buffer, 6));
87 PUT4(buffer, FT_6_HSEG_2, (__u32)GET2(buffer, 8));
88 PUT4(buffer, FT_6_FRST_SEG, (__u32)GET2(buffer, 10));
89 PUT4(buffer, FT_6_LAST_SEG, (__u32)GET2(buffer, 12));
Dftape-rw.h41 #define GET2(address, offset) get_unaligned((__u16*)((__u8 *)address + offset)) macro
/linux-2.4.37.9/drivers/char/ftape/compressor/
Dzftape-compress.c181 cinfo->first_block = GET2(buff, 0); in get_cseg()
245 cluster->count = GET2(buff, cluster->offset); in get_next_cluster()