Fork me on GitHub
i_mode            195 fs/ext2/bitmaps.c 	if(S_ISDIR(i->i_mode)) {
i_mode             92 fs/ext2/dir.c  	if(!(S_ISDIR(i->i_mode))) {
i_mode             94 fs/ext2/inode.c 	i->i_mode = ii->i_mode;
i_mode            105 fs/ext2/inode.c 	switch(i->i_mode & S_IFMT) {
i_mode            132 fs/ext2/inode.c 			printk("WARNING: %s(): invalid inode (%d) mode %08o.\n", __FUNCTION__, i->inode, i->i_mode);
i_mode            166 fs/ext2/inode.c 	ii->i_mode = i->i_mode;
i_mode            177 fs/ext2/inode.c 	if(S_ISCHR(i->i_mode) || S_ISBLK(i->i_mode)) {
i_mode            391 fs/ext2/inode.c 	if(!S_ISDIR(i->i_mode) && !S_ISREG(i->i_mode) && !S_ISLNK(i->i_mode)) {
i_mode            392 fs/ext2/namei.c 	i->i_mode = S_IFLNK | (S_IRWXU | S_IRWXG | S_IRWXO);
i_mode            479 fs/ext2/namei.c 	i->i_mode = ((mode & (S_IRWXU | S_IRWXG | S_IRWXO)) & ~current->umask);
i_mode            480 fs/ext2/namei.c 	i->i_mode |= S_IFDIR;
i_mode            588 fs/ext2/namei.c 	i->i_mode = (mode & ~current->umask) & ~S_IFMT;
i_mode            600 fs/ext2/namei.c 			i->i_mode |= S_IFCHR;
i_mode            606 fs/ext2/namei.c 			i->i_mode |= S_IFBLK;
i_mode            611 fs/ext2/namei.c 			i->i_mode |= S_IFIFO;
i_mode            666 fs/ext2/namei.c 	i->i_mode = (mode & ~current->umask) & ~S_IFMT;
i_mode            667 fs/ext2/namei.c 	i->i_mode |= S_IFREG;
i_mode            719 fs/ext2/namei.c 		if(S_ISDIR(i_old->i_mode)) {
i_mode            743 fs/ext2/namei.c 		if(S_ISDIR(i_old->i_mode)) {
i_mode            785 fs/ext2/namei.c 	if(S_ISDIR(i_old->i_mode)) {
i_mode             65 fs/ext2/symlink.c 	if(!S_ISLNK(i->i_mode)) {
i_mode            103 fs/ext2/symlink.c 	if(!S_ISLNK(i->i_mode)) {
i_mode            143 fs/inode.c     	i->i_mode = 0;
i_mode             88 fs/iso9660/dir.c 	if(!(S_ISDIR(i->i_mode))) {
i_mode            122 fs/iso9660/inode.c 	i->i_mode = S_IFREG;
i_mode            124 fs/iso9660/inode.c 		i->i_mode = S_IFDIR;
i_mode            127 fs/iso9660/inode.c 		i->i_mode |= S_IRUSR | S_IXUSR | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH;
i_mode            142 fs/iso9660/inode.c 	switch(i->i_mode & S_IFMT) {
i_mode            168 fs/iso9660/inode.c 			PANIC("invalid inode (%d) mode %08o.\n", i->inode, i->i_mode);
i_mode            109 fs/iso9660/namei.c 				if(S_ISDIR((*i_res)->i_mode)) {
i_mode             87 fs/iso9660/rrip.c 				i->i_mode  = isonum_733(rrip->u.px.mode);
i_mode             93 fs/iso9660/rrip.c 				if(S_ISBLK(i->i_mode) || S_ISCHR(i->i_mode)) {
i_mode             89 fs/iso9660/symlink.c 	if(!S_ISLNK(i->i_mode)) {
i_mode             92 fs/minix/dir.c 	if(!(S_ISDIR(i->i_mode))) {
i_mode            339 fs/minix/namei.c 	i->i_mode = S_IFLNK | (S_IRWXU | S_IRWXG | S_IRWXO);
i_mode            429 fs/minix/namei.c 	i->i_mode = ((mode & (S_IRWXU | S_IRWXG | S_IRWXO)) & ~current->umask);
i_mode            430 fs/minix/namei.c 	i->i_mode |= S_IFDIR;
i_mode            531 fs/minix/namei.c 	i->i_mode = (mode & ~current->umask) & ~S_IFMT;
i_mode            543 fs/minix/namei.c 			i->i_mode |= S_IFCHR;
i_mode            548 fs/minix/namei.c 			i->i_mode |= S_IFBLK;
i_mode            552 fs/minix/namei.c 			i->i_mode |= S_IFIFO;
i_mode            604 fs/minix/namei.c 	i->i_mode = (mode & ~current->umask) & ~S_IFMT;
i_mode            605 fs/minix/namei.c 	i->i_mode |= S_IFREG;
i_mode            653 fs/minix/namei.c 		if(S_ISDIR(i_old->i_mode)) {
i_mode            677 fs/minix/namei.c 		if(S_ISDIR(i_old->i_mode)) {
i_mode            711 fs/minix/namei.c 	if(S_ISDIR(i_old->i_mode)) {
i_mode             64 fs/minix/symlink.c 	if(!S_ISLNK(i->i_mode)) {
i_mode            105 fs/minix/symlink.c 	if(!S_ISLNK(i->i_mode)) {
i_mode             66 fs/minix/v1_inode.c 	i->i_mode = ii->i_mode;
i_mode             78 fs/minix/v1_inode.c 	switch(i->i_mode & S_IFMT) {
i_mode            105 fs/minix/v1_inode.c 			printk("WARNING: %s(): invalid inode (%d) mode %o.\n", __FUNCTION__, i->inode, i->i_mode);
i_mode            129 fs/minix/v1_inode.c 	ii->i_mode = i->i_mode;
i_mode            135 fs/minix/v1_inode.c 	if(S_ISCHR(i->i_mode) || S_ISBLK(i->i_mode)) {
i_mode            347 fs/minix/v1_inode.c 	if(!S_ISDIR(i->i_mode) && !S_ISREG(i->i_mode) && !S_ISLNK(i->i_mode)) {
i_mode             67 fs/minix/v2_inode.c 	i->i_mode = ii->i_mode;
i_mode             79 fs/minix/v2_inode.c 	switch(i->i_mode & S_IFMT) {
i_mode            106 fs/minix/v2_inode.c 			printk("WARNING: %s(): invalid inode (%d) mode %o.\n", __FUNCTION__, i->inode, i->i_mode);
i_mode            130 fs/minix/v2_inode.c 	ii->i_mode = i->i_mode;
i_mode            138 fs/minix/v2_inode.c 	if(S_ISCHR(i->i_mode) || S_ISBLK(i->i_mode)) {
i_mode            410 fs/minix/v2_inode.c 	if(!S_ISDIR(i->i_mode) && !S_ISREG(i->i_mode) && !S_ISLNK(i->i_mode)) {
i_mode             82 fs/namei.c     			if(!S_ISDIR(i->i_mode) && !S_ISLNK(i->i_mode)) {
i_mode             87 fs/namei.c     			if(S_ISLNK(i->i_mode)) {
i_mode             82 fs/pipefs/super.c 	i->i_mode = S_IFIFO;
i_mode             42 fs/procfs/inode.c 	i->i_mode = mode;
i_mode             56 fs/procfs/inode.c 	switch(i->i_mode & S_IFMT) {
i_mode             67 fs/procfs/inode.c 			PANIC("invalid inode (%d) mode %08o.\n", i->inode, i->i_mode);
i_mode             98 fs/procfs/symlink.c 	if(!(S_ISLNK(i->i_mode))) {
i_mode            102 fs/super.c     			if(S_ISDIR(i_target->i_mode)) {
i_mode            107 fs/super.c     			if(S_ISBLK(i_target->i_mode)) {
i_mode             75 include/fiwix/fs.h 	__mode_t	i_mode;		/* file mode */
i_mode             65 include/fiwix/fs_ext2.h 	__u16	i_mode;		/* File mode */
i_mode             74 include/fiwix/fs_minix.h 	__u16 i_mode;
i_mode             84 include/fiwix/fs_minix.h 	__u16 i_mode;
i_mode             50 kernel/init.c  	if(!S_ISREG(i->i_mode)) {
i_mode            167 kernel/syscalls.c 		if((((i->i_mode >> 6) & 7) & mask) == mask) {
i_mode            172 kernel/syscalls.c 		if((((i->i_mode >> 3) & 7) & mask) == mask) {
i_mode            176 kernel/syscalls.c 	if(((i->i_mode & 7) & mask) == mask) {
i_mode             42 kernel/syscalls/access.c 		if(S_ISREG(i->i_mode) || S_ISDIR(i->i_mode) || S_ISLNK(i->i_mode)) {
i_mode             35 kernel/syscalls/chdir.c 	if(!S_ISDIR(i->i_mode)) {
i_mode             49 kernel/syscalls/chmod.c 	i->i_mode &= S_IFMT;
i_mode             50 kernel/syscalls/chmod.c 	i->i_mode |= mode & ~S_IFMT;
i_mode             52 kernel/syscalls/chown.c 		i->i_mode &= ~(S_ISUID);
i_mode             58 kernel/syscalls/chown.c 		i->i_mode &= ~(S_ISGID);
i_mode             35 kernel/syscalls/chroot.c 	if(!S_ISDIR(i->i_mode)) {
i_mode            274 kernel/syscalls/execve.c 	if(!S_ISREG(i->i_mode)) {
i_mode            328 kernel/syscalls/execve.c 		if(i->i_mode & S_ISUID) {
i_mode            331 kernel/syscalls/execve.c 		if(i->i_mode & S_ISGID) {
i_mode             27 kernel/syscalls/fchdir.c 	if(!S_ISDIR(i->i_mode)) {
i_mode             37 kernel/syscalls/fchmod.c 	i->i_mode &= S_IFMT;
i_mode             38 kernel/syscalls/fchmod.c 	i->i_mode |= mode & ~S_IFMT;
i_mode             40 kernel/syscalls/fchown.c 		i->i_mode &= ~(S_ISUID);
i_mode             45 kernel/syscalls/fchown.c 		i->i_mode &= ~(S_ISGID);
i_mode             34 kernel/syscalls/fstat.c 	statbuf->st_mode = i->i_mode;
i_mode             29 kernel/syscalls/fsync.c 	if(!S_ISREG(i->i_mode)) {
i_mode             33 kernel/syscalls/ftruncate.c 	if(S_ISDIR(i->i_mode)) {
i_mode             33 kernel/syscalls/getdents.c 	if(!S_ISDIR(i->i_mode)) {
i_mode             44 kernel/syscalls/link.c 	if(S_ISDIR(i->i_mode)) {
i_mode             39 kernel/syscalls/lstat.c 	statbuf->st_mode = i->i_mode;
i_mode             48 kernel/syscalls/mount.c 	if(!S_ISDIR(i_target->i_mode)) {
i_mode            145 kernel/syscalls/mount.c 		if(!S_ISBLK(i_source->i_mode)) {
i_mode             34 kernel/syscalls/newfstat.c 	statbuf->st_mode = i->i_mode;
i_mode             40 kernel/syscalls/newlstat.c 	statbuf->st_mode = i->i_mode;
i_mode             40 kernel/syscalls/newstat.c 	statbuf->st_mode = i->i_mode;
i_mode             48 kernel/syscalls/open.c 		if(S_ISLNK(i->i_mode) && (flags & O_NOFOLLOW)) {
i_mode             89 kernel/syscalls/open.c 		if(S_ISDIR(i->i_mode) && (flags & (O_RDWR | O_WRONLY | O_TRUNC))) {
i_mode             42 kernel/syscalls/readlink.c 	if(!S_ISLNK(i->i_mode)) {
i_mode             80 kernel/syscalls/rename.c 		if(S_ISREG(i->i_mode)) {
i_mode             81 kernel/syscalls/rename.c 			if(S_ISDIR(i_new->i_mode)) {
i_mode             86 kernel/syscalls/rename.c 		if(S_ISDIR(i->i_mode)) {
i_mode             87 kernel/syscalls/rename.c 			if(!S_ISDIR(i_new->i_mode)) {
i_mode             37 kernel/syscalls/rmdir.c 	if(!S_ISDIR(i->i_mode)) {
i_mode             69 kernel/syscalls/rmdir.c 	if(dir->i_mode & S_ISVTX) {
i_mode             40 kernel/syscalls/stat.c 	statbuf->st_mode = i->i_mode;
i_mode             36 kernel/syscalls/truncate.c 	if(S_ISDIR(i->i_mode)) {
i_mode             47 kernel/syscalls/umount2.c 	if(!S_ISBLK(i_target->i_mode) && !S_ISDIR(i_target->i_mode)) {
i_mode             58 kernel/syscalls/umount2.c 	if(S_ISBLK(i_target->i_mode)) {
i_mode             39 kernel/syscalls/unlink.c 	if(S_ISDIR(i->i_mode)) {
i_mode             59 kernel/syscalls/unlink.c 	if(dir->i_mode & S_ISVTX) {
i_mode            368 mm/mmap.c      		if(!S_ISREG(i->i_mode) && !S_ISCHR(i->i_mode)) {