/openbmc/linux/fs/smb/server/ |
H A D | smbacl.c | 149 if (S_ISDIR(fattr->cf_mode)) in access_flags_to_mode() 630 if (S_ISDIR(fattr->cf_mode) && pace->e_tag == ACL_OTHER) in set_posix_acl_entries_dacl() 641 if (S_ISDIR(fattr->cf_mode) && in set_posix_acl_entries_dacl() 775 if (S_ISDIR(fattr->cf_mode)) { in set_mode_dacl() 1012 bool is_dir = S_ISDIR(d_inode(path->dentry)->i_mode); in smb_inherit_dacl() 1420 if (S_ISDIR(inode->i_mode) && fattr.cf_dacls) { in set_info_sec()
|
/openbmc/linux/tools/include/nolibc/ |
H A D | types.h | 36 #define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR) macro
|
/openbmc/linux/fs/coda/ |
H A D | coda_linux.c | 170 if ( S_ISDIR(mode) ) { in coda_iattr_to_vattr()
|
/openbmc/linux/fs/ubifs/ |
H A D | ioctl.c | 164 if (!S_ISDIR(inode->i_mode)) in ubifs_fileattr_set()
|
/openbmc/linux/fs/omfs/ |
H A D | dir.c | 96 if (S_ISDIR(inode->i_mode)) { in omfs_make_empty() 244 if (S_ISDIR(inode->i_mode) && in omfs_remove()
|
/openbmc/linux/fs/fat/ |
H A D | fat.h | 191 if (S_ISDIR(inode->i_mode)) { in fat_mode_can_hold_ro() 220 if (S_ISDIR(inode->i_mode)) in fat_make_attrs()
|
/openbmc/linux/fs/ocfs2/dlmfs/ |
H A D | dlmfs.c | 123 if (S_ISDIR(inode->i_mode)) in dlmfs_file_open() 170 if (S_ISDIR(inode->i_mode)) in dlmfs_file_release()
|
/openbmc/linux/fs/reiserfs/ |
H A D | namei.c | 576 if (!S_ISDIR(inode->i_mode) && visible) in reiserfs_add_entry() 1378 if (S_ISDIR(old_inode->i_mode)) { in reiserfs_rename() 1590 if (S_ISDIR(new_dentry_inode->i_mode)) { in reiserfs_rename() 1603 if (S_ISDIR(old_inode->i_mode)) { in reiserfs_rename() 1684 else if (S_ISDIR(inode->i_mode)) in reiserfs_init_priv_inode()
|
/openbmc/linux/fs/gfs2/ |
H A D | export.c | 102 if (!S_ISDIR(dir->i_mode) || !inode) in gfs2_get_name()
|
/openbmc/linux/security/ |
H A D | inode.c | 150 if (S_ISDIR(mode)) { in securityfs_create_dentry()
|
/openbmc/linux/samples/landlock/ |
H A D | sandboxer.c | 126 if (!S_ISDIR(statbuf.st_mode)) in populate_ruleset()
|
/openbmc/qemu/qga/ |
H A D | commands-linux.c | 34 if (S_ISDIR(st.st_mode)) { in dev_major_minor()
|
/openbmc/linux/fs/hfsplus/ |
H A D | inode.c | 415 if (S_ISDIR(inode->i_mode)) { in hfsplus_new_inode() 445 if (S_ISDIR(inode->i_mode)) { in hfsplus_delete_inode() 600 if (S_ISDIR(main_inode->i_mode)) { in hfsplus_cat_write_inode()
|
H A D | xattr.c | 270 !S_ISDIR(inode->i_mode)) || in __hfsplus_setxattr() 500 !S_ISDIR(inode->i_mode)) || in __hfsplus_getxattr() 685 !S_ISDIR(inode->i_mode)) || in hfsplus_listxattr()
|
/openbmc/linux/fs/ntfs3/ |
H A D | inode.c | 435 if (S_ISDIR(mode)) { in ntfs_read_mft() 1255 if (S_ISDIR(mode)) { in ntfs_create_inode() 1337 ni = ntfs_new_inode(sbi, ino, S_ISDIR(mode) ? RECORD_FLAG_DIR : 0); in ntfs_create_inode() 1525 if (S_ISDIR(mode)) { in ntfs_create_inode() 1619 if (S_ISDIR(mode)) { in ntfs_create_inode() 1701 if (!S_ISDIR(mode)) in ntfs_create_inode() 1780 if (S_ISDIR(inode->i_mode) && !dir_is_empty(inode)) { in ntfs_unlink_inode()
|
/openbmc/linux/fs/xfs/ |
H A D | xfs_ioctl.c | 93 !S_ISDIR(inode->i_mode) && in xfs_find_handle() 157 if (!S_ISDIR(file_inode(parfilp)->i_mode)) in xfs_handle_to_dentry() 209 if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode))) { in xfs_open_by_handle() 232 if (S_ISDIR(inode->i_mode) && (fmode & FMODE_WRITE)) { in xfs_open_by_handle() 1079 if (S_ISDIR(VFS_I(ip)->i_mode)) { in xfs_flags2diflags() 1174 if (S_ISDIR(inode->i_mode)) in xfs_ioctl_setattr_prepare_dax()
|
H A D | xfs_acl.c | 189 if (!S_ISDIR(inode->i_mode)) in __xfs_set_acl()
|
/openbmc/linux/fs/exfat/ |
H A D | exfat_fs.h | 348 if (S_ISDIR(inode->i_mode)) in exfat_mode_can_hold_ro() 374 if (S_ISDIR(inode->i_mode)) in exfat_make_attr()
|
/openbmc/u-boot/scripts/dtc/ |
H A D | dtc.c | 145 if (S_ISDIR(statbuf.st_mode)) in guess_input_format()
|
/openbmc/linux/fs/ext2/ |
H A D | acl.c | 197 if (!S_ISDIR(inode->i_mode)) in __ext2_set_acl()
|
/openbmc/linux/scripts/dtc/ |
H A D | dtc.c | 141 if (S_ISDIR(statbuf.st_mode)) in guess_input_format()
|
/openbmc/linux/fs/proc/ |
H A D | internal.h | 203 return S_ISDIR(pde->mode) && !pde->proc_iops; in is_empty_pde()
|
/openbmc/linux/fs/ceph/ |
H A D | inode.c | 173 if (!S_ISDIR(parent->i_mode)) { in ceph_get_snapdir() 179 if (!(inode->i_state & I_NEW) && !S_ISDIR(inode->i_mode)) { in ceph_get_snapdir() 753 if (size > 0 && S_ISDIR(inode->i_mode)) { in ceph_fill_file_size() 1113 if (S_ISDIR(inode->i_mode)) { in ceph_fill_inode() 1237 if (S_ISDIR(inode->i_mode) && in ceph_fill_inode() 1289 if (S_ISDIR(inode->i_mode)) in ceph_fill_inode() 1428 if (S_ISDIR(in->i_mode)) { in splice_dentry() 2941 if (S_ISDIR(mode)) in statx_to_caps() 3003 if (S_ISDIR(inode->i_mode)) { in ceph_getattr()
|
H A D | acl.c | 115 if (!S_ISDIR(inode->i_mode)) { in ceph_set_acl()
|
/openbmc/linux/fs/nfs/ |
H A D | dir.c | 684 S_ISDIR(dir->i_mode)) { in nfs_readdir_record_entry_cache_hit() 703 S_ISDIR(dir->i_mode)) { in nfs_readdir_record_entry_cache_miss() 2187 !(S_ISDIR(inode->i_mode) || S_ISLNK(inode->i_mode))) in nfs_atomic_open() 2194 !(S_ISDIR(inode->i_mode) || S_ISLNK(inode->i_mode))) { in nfs_atomic_open() 2695 if (new_inode && !S_ISDIR(new_inode->i_mode)) { in nfs_rename() 3180 if (S_ISDIR(umode)) { in nfs_access_calc_mask() 3223 if (S_ISDIR(inode->i_mode)) in nfs_do_access() 3230 if (!S_ISDIR(inode->i_mode)) in nfs_do_access() 3275 if (S_ISDIR(inode->i_mode)) in nfs_execute_ok()
|