major 20 file.h short major; major 208 fs.c dip->major = ip->major; major 285 fs.c ip->major = dip->major; major 441 fs.c if(ip->major < 0 || ip->major >= NDEV || !devsw[ip->major].read) major 443 fs.c return devsw[ip->major].read(ip, dst, n); major 469 fs.c if(ip->major < 0 || ip->major >= NDEV || !devsw[ip->major].write) major 471 fs.c return devsw[ip->major].write(ip, src, n); major 30 fs.h short major; // Major device number (T_DEV only) major 239 sysfile.c create(char *path, short type, short major, short minor) major 262 sysfile.c ip->major = major; major 355 sysfile.c int major, minor; major 359 sysfile.c argint(1, &major) < 0 || major 361 sysfile.c (ip = create(path, T_DEV, major, minor)) == 0){