Home
last modified time | relevance | path

Searched refs:_dio_hw_error (Results 1 – 2 of 2) sorted by relevance

/external/e2fsprogs/lib/ext2fs/
Ddosio.h103 extern unsigned long _dio_hw_error;
108 #define HW_OK() ((unsigned char)_dio_hw_error == 0x00)
109 #define HW_BAD_CMD() ((unsigned char)_dio_hw_error == 0x01)
110 #define HW_NO_ADDR_MARK() ((unsigned char)_dio_hw_error == 0x02)
111 #define HW_WRITE_PROT() ((unsigned char)_dio_hw_error == 0x03)
112 #define HW_NO_SECTOR() ((unsigned char)_dio_hw_error == 0x04)
113 #define HW_RESET_FAIL() ((unsigned char)_dio_hw_error == 0x05)
114 #define HW_DISK_CHANGED() ((unsigned char)_dio_hw_error == 0x06)
115 #define HW_DRIVE_FAIL() ((unsigned char)_dio_hw_error == 0x07)
116 #define HW_DMA_OVERRUN() ((unsigned char)_dio_hw_error == 0x08)
[all …]
Ddosio.c39 unsigned long _dio_hw_error; variable
270 _dio_hw_error = biosdisk(DISK_GET_GEOMETRY, in dos_open()
296 _dio_hw_error = biosdisk(DISK_READ, part->phys, 0, 0, 1, 1, sec); in dos_open()
390 _dio_hw_error = biosdisk(DISK_READ, in dos_read_blk()
430 _dio_hw_error = biosdisk(DISK_WRITE, in dos_write_blk()