Lines Matching defs:part
20 * Copyright 1993 by Holger Veit (data part)
21 * Copyright 1993 by Brian Moore (audio part)
316 int error, part;
368 part = MCDPART(dev);
370 MCD_TRACE("open: partition=%d disksize=%ld blksize=%d\n", part,
374 if (part != RAW_PART &&
375 (part >= sc->sc_dk.dk_label->d_npartitions ||
376 sc->sc_dk.dk_label->d_partitions[part].p_fstype == FS_UNUSED)) {
384 sc->sc_dk.dk_copenmask |= (1 << part);
387 sc->sc_dk.dk_bopenmask |= (1 << part);
415 int part = MCDPART(dev);
417 MCD_TRACE("close: partition=%d\n", part);
423 sc->sc_dk.dk_copenmask &= ~(1 << part);
426 sc->sc_dk.dk_bopenmask &= ~(1 << part);
577 int part;
591 part = MCDPART(dev);
707 if ((sc->sc_dk.dk_openmask & ~(1 << part)) == 0 &&