Searched refs:i_mode (Results 126 - 150 of 463) sorted by relevance

1234567891011>>

/linux-master/drivers/usb/gadget/function/
H A Dstorage_common.c209 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 Ddir.c368 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 Dfat.h180 * 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 Dinode.c101 ret->i_mode = mode;
123 if (!(inode->i_mode & S_IWUGO))
127 if (!(inode->i_mode & S_IRUGO))
/linux-master/fs/hfs/
H A Dcatalog.c41 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 Ddlmfs.c122 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 Ddir.c967 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 Dioctl.c453 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 Dinode.c90 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 Dsysv_fs.h193 __fs16 i_mode; member in struct:sysv_inode
/linux-master/fs/isofs/
H A Dexport.c55 if (!S_ISDIR(child_inode->i_mode)) {
/linux-master/fs/configfs/
H A Dmount.c32 if (S_ISLNK(inode->i_mode))
/linux-master/mm/
H A Dfadvise.c42 if (S_ISFIFO(inode->i_mode))
/linux-master/fs/ubifs/
H A Dioctl.c164 if (!S_ISDIR(inode->i_mode))
H A Ddir.c52 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 Dkernel_read_file.c48 if (!S_ISREG(file_inode(file)->i_mode))
H A Dbad_inode.c210 inode->i_mode = S_IFREG;
/linux-master/fs/crypto/
H A Dpolicy.c546 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 Ddir.c105 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 Dinode.h42 return S_ISDIR(ip->i_inode.i_mode);
/linux-master/fs/efivarfs/
H A Dinode.c31 inode->i_mode = mode;
/linux-master/fs/smb/client/
H A Dfscache.c137 key.type = (inode->i_mode & S_IFMT) >> 12;
/linux-master/fs/xfs/
H A Dxfs_exchrange.c726 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 Dinode.c358 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 Denable.c364 if (S_ISDIR(inode->i_mode))
367 if (!S_ISREG(inode->i_mode))

Completed in 398 milliseconds

1234567891011>>