Lines Matching refs:head
71 int size, head; in read_list() local
119 for (head = 0; head < LISTCOUNT; head++) { in read_list()
124 (diskaddr_t)chs2bn(ncyl + 1, head, 0), 1, in read_list()
142 (diskaddr_t)chs2bn(ncyl + 1, head, 1), size, in read_list()
179 head = bt->bt_trksec >> 8; in read_list()
180 if ((bt->bt_cyl >= pcyl) || (head >= nhead) || in read_list()
181 ((bt->bt_trksec & 0xff) >= sectors(head))) { in read_list()
245 fmt_print("%4d%8d%7d", num, def->cyl, def->head); in pr_defect()
258 fmt_print("%8llu", chs2bn(def->cyl, def->head, def->sect)); in pr_defect()
300 if (def->head < ptr->head) in sort_defect()
302 if (def->head != ptr->head) in sort_defect()
322 int size, head, status; in write_deflist() local
360 for (head = 0; head < LISTCOUNT; head++) { in write_deflist()
362 (diskaddr_t)chs2bn(ncyl + 1, head, 0), 1, in write_deflist()
370 (diskaddr_t)chs2bn(ncyl + 1, head, 1), size, in write_deflist()
417 def.head = bn2h(blkno); in add_ldef()