Searched refs:i_mode (Results 176 - 200 of 456) sorted by relevance

1234567891011>>

/linux-master/fs/xfs/libxfs/
H A Dxfs_inode_fork.c50 zero_terminate = S_ISLNK(VFS_I(ip)->i_mode);
251 switch (inode->i_mode & S_IFMT) {
715 switch (VFS_I(ip)->i_mode & S_IFMT) {
H A Dxfs_inode_buf.c202 inode->i_mode = be16_to_cpu(from->di_mode);
203 if (!inode->i_mode)
331 to->di_mode = cpu_to_be16(inode->i_mode);
/linux-master/fs/exfat/
H A Dexfat_fs.h342 * If ->i_mode can't hold 0222 (i.e. ATTR_RO), we use ->i_attrs to
343 * save ATTR_RO instead of ->i_mode.
352 if (S_ISDIR(inode->i_mode))
378 if (S_ISDIR(inode->i_mode))
380 if (exfat_mode_can_hold_ro(inode) && !(inode->i_mode & 0222))
H A Dnamei.c698 mode_t i_mode; local
716 i_mode = inode->i_mode;
739 } else if (!S_ISDIR(i_mode)) {
1277 if (S_ISDIR(old_inode->i_mode) && old_dir != new_dir) {
1293 if (S_ISDIR(new_inode->i_mode))
/linux-master/fs/nfsd/
H A Dvfs.c388 if (S_ISLNK(inode->i_mode))
394 iap->ia_mode |= (inode->i_mode & ~S_IALLUGO);
398 if (!S_ISDIR(inode->i_mode) &&
588 !attr->na_aclerr && attr->na_dpacl && S_ISDIR(inode->i_mode))
631 if (inode->i_mode & S_IXUGO)
633 if (!(inode->i_mode & S_ISVTX))
721 if (!S_ISREG(file_inode(file)->i_mode))
1793 if (inode && S_ISREG(inode->i_mode))
1803 if (inode && S_ISREG(inode->i_mode))
1990 type = d_inode(rdentry)->i_mode
[all...]
H A Dnfs3acl.c53 acl = posix_acl_from_mode(inode->i_mode, GFP_KERNEL);
/linux-master/fs/smb/client/
H A Dioctl.c106 if (S_ISDIR(src_inode->i_mode))
526 if (!S_ISDIR(inode->i_mode)) {
548 if (!S_ISDIR(inode->i_mode)) {
/linux-master/fs/configfs/
H A Dfile.c341 if (!(inode->i_mode & S_IWUGO))
354 if (!(inode->i_mode & S_IRUGO))
/linux-master/fs/omfs/
H A Ddir.c96 if (S_ISDIR(inode->i_mode)) {
244 if (S_ISDIR(inode->i_mode) &&
/linux-master/fs/kernfs/
H A Dinode.c153 inode->i_mode = mode;
171 inode->i_mode = kn->mode;
/linux-master/fs/devpts/
H A Dinode.c361 inode->i_mode = S_IFCHR|fsi->mount_opts.ptmxmode;
454 inode->i_mode = S_IFDIR | S_IRUGO | S_IXUGO | S_IWUSR;
/linux-master/fs/ext2/
H A Dnamei.c149 init_special_inode(inode, inode->i_mode, rdev);
328 bool old_is_dir = S_ISDIR(old_inode->i_mode);
/linux-master/fs/pstore/
H A Dinode.c360 inode->i_mode = S_IFREG | 0444;
424 inode->i_mode = S_IFDIR | 0750;
H A Dblk.c219 if (!S_ISBLK(file_inode(psblk_file)->i_mode)) {
/linux-master/fs/btrfs/
H A Dprops.c355 if (!S_ISREG(inode->vfs_inode.i_mode) &&
356 !S_ISDIR(inode->vfs_inode.i_mode))
/linux-master/fs/exportfs/
H A Dexpfs.c293 if (!dir || !S_ISDIR(dir->i_mode))
412 if ((flags & EXPORT_FH_CONNECTABLE) && !S_ISDIR(inode->i_mode)) {
/linux-master/fs/xfs/
H A Dxfs_inode.h187 if (S_ISREG(VFS_I(ip)->i_mode))
505 (xfs_has_grpid((pip)->i_mount) || (VFS_I(pip)->i_mode & S_ISGID))
/linux-master/fs/f2fs/
H A Dcheckpoint.c1050 enum inode_type type = S_ISDIR(inode->i_mode) ? DIR_INODE : FILE_INODE;
1052 if (!S_ISDIR(inode->i_mode) && !S_ISREG(inode->i_mode) &&
1053 !S_ISLNK(inode->i_mode))
1068 enum inode_type type = S_ISDIR(inode->i_mode) ? DIR_INODE : FILE_INODE;
1070 if (!S_ISDIR(inode->i_mode) && !S_ISREG(inode->i_mode) &&
1071 !S_ISLNK(inode->i_mode))
/linux-master/fs/ubifs/
H A Djournal.c590 ino->mode = cpu_to_le32(inode->i_mode);
729 dent->type = get_dent_type(inode->i_mode);
1225 dent1->type = get_dent_type(fst_inode->i_mode);
1241 dent2->type = get_dent_type(snd_inode->i_mode);
1416 dent->type = get_dent_type(old_inode->i_mode);
1433 dent2->type = get_dent_type(whiteout->i_mode);
1696 ubifs_assert(c, S_ISREG(inode->i_mode));
1886 xent->type = get_dent_type(inode->i_mode);
/linux-master/init/
H A Ddo_mounts_rd.c181 if (!S_ISBLK(inode->i_mode))
/linux-master/fs/sysv/
H A Dnamei.c210 if (S_ISDIR(old_inode->i_mode)) {
/linux-master/mm/
H A Dsecretmem.c223 inode->i_mode |= S_IFREG;
/linux-master/fs/jfs/
H A Djfs_extent.c344 if (S_ISREG(ip->i_mode) && (ji->fileset == FILESYSTEM_I)) {
/linux-master/fs/autofs/
H A Dautofs_i.h219 if (!S_ISFIFO(file_inode(pipe)->i_mode))
/linux-master/fs/jffs2/
H A Ddir.c213 __func__, inode->i_ino, inode->i_mode, inode->i_nlink,
265 type = (d_inode(old_dentry)->i_mode & S_IFMT) >> 12;
668 init_special_inode(inode, inode->i_mode, rdev);
815 type = (d_inode(old_dentry)->i_mode & S_IFMT) >> 12;

Completed in 329 milliseconds

1234567891011>>