major 21 file.h short major; major 229 fs.c dip->major = ip->major; major 302 fs.c ip->major = dip->major; major 459 fs.c if(ip->major < 0 || ip->major >= NDEV || !devsw[ip->major].read) major 461 fs.c return devsw[ip->major].read(ip, dst, n); major 488 fs.c if(ip->major < 0 || ip->major >= NDEV || !devsw[ip->major].write) major 490 fs.c return devsw[ip->major].write(ip, src, n); major 31 fs.h short major; // Major device number (T_DEV only) major 242 sysfile.c create(char *path, short type, short major, short minor) major 264 sysfile.c ip->major = major; major 356 sysfile.c int major, minor; major 360 sysfile.c argint(1, &major) < 0 || major 362 sysfile.c (ip = create(path, T_DEV, major, minor)) == 0){