Searched refs:i_mode (Results 126 - 150 of 463) sorted by relevance
1234567891011>>
/linux-master/drivers/usb/gadget/function/ |
H A D | storage_common.c | 209 if ((!S_ISREG(inode->i_mode) && !S_ISBLK(inode->i_mode))) { 235 } else if (S_ISBLK(inode->i_mode)) {
|
/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...] |
H A D | ioctl.c | 453 if (S_ISDIR(inode->i_mode)) 485 bool isdir = S_ISDIR(inode->i_mode); 493 if (!S_ISREG(inode->i_mode) && !isdir) 501 fuse_file_release(inode, ff, O_RDONLY, NULL, S_ISDIR(inode->i_mode));
|
/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; 769 if (size > 0 && S_ISDIR(inode->i_mode)) { 971 inode->i_mode = mode; 976 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/smb/client/ |
H A D | fscache.c | 137 key.type = (inode->i_mode & S_IFMT) >> 12;
|
/linux-master/fs/xfs/ |
H A D | xfs_exchrange.c | 726 if (S_ISDIR(inode1->i_mode) || S_ISDIR(inode2->i_mode)) 728 if (!S_ISREG(inode1->i_mode) || !S_ISREG(inode2->i_mode))
|
/linux-master/fs/tracefs/ |
H A D | inode.c | 358 tmp_mode = READ_ONCE(inode->i_mode) & ~S_IALLUGO; 360 WRITE_ONCE(inode->i_mode, tmp_mode); 661 inode->i_mode = mode; 687 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))
|
Completed in 398 milliseconds
1234567891011>>