| /OK3568_Linux_fs/external/rk_pcba_test/pcba_minui/minzip/ |
| H A D | DirUtil.c | 41 if (S_ISDIR(st.st_mode)) { in getPathDirStatus() 182 if (!S_ISDIR(st.st_mode)) { in dirUnlinkHierarchy() 240 chmod(path, S_ISDIR(st.st_mode) ? dirMode : fileMode)) { in dirSetHierarchyPermissions() 245 if (S_ISDIR(st.st_mode)) { in dirSetHierarchyPermissions()
|
| /OK3568_Linux_fs/external/recovery/minzip/ |
| H A D | DirUtil.c | 41 if (S_ISDIR(st.st_mode)) { in getPathDirStatus() 182 if (!S_ISDIR(st.st_mode)) { in dirUnlinkHierarchy() 240 chmod(path, S_ISDIR(st.st_mode) ? dirMode : fileMode)) { in dirSetHierarchyPermissions() 245 if (S_ISDIR(st.st_mode)) { in dirSetHierarchyPermissions()
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/platform/default/ |
| H A D | local_file_source.cpp | 13 #if defined(_WINDOWS) && !defined(S_ISDIR) 14 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) macro 44 if (result == 0 && S_ISDIR(buf.st_mode)) { in request()
|
| /OK3568_Linux_fs/kernel/fs/xfs/scrub/ |
| H A D | inode.c | 136 !S_ISDIR(mode)) in xchk_inode_flags() 177 if ((flags2 & XFS_DIFLAG2_DAX) && !(S_ISREG(mode) || S_ISDIR(mode))) in xchk_inode_flags2() 296 if (!S_ISDIR(mode) && !S_ISLNK(mode)) in xchk_dinode() 300 if (!S_ISREG(mode) && !S_ISDIR(mode) && !S_ISLNK(mode)) in xchk_dinode() 304 if (!S_ISREG(mode) && !S_ISDIR(mode)) in xchk_dinode() 328 if (!S_ISDIR(mode) && !S_ISREG(mode) && !S_ISLNK(mode) && isize != 0) in xchk_dinode() 332 if (S_ISDIR(mode) && (isize == 0 || isize >= XFS_DIR2_SPACE_SIZE)) in xchk_dinode()
|
| /OK3568_Linux_fs/kernel/fs/gfs2/ |
| H A D | inode.c | 89 } else if (S_ISDIR(mode)) { in gfs2_set_iop() 364 if (S_ISDIR(mode) && dip->i_inode.i_nlink == (u32)-1) in create_ok() 376 if (S_ISDIR(inode->i_mode)) in munge_mode_uid_gid() 385 if (S_ISDIR(inode->i_mode)) in munge_mode_uid_gid() 637 if (S_ISDIR(inode->i_mode)) { in gfs2_create_inode() 675 set_nlink(inode, S_ISDIR(mode) ? 2 : 1); in gfs2_create_inode() 932 if (S_ISDIR(inode->i_mode)) in gfs2_link() 1103 if (S_ISDIR(inode->i_mode)) in gfs2_unlink_inode() 1163 if (S_ISDIR(inode->i_mode)) { in gfs2_unlink() 1409 if (S_ISDIR(ip->i_inode.i_mode)) { in gfs2_rename() [all …]
|
| /OK3568_Linux_fs/kernel/fs/hpfs/ |
| H A D | inode.c | 166 if ((i->i_mode != ((hpfs_sb(i->i_sb)->sb_mode & ~(S_ISDIR(i->i_mode) ? 0 : 0111)) in hpfs_write_inode_ea() 167 | (S_ISDIR(i->i_mode) ? S_IFDIR : S_IFREG)) in hpfs_write_inode_ea() 168 && i->i_mode != ((hpfs_sb(i->i_sb)->sb_mode & ~(S_ISDIR(i->i_mode) ? 0222 : 0333)) in hpfs_write_inode_ea() 169 | (S_ISDIR(i->i_mode) ? S_IFDIR : S_IFREG))) || hpfs_inode->i_ea_mode) { in hpfs_write_inode_ea() 227 } else if (S_ISDIR(i->i_mode)) { in hpfs_write_inode_nolock() 241 if (S_ISDIR(i->i_mode)) { in hpfs_write_inode_nolock()
|
| /OK3568_Linux_fs/kernel/fs/nfs/ |
| H A D | nfs3acl.c | 80 if (S_ISDIR(inode->i_mode)) in nfs3_get_acl() 176 if (acl == NULL && (!S_ISDIR(inode->i_mode) || dfacl == NULL)) in __nfs3_proc_setacls() 190 if (S_ISDIR(inode->i_mode)) { in __nfs3_proc_setacls() 259 if (S_ISDIR(inode->i_mode)) { in nfs3_set_acl()
|
| H A D | inode.c | 248 if (S_ISREG(mode) || S_ISDIR(mode) || S_ISLNK(mode)) { in nfs_zap_caches_locked() 497 } else if (S_ISDIR(inode->i_mode)) { in nfs_fhget() 838 ((path->mnt->mnt_flags & MNT_NODIRATIME) && S_ISDIR(inode->i_mode))) in nfs_getattr() 875 if (S_ISDIR(inode->i_mode)) in nfs_getattr() 1198 if (!S_ISDIR(inode->i_mode)) in __nfs_revalidate_inode() 1268 if (S_ISDIR(inode->i_mode)) { in nfs_invalidate_mapping() 1399 if (S_ISDIR(inode->i_mode)) in nfs_wcc_update_inode() 1417 if (S_ISDIR(inode->i_mode)) in nfs_wcc_update_inode() 1708 if (S_ISDIR(inode->i_mode)) in nfs_post_op_update_inode_locked() 1885 if (S_ISDIR(inode->i_mode) && (fattr->valid & NFS_ATTR_FATTR_FSID) && in nfs_update_inode() [all …]
|
| /OK3568_Linux_fs/kernel/fs/ocfs2/ |
| H A D | namei.c | 199 if (S_ISDIR(mode)) in ocfs2_get_init_inode() 272 if (S_ISDIR(mode) && (dir->i_nlink >= ocfs2_link_max(osb))) { in ocfs2_mknod() 335 if (S_ISDIR(mode) && !ocfs2_supports_inline_data(osb)) { in ocfs2_mknod() 358 S_ISDIR(mode), in ocfs2_mknod() 386 if (S_ISDIR(mode)) { in ocfs2_mknod() 450 if (status < 0 && S_ISDIR(mode)) { in ocfs2_mknod() 579 if (S_ISDIR(inode->i_mode) && ocfs2_supports_inline_data(osb)) { in __ocfs2_mknod_locked() 696 if (S_ISDIR(inode->i_mode)) in ocfs2_link() 857 if (S_ISDIR(inode->i_mode)) { in ocfs2_inode_is_unlinkable() 937 if (S_ISDIR(inode->i_mode)) { in ocfs2_unlink() [all …]
|
| /OK3568_Linux_fs/kernel/tools/power/acpi/os_specific/service_layers/ |
| H A D | osunixdir.c | 131 if ((S_ISDIR(temp_stat.st_mode) in acpi_os_get_next_filename() 134 || ((!S_ISDIR(temp_stat.st_mode) in acpi_os_get_next_filename()
|
| /OK3568_Linux_fs/kernel/tools/power/cpupower/lib/ |
| H A D | cpuidle.c | 292 if (stat(file, &statbuf) != 0 || !S_ISDIR(statbuf.st_mode)) in cpuidle_state_count() 296 if (stat(file, &statbuf) != 0 || !S_ISDIR(statbuf.st_mode)) in cpuidle_state_count() 299 while (stat(file, &statbuf) == 0 && S_ISDIR(statbuf.st_mode)) { in cpuidle_state_count()
|
| /OK3568_Linux_fs/kernel/fs/xfs/libxfs/ |
| H A D | xfs_dir2.c | 181 ASSERT(S_ISDIR(VFS_I(dp)->i_mode)); in xfs_dir_isempty() 221 ASSERT(S_ISDIR(VFS_I(dp)->i_mode)); in xfs_dir_init() 254 ASSERT(S_ISDIR(VFS_I(dp)->i_mode)); in xfs_dir_createname() 351 ASSERT(S_ISDIR(VFS_I(dp)->i_mode)); in xfs_dir_lookup() 428 ASSERT(S_ISDIR(VFS_I(dp)->i_mode)); in xfs_dir_removename() 486 ASSERT(S_ISDIR(VFS_I(dp)->i_mode)); in xfs_dir_replace()
|
| H A D | xfs_inode_buf.c | 373 if (S_ISDIR(mode) || S_ISLNK(mode)) { in xfs_dinode_verify_fork() 475 if ((S_ISLNK(mode) || S_ISDIR(mode)) && di_size == 0) in xfs_dinode_verify() 630 if ((hint_flag || inherit_flag) && !(S_ISDIR(mode) || S_ISREG(mode))) in xfs_inode_validate_extsize() 636 if (inherit_flag && !S_ISDIR(mode)) in xfs_inode_validate_extsize() 683 if (hint_flag && !(S_ISDIR(mode) || S_ISREG(mode))) in xfs_inode_validate_cowextsize()
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | fsnotify.h | 44 if (S_ISDIR(inode->i_mode)) in fsnotify_inode() 56 if (S_ISDIR(inode->i_mode)) { in fsnotify_parent() 219 if (S_ISDIR(inode->i_mode)) in fsnotify_delete()
|
| /OK3568_Linux_fs/kernel/fs/jfs/ |
| H A D | jfs_inode.c | 56 rc = diAlloc(parent, S_ISDIR(mode), inode); in ialloc() 88 if (S_ISDIR(mode)) { in ialloc()
|
| /OK3568_Linux_fs/kernel/tools/power/cpupower/utils/helpers/ |
| H A D | sysfs.c | 362 if (stat(file, &statbuf) != 0 || !S_ISDIR(statbuf.st_mode)) in sysfs_get_idlestate_count() 366 if (stat(file, &statbuf) != 0 || !S_ISDIR(statbuf.st_mode)) in sysfs_get_idlestate_count() 369 while (stat(file, &statbuf) == 0 && S_ISDIR(statbuf.st_mode)) { in sysfs_get_idlestate_count()
|
| /OK3568_Linux_fs/kernel/fs/ |
| H A D | inode.c | 968 if (S_ISDIR(inode->i_mode)) { in lockdep_annotate_inode_mutex_key() 1032 if (inode1 && !S_ISDIR(inode1->i_mode)) in lock_two_nondirectories() 1034 if (inode2 && !S_ISDIR(inode2->i_mode) && inode2 != inode1) in lock_two_nondirectories() 1046 if (inode1 && !S_ISDIR(inode1->i_mode)) in unlock_two_nondirectories() 1048 if (inode2 && !S_ISDIR(inode2->i_mode) && inode2 != inode1) in unlock_two_nondirectories() 1807 if ((inode->i_sb->s_flags & SB_NODIRATIME) && S_ISDIR(inode->i_mode)) in atime_needs_update() 1812 if ((mnt->mnt_flags & MNT_NODIRATIME) && S_ISDIR(inode->i_mode)) in atime_needs_update() 2025 if (S_ISDIR(inode->i_mode) && IS_DIRSYNC(inode)) in inode_needs_sync() 2148 if (S_ISDIR(mode)) in inode_init_owner() 2361 !S_ISDIR(inode->i_mode)) in vfs_ioc_fssetxattr_check() [all …]
|
| H A D | remap_range.c | 310 if (S_ISDIR(inode_in->i_mode) || S_ISDIR(inode_out->i_mode)) in generic_remap_file_range_prep() 473 if (S_ISDIR(file_inode(dst_file)->i_mode)) in vfs_dedupe_file_range_one() 514 if (S_ISDIR(src->i_mode)) in vfs_dedupe_file_range()
|
| /OK3568_Linux_fs/u-boot/fs/cramfs/ |
| H A D | cramfs.c | 83 if (!S_ISDIR (CRAMFS_16 (super.root.mode))) { in cramfs_read_super() 156 if (S_ISDIR (CRAMFS_16 (inode->mode))) { in cramfs_resolve() 321 if (!S_ISDIR (CRAMFS_16 (inode->mode))) { in cramfs_ls()
|
| /OK3568_Linux_fs/kernel/fs/udf/ |
| H A D | ialloc.c | 37 if (S_ISDIR(inode->i_mode)) in udf_free_inode() 100 if (S_ISDIR(mode)) in udf_new_inode()
|
| /OK3568_Linux_fs/kernel/fs/overlayfs/ |
| H A D | inode.c | 132 if (S_ISDIR(dentry->d_inode->i_mode)) { in ovl_map_dev_ino() 164 bool is_dir = S_ISDIR(dentry->d_inode->i_mode); in ovl_getattr() 577 if (S_ISDIR(inode->i_mode)) in ovl_lockdep_annotate_inode_mutex_key() 624 if (S_ISDIR(inode->i_mode)) { in ovl_map_ino() 816 if (S_ISDIR(inode->i_mode) && strict) { in ovl_verify_inode() 976 is_dir = S_ISDIR(realinode->i_mode); in ovl_get_inode()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/ia64/ |
| H A D | aliasing-test.c | 100 if (r == 0 && S_ISDIR(buf.st_mode)) { in scan_tree() 189 if (r == 0 && S_ISDIR(buf.st_mode)) { in scan_rom()
|
| /OK3568_Linux_fs/kernel/fs/hfs/ |
| H A D | inode.c | 203 if (S_ISDIR(mode)) { in hfs_new_inode() 245 if (S_ISDIR(inode->i_mode)) { in hfs_delete_inode() 462 if (S_ISDIR(main_inode->i_mode)) { in hfs_write_inode() 621 ((S_ISDIR(inode->i_mode) && in hfs_inode_setattr() 633 attr->ia_mode &= S_ISDIR(inode->i_mode) ? ~hsb->s_dir_umask: ~hsb->s_file_umask; in hfs_inode_setattr()
|
| /OK3568_Linux_fs/kernel/fs/ext2/ |
| H A D | ialloc.c | 127 is_directory = S_ISDIR(inode->i_mode); in ext2_free_inode() 451 if (S_ISDIR(mode)) { in ext2_new_inode() 533 if (S_ISDIR(mode)) in ext2_new_inode() 538 if (S_ISDIR(mode)) { in ext2_new_inode()
|
| /OK3568_Linux_fs/kernel/fs/crypto/ |
| H A D | keysetup.c | 68 if (S_ISDIR(inode->i_mode) || S_ISLNK(inode->i_mode)) in select_encryption_mode() 684 S_ISDIR(inode->i_mode)); in fscrypt_get_encryption_info() 734 !S_ISDIR(inode->i_mode) && in fscrypt_prepare_new_inode() 743 S_ISDIR(inode->i_mode)); in fscrypt_prepare_new_inode()
|