Lines Matching defs:dsk
46 static struct dsk dsk;
58 drvread(struct dsk *dskp, void *buf, daddr_t lba, unsigned nblk)
85 drvwrite(struct dsk *dskp, void *buf, daddr_t lba, unsigned nblk)
114 drvsize(struct dsk *dskp)
239 dsk.devinfo = raw_device;
240 if (dsk.devinfo == NULL) {
250 if (gptread(&dsk, secbuf) == -1) {
259 while (gptfind(&freebsd_ufs_uuid, &dsk, -1) != -1) {
261 bootdev = find_partition(dsk.part);
264 dsk.part);
270 fn, dsk.part);
275 gptbootfailed(&dsk);