Searched refs:disc_info (Results 1 – 2 of 2) sorted by relevance
646 uchar_t *disc_info, disc_status = 0, erasable = 0; in check_device() local687 disc_info = (uchar_t *)my_zalloc(DISC_INFO_BLOCK_SIZE); in check_device()688 if (!read_disc_info(dev->d_fd, disc_info)) { in check_device()691 disc_status = disc_info[2] & 0x03; in check_device()692 erasable = disc_info[2] & 0x10; in check_device()694 free(disc_info); in check_device()
32 typedef struct disc_info { struct