Lines Matching defs:base
175 dev_t mdevadd(int devid, ppnum_t base, unsigned int size, int phys);
436 ppnum_t base;
463 ba = cvtnum(ba, lp, &base); /* Convert base of memory disk */
466 if(base & 0xFFF) continue; /* Only allow page aligned stuff */
475 dev = mdevadd(devid, base >> 12, size >> 12, phys); /* Go add the device */
528 if(rad == 10) return pos; /* Leave if not base 10 */
539 dev_t mdevadd(int devid, ppnum_t base, unsigned int size, int phys) {
551 if(!(((base + size -1 ) < mdev[i].mdBase) || ((mdev[i].mdBase + mdev[i].mdSize - 1) < base))) { /* Is there any overlap? */
602 mdev[devid].mdBase = base; /* Set the base address of ram disk */
608 devid, devid, mdev[devid].mdBDev, mdev[devid].mdCDev, base << 12, size << 12);