Searched refs:i_mode (Results 226 - 250 of 463) sorted by relevance

1234567891011>>

/linux-master/fs/ceph/
H A Dcaps.c590 if (S_ISREG(ci->netfs.inode.i_mode) &&
605 if (S_ISDIR(ci->netfs.inode.i_mode)) {
612 if (S_ISDIR(ci->netfs.inode.i_mode) && (had & CEPH_CAP_DIR_CREATE) &&
1002 (S_ISREG(ci->netfs.inode.i_mode) &&
1030 if (S_ISDIR(ci->netfs.inode.i_mode)) {
1083 if (S_ISDIR(ci->netfs.inode.i_mode)) {
1479 arg->mode = inode->i_mode;
2071 } else if (S_ISDIR(inode->i_mode) &&
2116 S_ISREG(inode->i_mode) &&
2178 if (S_ISREG(inode->i_mode)
[all...]
/linux-master/fs/
H A Dnamei.c341 unsigned int mode = inode->i_mode;
411 if (S_ISDIR(inode->i_mode)) {
436 if (!(mask & MAY_EXEC) || (inode->i_mode & S_IXUGO))
482 umode_t mode = inode->i_mode;
1146 umode_t mode = inode->i_mode;
1242 if ((!sysctl_protected_fifos && S_ISFIFO(inode->i_mode)) ||
1243 (!sysctl_protected_regular && S_ISREG(inode->i_mode)) ||
1251 ((sysctl_protected_fifos >= 2 && S_ISFIFO(inode->i_mode)) ||
1252 (sysctl_protected_regular >= 2 && S_ISREG(inode->i_mode))))) {
1253 const char *operation = S_ISFIFO(inode->i_mode)
[all...]
H A Dfs_parser.c176 !S_ISBLK(d_backing_inode(_path->dentry)->i_mode)) {
/linux-master/fs/hfsplus/
H A Ddir.c121 if (S_ISREG(inode->i_mode))
313 if (!S_ISREG(inode->i_mode))
/linux-master/fs/orangefs/
H A Dorangefs-utils.c179 attrs->perms = ORANGEFS_util_translate_mode(inode->i_mode);
371 inode->i_mode = type | (is_root_handle(inode) ? S_ISVTX : 0) |
/linux-master/fs/ext2/
H A Dialloc.c127 is_directory = S_ISDIR(inode->i_mode);
541 inode->i_mode = mode;
/linux-master/fs/coda/
H A Ddir.c538 old_mode = inode->i_mode;
542 if ((old_mode & S_IFMT) != (inode->i_mode & S_IFMT)) {
H A Dinode.c133 if (!S_ISCHR(inode->i_mode) || imajor(inode) != CODA_PSDEV_MAJOR) {
/linux-master/fs/nilfs2/
H A Dnamei.c116 init_special_inode(inode, inode->i_mode, rdev);
370 if (S_ISDIR(old_inode->i_mode)) {
/linux-master/fs/zonefs/
H A Dfile.c628 if (unlikely(IS_IMMUTABLE(inode) && !(inode->i_mode & 0777)))
685 if (unlikely(IS_IMMUTABLE(inode) && !(inode->i_mode & 0777)))
/linux-master/fs/xfs/scrub/
H A Dbmap_repair.c749 switch (VFS_I(sc->ip)->i_mode & S_IFMT) {
781 if (!S_ISREG(VFS_I(sc->ip)->i_mode))
H A Dtempfile.c113 } else if (S_ISLNK(VFS_I(sc->tempip)->i_mode)) {
384 ASSERT(S_ISREG(VFS_I(sc->tempip)->i_mode));
H A Ddirtree.c423 if (!S_ISDIR(VFS_I(dp)->i_mode)) {
910 if (!S_ISDIR(VFS_I(sc->ip)->i_mode))
/linux-master/security/integrity/ima/
H A Dima_appraise.c645 if (!(ima_policy_flag & IMA_APPRAISE) || !S_ISREG(inode->i_mode)
678 if (!(ima_policy_flag & IMA_APPRAISE) || !S_ISREG(inode->i_mode))
/linux-master/fs/nfsd/
H A Dnfsfh.c68 umode_t mode = d_inode(dentry)->i_mode & S_IFMT;
781 if (S_ISREG(inode->i_mode) &&
H A Dnfs2acl.c61 acl = posix_acl_from_mode(inode->i_mode, GFP_KERNEL);
/linux-master/mm/
H A Dreadahead.c739 (!S_ISREG(file_inode(f.file)->i_mode) &&
740 !S_ISBLK(file_inode(f.file)->i_mode)))
/linux-master/include/uapi/linux/
H A Dnilfs2_ondisk.h46 * @i_mode: file mode
63 __le16 i_mode; member in struct:nilfs_inode
/linux-master/fs/ext4/
H A Dext4_jbd2.h504 if (!S_ISREG(inode->i_mode))
/linux-master/fs/hfs/
H A Ddir.c260 if (S_ISDIR(inode->i_mode) && inode->i_size != 2)
/linux-master/fs/ufs/
H A Dnamei.c265 if (S_ISDIR(old_inode->i_mode)) {
H A Dialloc.c94 is_directory = S_ISDIR(inode->i_mode);
/linux-master/fs/fat/
H A Dmisc.c153 if (S_ISDIR(inode->i_mode) && IS_DIRSYNC(inode)) {
/linux-master/fs/afs/
H A Ddynroot.c81 inode->i_mode = S_IFDIR | S_IRUGO | S_IXUGO;
/linux-master/fs/fuse/
H A Dcontrol.c231 inode->i_mode = mode;

Completed in 581 milliseconds

1234567891011>>