Lines Matching refs:dev
37 #define NDEVS 500 /* max number of file names in /dev */
56 "/dev/term",
57 "/dev/pts",
58 "/dev/xt",
172 file_name + strlen("/dev/"));
207 if (strcmp("/dev", srch_dirs[dirno]) == 0)
209 * Don't search /dev twice.
217 getdev(dev_t dev)
226 if (dev == NODEV)
228 if (dev == lastdev)
235 for (hp = dev_hash[HASH(dev)]; hp; hp = hp->dev_nxt)
236 if (hp->dev_dev == dev) {
237 lastdev = dev;
243 (void) strcpy(name, "/dev/");
252 if (hp->dev_dev == dev) {
254 lastdev = dev;