S_IFDIR           103 fs/9p/vfs_inode.c 		res |= S_IFDIR;
S_IFDIR           250 fs/9p/vfs_inode.c 		case S_IFDIR:
S_IFDIR           557 fs/9p/vfs_inode.c 	perm = unixmode2p9mode(v9ses, mode | S_IFDIR);
S_IFDIR           147 fs/9p/vfs_super.c 	inode = v9fs_get_inode(sb, S_IFDIR | mode);
S_IFDIR           113 fs/adfs/inode.c 		return S_IFDIR | S_IXUGO | mode;
S_IFDIR           108 fs/affs/inode.c 			inode->i_mode |= S_IFDIR;
S_IFDIR           110 fs/affs/inode.c 			inode->i_mode = S_IRUGO | S_IXUGO | S_IWUSR | S_IFDIR;
S_IFDIR           121 fs/affs/inode.c 		inode->i_mode |= S_IFDIR;
S_IFDIR           287 fs/affs/namei.c 	inode->i_mode = S_IFDIR | mode;
S_IFDIR           751 fs/afs/dir.c   	mode |= S_IFDIR;
S_IFDIR            51 fs/afs/inode.c 		inode->i_mode	= S_IFDIR | vnode->status.mode;
S_IFDIR            80 fs/afs/inode.c 			inode->i_mode	= S_IFDIR | vnode->status.mode;
S_IFDIR           251 fs/autofs/inode.c 	inode->i_mode = S_IFDIR | S_IRUGO | S_IXUGO;
S_IFDIR           257 fs/autofs/inode.c 		inode->i_mode = S_IFDIR | S_IRUGO | S_IXUGO | S_IWUSR;
S_IFDIR           304 fs/autofs4/inode.c 	ino = autofs4_init_ino(NULL, sbi, S_IFDIR | 0755);
S_IFDIR           774 fs/autofs4/root.c 	ino = autofs4_init_ino(ino, sbi, S_IFDIR | 0555);
S_IFDIR            66 fs/bfs/inode.c 		inode->i_mode |= S_IFDIR;
S_IFDIR            59 fs/cifs/inode.c 	case S_IFDIR:
S_IFDIR           107 fs/cifs/inode.c 		inode->i_mode |= S_IFDIR;
S_IFDIR           568 fs/cifs/inode.c 			inode->i_mode |= S_IFDIR;
S_IFDIR           647 fs/cifs/inode.c 		inode->i_mode |= S_IFDIR;
S_IFDIR          1138 fs/cifs/inode.c 						(mode | S_IFDIR);
S_IFDIR           232 fs/cifs/readdir.c 			tmp_inode->i_mode |= S_IFDIR;
S_IFDIR           346 fs/cifs/readdir.c 		tmp_inode->i_mode |= S_IFDIR;
S_IFDIR            91 fs/coda/coda_linux.c                 inode_type = S_IFDIR;
S_IFDIR           183 fs/configfs/dir.c 	umode_t mode = S_IFDIR| S_IRWXU | S_IRUGO | S_IXUGO;
S_IFDIR            81 fs/configfs/mount.c 	inode = configfs_new_inode(S_IFDIR | S_IRWXU | S_IRUGO | S_IXUGO,
S_IFDIR            54 fs/debugfs/inode.c 		case S_IFDIR:
S_IFDIR            90 fs/debugfs/inode.c 	mode = (mode & (S_IRWXUGO | S_ISVTX)) | S_IFDIR;
S_IFDIR           168 fs/debugfs/inode.c 		case S_IFDIR:
S_IFDIR           265 fs/debugfs/inode.c 				   S_IFDIR | S_IRWXU | S_IRUGO | S_IXUGO,
S_IFDIR           319 fs/debugfs/inode.c 			case S_IFDIR:
S_IFDIR           140 fs/devpts/inode.c 	inode->i_mode = S_IFDIR | S_IRUGO | S_IXUGO | S_IWUSR;
S_IFDIR           148 fs/efs/inode.c 		case S_IFDIR: 
S_IFDIR           256 fs/ext2/dir.c  	[S_IFDIR >> S_SHIFT]	= EXT2_FT_DIR,
S_IFDIR           218 fs/ext2/namei.c 	inode = ext2_new_inode (dir, S_IFDIR | mode);
S_IFDIR          1098 fs/ext3/namei.c 	[S_IFDIR >> S_SHIFT]	= EXT3_FT_DIR,
S_IFDIR          1774 fs/ext3/namei.c 	inode = ext3_new_inode (handle, dir, S_IFDIR | mode);
S_IFDIR          1796 fs/ext3/namei.c 	ext3_set_de_type(dir->i_sb, de, S_IFDIR);
S_IFDIR          1803 fs/ext3/namei.c 	ext3_set_de_type(dir->i_sb, de, S_IFDIR);
S_IFDIR          1101 fs/ext4/namei.c 	[S_IFDIR >> S_SHIFT]	= EXT4_FT_DIR,
S_IFDIR          1808 fs/ext4/namei.c 	inode = ext4_new_inode(handle, dir, S_IFDIR | mode);
S_IFDIR          1826 fs/ext4/namei.c 	ext4_set_de_type(dir->i_sb, de, S_IFDIR);
S_IFDIR          1833 fs/ext4/namei.c 	ext4_set_de_type(dir->i_sb, de, S_IFDIR);
S_IFDIR            73 fs/fat/file.c  				| S_IFDIR;
S_IFDIR           345 fs/fat/inode.c 			S_IRWXUGO & ~sbi->options.fs_dmask) | S_IFDIR;
S_IFDIR          1145 fs/fat/inode.c 	inode->i_mode = (S_IRWXUGO & ~sbi->options.fs_dmask) | S_IFDIR;
S_IFDIR           200 fs/freevxfs/vxfs_inode.c 		ret |= S_IFDIR;
S_IFDIR           121 fs/fuse/control.c 	parent = fuse_ctl_add_dentry(parent, fc, name, S_IFDIR | 0500, 2,
S_IFDIR           600 fs/fuse/dir.c  	return create_new_entry(fc, req, dir, entry, S_IFDIR);
S_IFDIR           419 fs/gfs2/ops_inode.c 	inode = gfs2_createi(ghs, &dentry->d_name, S_IFDIR | mode, 0);
S_IFDIR           215 fs/hfs/dir.c   	inode = hfs_new_inode(dir, &dentry->d_name, S_IFDIR | mode);
S_IFDIR            26 fs/hfs/inode.c #define HFS_VALID_MODE_BITS  (S_IFREG | S_IFDIR | S_IRWXUGO)
S_IFDIR           325 fs/hfs/inode.c 		inode->i_mode = S_IFDIR | (S_IRWXUGO & ~hsb->s_dir_umask);
S_IFDIR           371 fs/hfsplus/dir.c 	inode = hfsplus_new_inode(dir->i_sb, S_IFDIR | mode);
S_IFDIR           206 fs/hfsplus/inode.c 		mode |= S_IFDIR;
S_IFDIR           434 fs/hfsplus/super.c 		HFSPLUS_SB(sb).hidden_dir = hfsplus_new_inode(sb, S_IFDIR);
S_IFDIR           115 fs/hpfs/inode.c 		i->i_mode |= S_IFDIR;
S_IFDIR           164 fs/hpfs/inode.c 			  | (S_ISDIR(i->i_mode) ? S_IFDIR : S_IFREG))
S_IFDIR           166 fs/hpfs/inode.c 			  | (S_ISDIR(i->i_mode) ? S_IFDIR : S_IFREG))) || hpfs_inode->i_ea_mode) {
S_IFDIR            54 fs/hpfs/namei.c 	result->i_mode |= S_IFDIR;
S_IFDIR            97 fs/hpfs/namei.c 	    result->i_mode != (mode | S_IFDIR)) {
S_IFDIR           100 fs/hpfs/namei.c 		result->i_mode = mode | S_IFDIR;
S_IFDIR           524 fs/hugetlbfs/inode.c 		case S_IFDIR:
S_IFDIR           568 fs/hugetlbfs/inode.c 	int retval = hugetlbfs_mknod(dir, dentry, mode | S_IFDIR, 0);
S_IFDIR           882 fs/hugetlbfs/inode.c 					S_IFDIR | config.mode, 0);
S_IFDIR           579 fs/inode.c     	if (inode->i_mode & S_IFDIR) {
S_IFDIR          1262 fs/isofs/inode.c 		inode->i_mode = sbi->s_dmode | S_IFDIR;
S_IFDIR           474 fs/jffs2/dir.c 	mode |= S_IFDIR;
S_IFDIR           286 fs/jffs2/fs.c  	case S_IFDIR:
S_IFDIR          1183 fs/jffs2/readinode.c 		latest_node->mode = cpu_to_jemode(S_IFDIR|S_IRUGO|S_IWUSR|S_IXUGO);
S_IFDIR          1214 fs/jffs2/readinode.c 	case S_IFDIR:
S_IFDIR           234 fs/jfs/namei.c 	ip = ialloc(dip, S_IFDIR | mode);
S_IFDIR           640 fs/jfs/namei.c 		assert(filetype != S_IFDIR);
S_IFDIR           233 fs/libfs.c     	root->i_mode = S_IFDIR | S_IRUSR | S_IWUSR;
S_IFDIR           438 fs/libfs.c     	inode->i_mode = S_IFDIR | 0755;
S_IFDIR           124 fs/minix/namei.c 	inode->i_mode = S_IFDIR | mode;
S_IFDIR          1986 fs/namei.c     	case S_IFDIR:
S_IFDIR           977 fs/ncpfs/dir.c 			mode |= S_IFDIR;
S_IFDIR           583 fs/ncpfs/inode.c 	server->m.dir_mode = (server->m.dir_mode & S_IRWXUGO) | S_IFDIR;
S_IFDIR           874 fs/ncpfs/inode.c 	      ~(S_IFREG | S_IFDIR | S_IRWXUGO))))
S_IFDIR          1271 fs/nfs/dir.c   	attr.ia_mode = mode | S_IFDIR;
S_IFDIR          1932 fs/nfs/dir.c   		case S_IFDIR:
S_IFDIR            98 fs/nfs/nfs3xdr.c       { S_IFDIR,	NFDIR	},
S_IFDIR           851 fs/nfs/nfs4proc.c 			case S_IFDIR:
S_IFDIR          1587 fs/nfs/nfs4proc.c 		fattr->mode = S_IFDIR;
S_IFDIR           531 fs/nfs/nfs4xdr.c 	{ S_IFDIR,	NFDIR	     },
S_IFDIR            35 fs/nfsd/nfs3proc.c 	S_IFDIR,		/* NF3DIR */
S_IFDIR           246 fs/nfsd/nfs3proc.c 	nfserr = fh_verify(rqstp, dirfhp, S_IFDIR, NFSD_MAY_CREATE);
S_IFDIR           285 fs/nfsd/nfs3proc.c 				    &argp->attrs, S_IFDIR, 0, &resp->fh);
S_IFDIR           362 fs/nfsd/nfs3proc.c 	nfserr = nfsd_unlink(rqstp, &resp->fh, -S_IFDIR, argp->name, argp->len);
S_IFDIR           381 fs/nfsd/nfs3proc.c 	nfserr = nfsd_unlink(rqstp, &resp->fh, S_IFDIR, argp->name, argp->len);
S_IFDIR           368 fs/nfsd/nfs4proc.c 	status = fh_verify(rqstp, &cstate->current_fh, S_IFDIR,
S_IFDIR           428 fs/nfsd/nfs4proc.c 				     &create->cr_iattr, S_IFDIR, 0, &resfh);
S_IFDIR            81 fs/nfsd/nfsfh.c 		else if (type == S_IFDIR)
S_IFDIR            83 fs/nfsd/nfsfh.c 		else if ((mode & S_IFMT) == S_IFDIR)
S_IFDIR            91 fs/nfsd/nfsfh.c 		else if (type == -S_IFDIR)
S_IFDIR           219 fs/nfsd/nfsproc.c 	nfserr = fh_verify(rqstp, dirfhp, S_IFDIR, NFSD_MAY_EXEC);
S_IFDIR           365 fs/nfsd/nfsproc.c 	nfserr = nfsd_unlink(rqstp, &argp->fh, -S_IFDIR, argp->name, argp->len);
S_IFDIR           453 fs/nfsd/nfsproc.c 				    &argp->attrs, S_IFDIR, 0, &resp->fh);
S_IFDIR           469 fs/nfsd/nfsproc.c 	nfserr = nfsd_unlink(rqstp, &argp->fh, S_IFDIR, argp->name, argp->len);
S_IFDIR           146 fs/nfsd/vfs.c  	err = fh_verify(rqstp, fhp, S_IFDIR, NFSD_MAY_EXEC);
S_IFDIR          1201 fs/nfsd/vfs.c  	err = fh_verify(rqstp, fhp, S_IFDIR, NFSD_MAY_CREATE);
S_IFDIR          1271 fs/nfsd/vfs.c  	case S_IFDIR:
S_IFDIR          1335 fs/nfsd/vfs.c  	err = fh_verify(rqstp, fhp, S_IFDIR, NFSD_MAY_CREATE);
S_IFDIR          1526 fs/nfsd/vfs.c  	err = fh_verify(rqstp, fhp, S_IFDIR, NFSD_MAY_CREATE);
S_IFDIR          1586 fs/nfsd/vfs.c  	err = fh_verify(rqstp, ffhp, S_IFDIR, NFSD_MAY_CREATE);
S_IFDIR          1589 fs/nfsd/vfs.c  	err = fh_verify(rqstp, tfhp, -S_IFDIR, NFSD_MAY_NOP);
S_IFDIR          1656 fs/nfsd/vfs.c  	err = fh_verify(rqstp, ffhp, S_IFDIR, NFSD_MAY_REMOVE);
S_IFDIR          1659 fs/nfsd/vfs.c  	err = fh_verify(rqstp, tfhp, S_IFDIR, NFSD_MAY_CREATE);
S_IFDIR          1763 fs/nfsd/vfs.c  	err = fh_verify(rqstp, fhp, S_IFDIR, NFSD_MAY_REMOVE);
S_IFDIR          1789 fs/nfsd/vfs.c  	if (type != S_IFDIR) { /* It's UNLINK */
S_IFDIR          1829 fs/nfsd/vfs.c  	err = nfsd_open(rqstp, fhp, S_IFDIR, NFSD_MAY_READ, &file);
S_IFDIR           621 fs/ntfs/inode.c 		vi->i_mode |= S_IFDIR;
S_IFDIR          2659 fs/ntfs/mft.c  			vi->i_mode = S_IFDIR | S_IRWXUGO;
S_IFDIR          1064 fs/ocfs2/dir.c 	ocfs2_set_de_type(de, S_IFDIR);
S_IFDIR          1071 fs/ocfs2/dir.c 	ocfs2_set_de_type(de, S_IFDIR);
S_IFDIR           335 fs/ocfs2/dlm/dlmfs.c 	int mode = S_IFDIR | 0755;
S_IFDIR           398 fs/ocfs2/dlm/dlmfs.c 	case S_IFDIR:
S_IFDIR           441 fs/ocfs2/dlm/dlmfs.c 	inode = dlmfs_get_inode(dir, dentry, mode | S_IFDIR);
S_IFDIR           311 fs/ocfs2/inode.c 	    case S_IFDIR:
S_IFDIR           510 fs/ocfs2/namei.c 	ret = ocfs2_mknod(dir, dentry, mode | S_IFDIR, 0);
S_IFDIR           348 fs/ocfs2/ocfs2_fs.h 	[ORPHAN_DIR_SYSTEM_INODE]		= { "orphan_dir:%04d", 0, S_IFDIR | 0755 },
S_IFDIR           392 fs/ocfs2/ocfs2_fs.h 	[S_IFDIR >> S_SHIFT]  = OCFS2_FT_DIR,
S_IFDIR            99 fs/omfs/dir.c  	if (inode->i_mode & S_IFDIR) {
S_IFDIR           298 fs/omfs/dir.c  	return omfs_add_node(dir, dentry, mode | S_IFDIR);
S_IFDIR            47 fs/omfs/inode.c 	case S_IFDIR:
S_IFDIR           232 fs/omfs/inode.c 		inode->i_mode = S_IFDIR | (S_IRWXUGO & ~sbi->s_dmask);
S_IFDIR           241 fs/openpromfs/inode.c 		inode->i_mode = S_IFDIR | S_IRUGO | S_IXUGO;
S_IFDIR           365 fs/openpromfs/inode.c 			inode->i_mode = S_IFDIR | S_IRUGO | S_IXUGO;
S_IFDIR           113 fs/proc/base.c 	NOD(NAME, (S_IFDIR|(MODE)),						\
S_IFDIR          1455 fs/proc/base.c 		if ((inode->i_mode == (S_IFDIR|S_IRUGO|S_IXUGO)) ||
S_IFDIR          1487 fs/proc/base.c 		if ((inode->i_mode == (S_IFDIR|S_IRUGO|S_IXUGO)) ||
S_IFDIR          2650 fs/proc/base.c 	inode->i_mode = S_IFDIR|S_IRUGO|S_IXUGO;
S_IFDIR          2887 fs/proc/base.c 	inode->i_mode = S_IFDIR|S_IRUGO|S_IXUGO;
S_IFDIR           633 fs/proc/generic.c 	ent = __proc_create(&parent, name, S_IFDIR | mode, 2);
S_IFDIR           648 fs/proc/generic.c 	ent = __proc_create(&parent, name, S_IFDIR | S_IRUGO | S_IXUGO, 2);
S_IFDIR            39 fs/proc/proc_sysctl.c 		inode->i_mode |= S_IFDIR;
S_IFDIR           206 fs/proc/root.c 	.mode		= S_IFDIR | S_IRUGO | S_IXUGO, 
S_IFDIR            73 fs/ramfs/inode.c 		case S_IFDIR:
S_IFDIR           114 fs/ramfs/inode.c 	int retval = ramfs_mknod(dir, dentry, mode | S_IFDIR, 0);
S_IFDIR           174 fs/ramfs/inode.c 	inode = ramfs_get_inode(sb, S_IFDIR | 0755, 0);
S_IFDIR           769 fs/reiserfs/namei.c 	mode = S_IFDIR | mode;
S_IFDIR           486 fs/romfs/inode.c 	0, S_IFDIR+0644, S_IFREG+0644, S_IFLNK+0777,
S_IFDIR           393 fs/smbfs/inode.c 			mnt->dir_mode = (value & S_IRWXUGO) | S_IFDIR;
S_IFDIR           577 fs/smbfs/inode.c 		mnt->dir_mode = (oldmnt->dir_mode & S_IRWXUGO) | S_IFDIR;
S_IFDIR           585 fs/smbfs/inode.c 				S_IROTH | S_IXOTH | S_IFDIR;
S_IFDIR           675 fs/smbfs/inode.c 	unsigned int mask = (S_IFREG | S_IFDIR | S_IRWXUGO);
S_IFDIR           550 fs/smbfs/proc.c 	S_IFREG, S_IFDIR, S_IFLNK, S_IFCHR, S_IFBLK, S_IFIFO, S_IFSOCK
S_IFDIR          2141 fs/smbfs/proc.c 		fattr->f_mode = (server->mnt->dir_mode & S_IRWXUGO) | S_IFDIR;
S_IFDIR           643 fs/sysfs/dir.c 	umode_t mode = S_IFDIR| S_IRWXU | S_IRUGO | S_IXUGO;
S_IFDIR            38 fs/sysfs/mount.c 	.s_mode		= S_IFDIR | S_IRWXU | S_IRUGO | S_IXUGO,
S_IFDIR           143 fs/sysv/namei.c 	inode = sysv_new_inode(dir, S_IFDIR|mode);
S_IFDIR           481 fs/sysv/super.c 	if ((fs16_to_cpu(sbi, v7i->i_mode) & ~0777) != S_IFDIR ||
S_IFDIR           127 fs/ubifs/dir.c 	case S_IFDIR:
S_IFDIR           734 fs/ubifs/dir.c 	inode = ubifs_new_inode(c, dir, S_IFDIR | mode);
S_IFDIR           426 fs/ubifs/journal.c 	case S_IFDIR:
S_IFDIR           305 fs/ubifs/sb.c  	ino->mode = cpu_to_le32(S_IFDIR | S_IRUGO | S_IWUSR | S_IXUGO);
S_IFDIR           172 fs/ubifs/super.c 	case S_IFDIR:
S_IFDIR          1273 fs/udf/inode.c 		inode->i_mode |= S_IFDIR;
S_IFDIR           653 fs/udf/namei.c 	inode = udf_new_inode(dir, S_IFDIR, &err);
S_IFDIR           676 fs/udf/namei.c 	inode->i_mode = S_IFDIR | mode;
S_IFDIR           199 fs/ufs/namei.c 	inode = ufs_new_inode(dir, S_IFDIR|mode);
S_IFDIR           176 fs/ufs/util.h  	case S_IFDIR:
S_IFDIR           128 fs/xfs/linux-2.6/xfs_ioctl.c 	case S_IFDIR:
S_IFDIR           909 fs/xfs/linux-2.6/xfs_ioctl.c 	if ((ip->i_d.di_mode & S_IFMT) == S_IFDIR) {
S_IFDIR           242 fs/xfs/linux-2.6/xfs_iops.c 	case S_IFDIR:
S_IFDIR           295 fs/xfs/linux-2.6/xfs_iops.c 	return xfs_vn_mknod(dir, dentry, mode|S_IFDIR, 0);
S_IFDIR           810 fs/xfs/linux-2.6/xfs_iops.c 	case S_IFDIR:
S_IFDIR           493 fs/xfs/xfs_bmap.c 	if ((ip->i_d.di_mode & S_IFMT) == S_IFDIR) {
S_IFDIR           131 fs/xfs/xfs_dir2.c 	ASSERT((dp->i_d.di_mode & S_IFMT) == S_IFDIR);
S_IFDIR           189 fs/xfs/xfs_dir2.c 	ASSERT((dp->i_d.di_mode & S_IFMT) == S_IFDIR);
S_IFDIR           212 fs/xfs/xfs_dir2.c 	ASSERT((dp->i_d.di_mode & S_IFMT) == S_IFDIR);
S_IFDIR           288 fs/xfs/xfs_dir2.c 	ASSERT((dp->i_d.di_mode & S_IFMT) == S_IFDIR);
S_IFDIR           343 fs/xfs/xfs_dir2.c 	ASSERT((dp->i_d.di_mode & S_IFMT) == S_IFDIR);
S_IFDIR           392 fs/xfs/xfs_dir2.c 	ASSERT((dp->i_d.di_mode & S_IFMT) == S_IFDIR);
S_IFDIR           424 fs/xfs/xfs_dir2.c 	ASSERT((dp->i_d.di_mode & S_IFMT) == S_IFDIR);
S_IFDIR           474 fs/xfs/xfs_dir2.c 	ASSERT((dp->i_d.di_mode & S_IFMT) == S_IFDIR);
S_IFDIR           276 fs/xfs/xfs_filestream.c 	               (pip->i_d.di_mode & S_IFDIR)) ||
S_IFDIR           277 fs/xfs/xfs_filestream.c 	              ((ip->i_d.di_mode & S_IFDIR) && !pip)));
S_IFDIR           489 fs/xfs/xfs_filestream.c 	if (!(ip->i_d.di_mode & (S_IFREG | S_IFDIR))) {
S_IFDIR           531 fs/xfs/xfs_filestream.c 	ASSERT(pip->i_d.di_mode & S_IFDIR);
S_IFDIR           533 fs/xfs/xfs_filestream.c 	if (!(pip->i_d.di_mode & S_IFDIR) || !(ip->i_d.di_mode & S_IFREG))
S_IFDIR           393 fs/xfs/xfs_inode.c 	case S_IFDIR:
S_IFDIR          1112 fs/xfs/xfs_inode.c 		if ((pip->i_d.di_mode & S_ISGID) && (mode & S_IFMT) == S_IFDIR) {
S_IFDIR          1166 fs/xfs/xfs_inode.c 	case S_IFDIR:
S_IFDIR          1170 fs/xfs/xfs_inode.c 			if ((mode & S_IFMT) == S_IFDIR) {
S_IFDIR          2627 fs/xfs/xfs_inode.c 	case S_IFDIR:
S_IFDIR          3302 fs/xfs/xfs_inode.c 	} else if ((ip->i_d.di_mode & S_IFMT) == S_IFDIR) {
S_IFDIR          2371 fs/xfs/xfs_log_recover.c 	} else if (unlikely((dicp->di_mode & S_IFMT) == S_IFDIR)) {
S_IFDIR          1120 fs/xfs/xfs_mount.c 	if (unlikely((rip->i_d.di_mode & S_IFMT) != S_IFDIR)) {
S_IFDIR           159 fs/xfs/xfs_rename.c 	src_is_directory = ((src_ip->i_d.di_mode & S_IFMT) == S_IFDIR);
S_IFDIR           280 fs/xfs/xfs_rename.c 		if ((target_ip->i_d.di_mode & S_IFMT) == S_IFDIR) {
S_IFDIR            50 include/linux/msdos_fs.h #define MSDOS_VALID_MODE (S_IFREG | S_IFDIR | S_IRWXU | S_IRWXG | S_IRWXO)
S_IFDIR            26 include/linux/stat.h #define S_ISDIR(m)	(((m) & S_IFMT) == S_IFDIR)
S_IFDIR           190 ipc/mqueue.c   	inode = mqueue_get_inode(sb, S_IFDIR | S_ISVTX | S_IRWXUGO, NULL);
S_IFDIR           656 kernel/cgroup.c 			BUG_ON(d->d_inode->i_mode & S_IFDIR);
S_IFDIR           926 kernel/cgroup.c 		cgroup_new_inode(S_IFDIR | S_IRUGO | S_IXUGO | S_IWUSR, sb);
S_IFDIR          1665 kernel/cgroup.c 	error = cgroup_create_file(dentry, S_IFDIR | mode, cgrp->root->sb);
S_IFDIR          2368 kernel/cgroup.c 	return cgroup_create(c_parent, dentry, mode | S_IFDIR);
S_IFDIR          2908 kernel/cgroup.c 	ret = vfs_mkdir(inode, dentry, S_IFDIR | 0755);
S_IFDIR          1534 mm/shmem.c     		case S_IFDIR:
S_IFDIR          1796 mm/shmem.c     	if ((error = shmem_mknod(dir, dentry, mode | S_IFDIR, 0)))
S_IFDIR          2315 mm/shmem.c     	inode = shmem_get_inode(sb, S_IFDIR | sbinfo->mode, 0);
S_IFDIR           414 net/sunrpc/rpc_pipe.c 		.mode = S_IFDIR | S_IRUGO | S_IXUGO,
S_IFDIR           418 net/sunrpc/rpc_pipe.c 		.mode = S_IFDIR | S_IRUGO | S_IXUGO,
S_IFDIR           422 net/sunrpc/rpc_pipe.c 		.mode = S_IFDIR | S_IRUGO | S_IXUGO,
S_IFDIR           426 net/sunrpc/rpc_pipe.c 		.mode = S_IFDIR | S_IRUGO | S_IXUGO,
S_IFDIR           430 net/sunrpc/rpc_pipe.c 		.mode = S_IFDIR | S_IRUGO | S_IXUGO,
S_IFDIR           513 net/sunrpc/rpc_pipe.c 		case S_IFDIR:
S_IFDIR           616 net/sunrpc/rpc_pipe.c 	inode = rpc_get_inode(dir->i_sb, S_IFDIR | S_IRUGO | S_IXUGO);
S_IFDIR           867 net/sunrpc/rpc_pipe.c 	inode = rpc_get_inode(sb, S_IFDIR | 0755);
S_IFDIR            75 security/inode.c 		case S_IFDIR:
S_IFDIR           110 security/inode.c 	mode = (mode & (S_IRWXUGO | S_ISVTX)) | S_IFDIR;
S_IFDIR           175 security/inode.c 		if ((mode & S_IFMT) == S_IFDIR)
S_IFDIR           272 security/inode.c 				      S_IFDIR | S_IRWXU | S_IRUGO | S_IXUGO,
S_IFDIR          1028 security/selinux/hooks.c 	case S_IFDIR:
S_IFDIR          1666 security/selinux/hooks.c 	if ((mode & S_IFMT) != S_IFDIR) {
S_IFDIR          1537 security/selinux/selinuxfs.c 				if (d->d_inode->i_mode & S_IFDIR)
S_IFDIR          1627 security/selinux/selinuxfs.c 	inode = sel_make_inode(dir->i_sb, S_IFDIR | S_IRUGO | S_IXUGO);
S_IFDIR           550 sound/core/info.c 	p = snd_create_proc_entry("asound", S_IFDIR | S_IRUGO | S_IXUGO, NULL);
S_IFDIR           559 sound/core/info.c 		entry->mode = S_IFDIR | S_IRUGO | S_IXUGO;
S_IFDIR           572 sound/core/info.c 		entry->mode = S_IFDIR | S_IRUGO | S_IXUGO;
S_IFDIR           625 sound/core/info.c 	entry->mode = S_IFDIR | S_IRUGO | S_IXUGO;
S_IFDIR           476 sound/core/pcm.c 	entry->mode = S_IFDIR | S_IRUGO | S_IXUGO;
S_IFDIR           533 sound/core/pcm.c 	entry->mode = S_IFDIR | S_IRUGO | S_IXUGO;
S_IFDIR           476 sound/pci/ac97/ac97_proc.c 		entry->mode = S_IFDIR | S_IRUGO | S_IXUGO;
S_IFDIR           787 sound/pci/cs46xx/dsp_spos.c 		entry->mode = S_IFDIR | S_IRUGO | S_IXUGO;
S_IFDIR           190 usr/gen_init_cpio.c 		.mode = S_IFDIR