Lines Matching defs:part
313 int error = 0, part, rawopen, unit;
316 part = DISKPART(dev);
318 rawopen = (part == RAW_PART) && (fmt == S_IFCHR);
331 sd_cd.cd_ndevs, part));
429 if ((error = disk_openpart(&sc->sc_dk, part, fmt, 1)) != 0)
467 int part = DISKPART(dev);
481 disk_closepart(&sc->sc_dk, part, fmt);
842 int part = DISKPART(dev);
865 if (part == RAW_PART)
897 ((struct partinfo *)addr)->part =
968 if (part != RAW_PART) {
1224 int part, omask;
1234 part = DISKPART(dev);
1235 omask = sc->sc_dk.dk_openmask & (1 << part);
1249 else if (lp->d_partitions[part].p_fstype != FS_SWAP)
1252 size = DL_SECTOBLK(lp, DL_GETPSIZE(&lp->d_partitions[part]));
1277 int part, rv, unit;
1291 part = DISKPART(dev);
1318 nsects = DL_GETPSIZE(&lp->d_partitions[part]);
1319 sectoff = DL_GETPOFFSET(&lp->d_partitions[part]);