Lines Matching refs:dsk
83 static struct dsk dsk;
236 dsk.drive = *(uint8_t *)PTOV(ARGS);
237 dsk.type = dsk.drive & DRV_HARD ? TYPE_AD : TYPE_FD;
238 dsk.unit = dsk.drive & DRV_MASK;
239 dsk.part = -1;
240 dsk.start = 0;
246 bootinfo.bi_bios_dev = dsk.drive;
295 dsk.drive & DRV_MASK, dev_nm[dsk.type], dsk.unit,
296 dsk.part, kname);
340 kname, dsk.drive & DRV_MASK, dev_nm[dsk.type],
341 dsk.unit,
342 dsk.part);
417 bootinfo.bi_bios_dev = dsk.drive;
419 MAKEBOOTDEV(dev_maj[dsk.type], 0, dsk.unit, 0),
494 dsk.type = i;
496 dsk.unit = *arg - '0';
497 if (arg[1] != 'p' || dsk.unit > 9)
500 dsk.part = *arg - '0';
501 if (dsk.part < 1 || dsk.part > 9)
508 drv = dsk.unit;
509 dsk.drive = (dsk.type <= TYPE_MAXHARD