/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/libyui/libyui-ncurses/ |
H A D | 0001-libyui-ncurses-Replace-off64_t-with-off_t-and-stat64.patch | 43 if ( S_ISDIR( statInfo.st_mode ) ) 52 if ( S_ISDIR( statInfo.st_mode ) ) 137 if ( S_ISDIR( statInfo.st_mode ) ) 146 if ( S_ISDIR( linkInfo.st_mode ) ) 173 bool isDir() { return (( S_ISDIR( _mode ) ) ? true : false ); }
|
/openbmc/linux/tools/perf/util/ |
H A D | path.c | 68 return S_ISDIR(st.st_mode); in is_directory() 80 return !S_ISDIR(st.st_mode) && (st.st_mode & S_IXUSR); in is_executable_file()
|
/openbmc/linux/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()
|
/openbmc/linux/fs/gfs2/ |
H A D | inode.c | 62 } else if (S_ISDIR(mode)) { in gfs2_set_iop() 387 if (S_ISDIR(inode->i_mode)) in munge_mode_uid_gid() 396 if (S_ISDIR(inode->i_mode)) in munge_mode_uid_gid() 956 if (S_ISDIR(inode->i_mode)) in gfs2_link() 1125 if (S_ISDIR(inode->i_mode)) in gfs2_unlink_inode() 1670 if (S_ISDIR(old_mode)) { in gfs2_exchange() 1677 if (S_ISDIR(new_mode)) { in gfs2_exchange() 1719 if (S_ISDIR(old_mode)) { in gfs2_exchange() 1725 if (S_ISDIR(new_mode)) { in gfs2_exchange() 1754 if (S_ISDIR(new_mode) && !S_ISDIR(old_mode)) { in gfs2_exchange() [all …]
|
/openbmc/linux/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()
|
/openbmc/linux/fs/xfs/scrub/ |
H A D | inode.c | 284 !S_ISDIR(mode)) in xchk_inode_flags() 325 if ((flags2 & XFS_DIFLAG2_DAX) && !(S_ISREG(mode) || S_ISDIR(mode))) in xchk_inode_flags2() 458 if (!S_ISDIR(mode) && !S_ISLNK(mode)) in xchk_dinode() 462 if (!S_ISREG(mode) && !S_ISDIR(mode) && !S_ISLNK(mode)) in xchk_dinode() 466 if (!S_ISREG(mode) && !S_ISDIR(mode)) in xchk_dinode() 490 if (!S_ISDIR(mode) && !S_ISREG(mode) && !S_ISLNK(mode) && isize != 0) in xchk_dinode() 494 if (S_ISDIR(mode) && (isize == 0 || isize >= XFS_DIR2_SPACE_SIZE)) in xchk_dinode()
|
H A D | parent.c | 146 if (dp == sc->ip || !S_ISDIR(VFS_I(dp)->i_mode)) { in xchk_parent_validate() 191 if (!S_ISDIR(VFS_I(sc->ip)->i_mode)) in xchk_parent()
|
/openbmc/linux/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()
|
/openbmc/linux/fs/nfs/ |
H A D | nfs3acl.c | 82 if (S_ISDIR(inode->i_mode)) in nfs3_get_acl() 179 if (acl == NULL && (!S_ISDIR(inode->i_mode) || dfacl == NULL)) in __nfs3_proc_setacls() 193 if (S_ISDIR(inode->i_mode)) { in __nfs3_proc_setacls() 264 if (S_ISDIR(inode->i_mode)) { in nfs3_set_acl()
|
H A D | nfs4getroot.c | 30 || !S_ISDIR(fsinfo.fattr->mode)) { in nfs4_get_rootfh()
|
/openbmc/linux/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()
|
/openbmc/linux/fs/ocfs2/ |
H A D | namei.c | 198 if (S_ISDIR(mode)) in ocfs2_get_init_inode() 360 S_ISDIR(mode), in ocfs2_mknod() 388 if (S_ISDIR(mode)) { in ocfs2_mknod() 700 if (S_ISDIR(inode->i_mode)) in ocfs2_link() 862 if (S_ISDIR(inode->i_mode)) { in ocfs2_inode_is_unlinkable() 942 if (S_ISDIR(inode->i_mode)) { in ocfs2_unlink() 993 if (S_ISDIR(inode->i_mode)) in ocfs2_unlink() 1001 if (S_ISDIR(inode->i_mode)) in ocfs2_unlink() 1007 if (S_ISDIR(inode->i_mode)) in ocfs2_unlink() 2284 if (S_ISDIR(inode->i_mode)) in ocfs2_orphan_add() [all …]
|
/openbmc/qemu/tests/tcg/cris/libc/ |
H A D | check_stat1.c | 12 || !S_ISDIR (buf.st_mode)) in main()
|
H A D | check_stat2.c | 16 || !S_ISDIR (buf.st_mode)) in main()
|
H A D | check_stat3.c | 18 || !S_ISDIR (buf.st_mode)) in main()
|
H A D | check_stat4.c | 20 || !S_ISDIR (buf.st_mode)) in main()
|
/openbmc/linux/fs/xfs/libxfs/ |
H A D | xfs_dir2.c | 194 ASSERT(S_ISDIR(VFS_I(dp)->i_mode)); in xfs_dir_isempty() 234 ASSERT(S_ISDIR(VFS_I(dp)->i_mode)); in xfs_dir_init() 267 ASSERT(S_ISDIR(VFS_I(dp)->i_mode)); in xfs_dir_createname() 364 ASSERT(S_ISDIR(VFS_I(dp)->i_mode)); in xfs_dir_lookup() 441 ASSERT(S_ISDIR(VFS_I(dp)->i_mode)); in xfs_dir_removename() 499 ASSERT(S_ISDIR(VFS_I(dp)->i_mode)); in xfs_dir_replace()
|
H A D | xfs_inode_buf.c | 378 if (S_ISDIR(mode)) { in xfs_dinode_verify_fork() 522 if ((S_ISLNK(mode) || S_ISDIR(mode)) && di_size == 0) { in xfs_dinode_verify() 547 if (S_ISDIR(mode) && nextents > mp->m_dir_geo->max_extents) in xfs_dinode_verify() 727 if ((hint_flag || inherit_flag) && !(S_ISDIR(mode) || S_ISREG(mode))) in xfs_inode_validate_extsize() 733 if (inherit_flag && !S_ISDIR(mode)) in xfs_inode_validate_extsize() 787 if (hint_flag && !(S_ISDIR(mode) || S_ISREG(mode))) in xfs_inode_validate_cowextsize()
|
/openbmc/linux/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()
|
/openbmc/linux/include/linux/ |
H A D | fsnotify.h | 50 if (S_ISDIR(inode->i_mode)) in fsnotify_inode() 65 if (S_ISDIR(inode->i_mode)) { in fsnotify_parent() 248 if (S_ISDIR(inode->i_mode)) in fsnotify_delete()
|
/openbmc/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()
|
/openbmc/linux/fs/ |
H A D | inode.c | 1081 if (S_ISDIR(inode->i_mode)) { in lockdep_annotate_inode_mutex_key() 1161 if (S_ISDIR(inode2->i_mode) == S_ISDIR(inode1->i_mode)) { in lock_two_inodes() 1164 } else if (!S_ISDIR(inode1->i_mode)) in lock_two_inodes() 1185 WARN_ON_ONCE(S_ISDIR(inode1->i_mode)); in lock_two_nondirectories() 1187 WARN_ON_ONCE(S_ISDIR(inode2->i_mode)); in lock_two_nondirectories() 1200 WARN_ON_ONCE(S_ISDIR(inode1->i_mode)); in unlock_two_nondirectories() 1204 WARN_ON_ONCE(S_ISDIR(inode2->i_mode)); in unlock_two_nondirectories() 2025 if ((mnt->mnt_flags & MNT_NODIRATIME) && S_ISDIR(inode->i_mode)) in atime_needs_update() 2288 if (S_ISDIR(inode->i_mode) && IS_DIRSYNC(inode)) in inode_needs_sync() 2419 if (S_ISDIR(mode)) in inode_init_owner() [all …]
|
H A D | remap_range.c | 289 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()
|
/openbmc/linux/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()
|
/openbmc/linux/security/tomoyo/ |
H A D | realpath.c | 105 if (inode && S_ISDIR(inode->i_mode)) { in tomoyo_get_absolute_path() 135 if (inode && S_ISDIR(inode->i_mode)) { in tomoyo_get_dentry_path()
|