Searched refs:lba_sects (Results 1 – 1 of 1) sorted by relevance
106 unsigned long lba_sects, chs_sects, head, tail; in lba_capacity_is_ok() local126 lba_sects = id->lba_capacity; in lba_capacity_is_ok()130 if ((lba_sects - chs_sects) < chs_sects/10) in lba_capacity_is_ok()134 head = ((lba_sects >> 16) & 0xffff); in lba_capacity_is_ok()135 tail = (lba_sects & 0xffff); in lba_capacity_is_ok()136 lba_sects = (head | (tail << 16)); in lba_capacity_is_ok()137 if ((lba_sects - chs_sects) < chs_sects/10) { in lba_capacity_is_ok()138 id->lba_capacity = lba_sects; in lba_capacity_is_ok()