Lines Matching refs:S_IFMT
2281 switch(buf->st_mode & S_IFMT) { in reader_scan()
2961 if ((buf->st_mode & S_IFMT) != S_IFDIR) { in lookup_inode3()
3019 if((inode->buf.st_mode & S_IFMT) == S_IFREG) in alloc_inode_no()
3423 if((buf.st_mode & S_IFMT) != S_IFREG && in dir_scan1()
3424 (buf.st_mode & S_IFMT) != S_IFDIR && in dir_scan1()
3425 (buf.st_mode & S_IFMT) != S_IFLNK && in dir_scan1()
3426 (buf.st_mode & S_IFMT) != S_IFCHR && in dir_scan1()
3427 (buf.st_mode & S_IFMT) != S_IFBLK && in dir_scan1()
3428 (buf.st_mode & S_IFMT) != S_IFIFO && in dir_scan1()
3429 (buf.st_mode & S_IFMT) != S_IFSOCK) { in dir_scan1()
3431 filename, buf.st_mode & S_IFMT); in dir_scan1()
3455 switch(buf.st_mode & S_IFMT) { in dir_scan1()
3546 if((buf->st_mode & S_IFMT) == S_IFDIR) in dir_scan2()
3570 buf->st_mode = (buf->st_mode & S_IFMT) | in dir_scan2()
3649 if((dir_ent->inode->buf.st_mode & S_IFMT) == S_IFDIR) in dir_scan3()
3670 if((dir_ent->inode->buf.st_mode & S_IFMT) == S_IFDIR) in free_dir()
3694 if((dir_ent->inode->buf.st_mode & S_IFMT) == S_IFDIR) in dir_scan4()
3700 if((dir_ent->inode->buf.st_mode & S_IFMT) == S_IFDIR) { in dir_scan4()
3744 if((dir_ent->inode->buf.st_mode & S_IFMT) == S_IFDIR) { in dir_scan5()
3892 if((dir_ent->inode->buf.st_mode & S_IFMT) == S_IFDIR) in dir_scan6()
3959 switch(buf->st_mode & S_IFMT) { in dir_scan7()