/linux-master/fs/vboxsf/ |
H A D | dir.c | 368 if (S_ISDIR(inode->i_mode)) 373 if (S_ISLNK(inode->i_mode)) 418 if (d_inode(old_dentry)->i_mode & S_IFDIR)
|
/linux-master/fs/fat/ |
H A D | fat.h | 180 * If ->i_mode can't hold S_IWUGO (i.e. ATTR_RO), we use ->i_attrs to 181 * save ATTR_RO instead of ->i_mode. 191 if (S_ISDIR(inode->i_mode)) { 220 if (S_ISDIR(inode->i_mode)) 222 if (fat_mode_can_hold_ro(inode) && !(inode->i_mode & S_IWUGO))
|
/linux-master/arch/s390/hypfs/ |
H A D | inode.c | 101 ret->i_mode = mode; 123 if (!(inode->i_mode & S_IWUGO)) 127 if (!(inode->i_mode & S_IRUGO))
|
/linux-master/fs/hfs/ |
H A D | catalog.c | 41 if (S_ISDIR(inode->i_mode)) { 53 if (!(inode->i_mode & S_IWUSR)) 109 entry_size = hfs_cat_build_thread(sb, &entry, S_ISDIR(inode->i_mode) ?
|
/linux-master/fs/ocfs2/dlmfs/ |
H A D | dlmfs.c | 122 if (S_ISDIR(inode->i_mode)) 169 if (S_ISDIR(inode->i_mode)) 308 if (S_ISREG(inode->i_mode)) {
|
/linux-master/fs/fuse/ |
H A D | dir.c | 967 if (S_ISDIR(inode->i_mode)) 1122 err = create_new_entry(fm, &args, newdir, newent, inode->i_mode); 1139 stat->mode = (inode->i_mode & S_IFMT) | (attr->mode & 07777); 1196 if (file && S_ISREG(inode->i_mode)) { 1257 if (file && S_ISREG(inode->i_mode)) { 1361 if (!S_ISDIR(parent->i_mode)) 1522 ((mask & MAY_EXEC) && S_ISREG(inode->i_mode))) { 1555 } else if ((mask & MAY_EXEC) && S_ISREG(inode->i_mode)) { 1556 if (!(inode->i_mode & S_IXUGO)) { 1561 if (!err && !(inode->i_mode [all...] |
/linux-master/fs/ceph/ |
H A D | inode.c | 90 inode->i_mode = *mode; 179 if (!S_ISDIR(parent->i_mode)) { 181 parent->i_mode); 185 if (!(inode->i_state & I_NEW) && !S_ISDIR(inode->i_mode)) { 187 inode->i_mode); 191 inode->i_mode = parent->i_mode; 767 if (size > 0 && S_ISDIR(inode->i_mode)) { 969 inode->i_mode = mode; 974 ceph_vinop(inode), inode->i_mode, mod [all...] |
/linux-master/include/linux/ |
H A D | sysv_fs.h | 193 __fs16 i_mode; member in struct:sysv_inode
|
/linux-master/fs/isofs/ |
H A D | export.c | 55 if (!S_ISDIR(child_inode->i_mode)) {
|
/linux-master/fs/configfs/ |
H A D | mount.c | 32 if (S_ISLNK(inode->i_mode))
|
/linux-master/mm/ |
H A D | fadvise.c | 42 if (S_ISFIFO(inode->i_mode))
|
/linux-master/fs/ubifs/ |
H A D | ioctl.c | 164 if (!S_ISDIR(inode->i_mode))
|
H A D | dir.c | 52 if (!S_ISDIR(dir->i_mode)) 261 (S_ISDIR(inode->i_mode) || S_ISLNK(inode->i_mode)) && 376 init_special_inode(inode, inode->i_mode, WHITEOUT_DEV); 1105 init_special_inode(inode, inode->i_mode, rdev); 1305 int is_dir = S_ISDIR(old_inode->i_mode); 1599 if (S_ISDIR(fst_inode->i_mode) && !S_ISDIR(snd_inode->i_mode)) { 1603 else if (!S_ISDIR(fst_inode->i_mode) && S_ISDIR(snd_inode->i_mode)) { [all...] |
/linux-master/fs/ |
H A D | kernel_read_file.c | 48 if (!S_ISREG(file_inode(file)->i_mode))
|
H A D | bad_inode.c | 210 inode->i_mode = S_IFREG;
|
/linux-master/fs/crypto/ |
H A D | policy.c | 546 if (!S_ISDIR(inode->i_mode)) 663 if (!S_ISREG(child->i_mode) && !S_ISDIR(child->i_mode) && 664 !S_ISLNK(child->i_mode))
|
/linux-master/fs/ufs/ |
H A D | dir.c | 105 ufs_set_de_type(dir->i_sb, de, inode->i_mode); 397 ufs_set_de_type(sb, de, inode->i_mode); 577 ufs_set_de_type(sb, de, inode->i_mode); 584 ufs_set_de_type(sb, de, dir->i_mode);
|
/linux-master/fs/gfs2/ |
H A D | inode.h | 42 return S_ISDIR(ip->i_inode.i_mode);
|
/linux-master/fs/efivarfs/ |
H A D | inode.c | 31 inode->i_mode = mode;
|
/linux-master/fs/tracefs/ |
H A D | inode.c | 324 tmp_mode = READ_ONCE(inode->i_mode) & ~S_IALLUGO; 326 WRITE_ONCE(inode->i_mode, tmp_mode); 579 inode->i_mode = mode; 605 inode->i_mode = S_IFDIR | S_IRWXU | S_IRUSR| S_IRGRP | S_IXUSR | S_IXGRP;
|
/linux-master/fs/verity/ |
H A D | enable.c | 364 if (S_ISDIR(inode->i_mode)) 367 if (!S_ISREG(inode->i_mode))
|
/linux-master/fs/jffs2/ |
H A D | file.c | 168 ri.mode = cpu_to_jemode(inode->i_mode); 291 ri->mode = cpu_to_jemode(inode->i_mode);
|
/linux-master/fs/notify/dnotify/ |
H A D | dnotify.c | 162 if (!S_ISDIR(inode->i_mode)) 289 if (!S_ISDIR(inode->i_mode)) {
|
/linux-master/fs/reiserfs/ |
H A D | namei.c | 569 if (!S_ISDIR(inode->i_mode) && visible) 746 init_special_inode(inode, inode->i_mode, rdev); 1371 if (S_ISDIR(old_inode->i_mode)) { 1583 if (S_ISDIR(new_dentry_inode->i_mode)) { 1596 if (S_ISDIR(old_inode->i_mode)) { 1675 if (S_ISREG(inode->i_mode)) 1677 else if (S_ISDIR(inode->i_mode)) 1679 else if (S_ISLNK(inode->i_mode))
|
/linux-master/fs/overlayfs/ |
H A D | namei.c | 448 inode_wrong_type(d_inode(upperdentry), d_inode(origin)->i_mode)) 466 upperdentry, d_inode(upperdentry)->i_mode & S_IFMT, 467 d_inode(origin)->i_mode & S_IFMT); 694 index, d_inode(index)->i_mode & S_IFMT, err); 699 index, d_inode(index)->i_mode & S_IFMT, 821 inode_wrong_type(inode, d_inode(origin)->i_mode)) { 830 index, d_inode(index)->i_mode & S_IFMT, 831 d_inode(origin)->i_mode & S_IFMT);
|