Home | History | Annotate | Download | only in pax

Lines Matching defs:lastdev

775 	static dev_t lastdev = 0;	/* next device number to try */
850 * around on lastdev (so we do not get stuck looking forever!)
852 while (++lastdev > 0) {
853 if (chk_dev(lastdev, 0) != NULL)
860 if (((lastdev & ((dev_t)dev_mask)) != lastdev) ||
861 (chk_dev(lastdev, 1) == NULL))
866 if ((lastdev <= 0) || ((dpt = (DLIST *)malloc(sizeof(DLIST))) == NULL))
874 dpt->dev = lastdev;
877 arcn->sb.st_dev = lastdev;