Searched refs:S_ISDIR (Results 76 - 100 of 277) sorted by relevance

1234567891011>>

/linux-master/fs/ceph/
H A Dacl.c117 if (!S_ISDIR(inode->i_mode)) {
/linux-master/fs/proc/
H A Dinternal.h203 return S_ISDIR(pde->mode) && !pde->proc_iops;
H A Dproc_sysctl.c470 if (!S_ISDIR(table->mode)) {
943 if (!S_ISDIR(entry->mode))
1216 if (S_ISDIR(link->mode) && S_ISDIR(entry->mode))
1477 ((S_ISDIR(link->mode) && S_ISDIR(entry->mode)) ||
H A Dinode.c139 if (S_ISDIR(inode->i_mode)) {
688 } else if (S_ISDIR(inode->i_mode)) {
/linux-master/fs/gfs2/
H A Dexport.c102 if (!S_ISDIR(dir->i_mode) || !inode)
/linux-master/fs/ocfs2/
H A Ddcache.c90 S_ISDIR(inode->i_mode));
/linux-master/fs/minix/
H A Dnamei.c196 if (S_ISDIR(old_inode->i_mode)) {
/linux-master/fs/smb/server/
H A Dmisc.c204 if (S_ISDIR(st->mode))
H A Dsmbacl.c149 if (S_ISDIR(fattr->cf_mode))
630 if (S_ISDIR(fattr->cf_mode) && pace->e_tag == ACL_OTHER)
641 if (S_ISDIR(fattr->cf_mode) &&
775 if (S_ISDIR(fattr->cf_mode)) {
1012 bool is_dir = S_ISDIR(d_inode(path->dentry)->i_mode);
1420 if (S_ISDIR(inode->i_mode) && fattr.cf_dacls) {
/linux-master/tools/perf/tests/
H A Dtests-scripts.c222 if (!S_ISDIR(st.st_mode))
/linux-master/fs/xfs/
H A Dxfs_acl.c189 if (!S_ISDIR(inode->i_mode))
H A Dxfs_ioctl.c94 !S_ISDIR(inode->i_mode) &&
158 if (!S_ISDIR(file_inode(parfilp)->i_mode))
210 if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode))) {
233 if (S_ISDIR(inode->i_mode) && (fmode & FMODE_WRITE)) {
1080 if (S_ISDIR(VFS_I(ip)->i_mode)) {
1175 if (S_ISDIR(inode->i_mode))
/linux-master/samples/landlock/
H A Dsandboxer.c132 if (!S_ISDIR(statbuf.st_mode))
/linux-master/fs/bcachefs/
H A Dinode.h198 return S_ISDIR(mode) ? 2 : 1;
/linux-master/fs/
H A Dioctl.c629 !S_ISDIR(inode->i_mode))
633 !S_ISREG(inode->i_mode) && !S_ISDIR(inode->i_mode))
641 !(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode)))
822 if (S_ISDIR(inode->i_mode) || S_ISREG(inode->i_mode) ||
/linux-master/fs/nfs/
H A Dinode.c234 if (S_ISREG(mode) || S_ISDIR(mode) || S_ISLNK(mode))
494 } else if (S_ISDIR(inode->i_mode)) {
872 ((path->mnt->mnt_flags & MNT_NODIRATIME) && S_ISDIR(inode->i_mode)))
921 if (S_ISDIR(inode->i_mode))
1236 if (!S_ISDIR(inode->i_mode))
1441 if (S_ISDIR(inode->i_mode))
1927 if (S_ISDIR(inode->i_mode))
2108 if (S_ISDIR(inode->i_mode) && (fattr->valid & NFS_ATTR_FATTR_FSID) &&
2165 if (S_ISDIR(inode->i_mode))
2305 if (!(S_ISREG(inode->i_mode) || S_ISDIR(inod
[all...]
/linux-master/fs/reiserfs/
H A Dnamei.c569 if (!S_ISDIR(inode->i_mode) && visible)
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)) {
1677 else if (S_ISDIR(inode->i_mode))
H A Dinode.c1170 if (S_ISLNK(inode->i_mode) || S_ISDIR(inode->i_mode))
1192 if (S_ISLNK(inode->i_mode) || S_ISDIR(inode->i_mode)) {
1207 if (S_ISLNK(inode->i_mode) || S_ISDIR(inode->i_mode)) {
1323 if (S_ISDIR(inode->i_mode) || S_ISLNK(inode->i_mode))
1345 } else if (S_ISDIR(inode->i_mode)) {
1979 set_nlink(inode, (S_ISDIR(mode) ? 2 : 1));
2033 if (old_format_only(sb) || S_ISDIR(mode) || S_ISLNK(mode))
2059 if (S_ISDIR(mode)) {
/linux-master/fs/xfs/scrub/
H A Dinode_repair.c362 if (S_ISDIR(VFS_I(dp)->i_mode))
873 if (S_ISDIR(mode) &&
1555 if (!S_ISDIR(mode))
1584 if (!(S_ISREG(mode) || S_ISDIR(mode)))
1691 if (S_ISDIR(VFS_I(sc->ip)->i_mode))
/linux-master/fs/overlayfs/
H A Dcopy_up.c655 (S_ISREG(c->stat.mode) || S_ISDIR(c->stat.mode))) {
798 if (S_ISDIR(c->stat.mode) && c->indexed) {
825 if (S_ISDIR(inode->i_mode))
930 if (S_ISDIR(c->stat.mode))
936 if (S_ISDIR(c->stat.mode) || c->stat.nlink == 1 || to_index) {
/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) &&
/linux-master/security/apparmor/
H A Dfile.c292 flags |= PATH_DELEGATE_DELETED | (S_ISDIR(cond->mode) ? PATH_IS_DIR :
505 flags = PATH_DELEGATE_DELETED | (S_ISDIR(cond.mode) ? PATH_IS_DIR : 0);
/linux-master/fs/exfat/
H A Dexfat_fs.h352 if (S_ISDIR(inode->i_mode))
378 if (S_ISDIR(inode->i_mode))
/linux-master/init/
H A Dinitramfs.c336 if (S_ISDIR(st.mode))
385 } else if (S_ISDIR(mode)) {
/linux-master/fs/verity/
H A Denable.c364 if (S_ISDIR(inode->i_mode))

Completed in 365 milliseconds

1234567891011>>