Searched refs:ref_md (Results 1 – 1 of 1) sorted by relevance
607 unsigned char ref_md[MAX_ALLOC_LEN]; in clear_log() local661 (void) memset(ref_md, 0, MAX_ALLOC_LEN); in clear_log()665 res = sg_ll_mode_sense10(sg_fd, ref_md, alloc_len); in clear_log()673 off = sg_mode_page_offset(ref_md, alloc_len); in clear_log()679 md_len = (ref_md[0] << 8) + ref_md[1] + 2; in clear_log()681 ref_md[0] = 0; in clear_log()682 ref_md[1] = 0; in clear_log()696 if ((clear_data.pageControls & 0x40) != (ref_md[off] & 0x40)) { in clear_log()704 (void) memcpy(ref_md + off, (const void *) &clear_data, in clear_log()707 res = sg_ll_mode_select10(sg_fd, ref_md, md_len); in clear_log()