Lines Matching refs:mdFlags
158 int mdFlags; /* flags */
166 /* mdFlags */
193 if ((flags & FWRITE) && (mdev[devid].mdFlags & mdRO)) return (EACCES); /* Currently mounted RO */
207 if (!(mdev[devid].mdFlags & mdInited)) return (ENXIO); /* Have we actually been defined yet? */
218 if (mdev[devid].mdFlags & mdPhys) {
241 if ((mdev[devid].mdFlags & mdInited) == 0) { /* Have we actually been defined yet? */
277 if(!(mdev[devid].mdFlags & mdPhys)) { /* Physical mapped disk? */
303 if(!(mdev[devid].mdFlags & mdPhys)) { /* Physical mapped disk? */
400 if(!(mdev[devid].mdFlags & mdInited)) return (ENXIO);
405 if(!(mdev[devid].mdFlags & mdInited)) return (ENXIO);
424 if ((mdev[devid].mdFlags & mdInited) == 0) return(-1); /* Not inited yet */
547 if(!(mdev[i].mdFlags & mdInited)) { /* Is this a free one? */
563 if(mdev[devid].mdFlags &mdInited) { /* Already there? */
605 if(phys) mdev[devid].mdFlags |= mdPhys; /* Show that we are in physical memory */
606 mdev[devid].mdFlags |= mdInited; /* Show we are all set up */
616 if(!(mdev[devid].mdFlags & mdInited)) return -1; /* This one hasn't been defined */
625 if(!(mdev[i].mdFlags & mdInited)) continue; /* Ignore unused mdevs */
633 mdev[i].mdFlags = 0;