Home
last modified time | relevance | path

Searched refs:S_ISDIR (Results 1 – 25 of 33) sorted by relevance

12

/openbmc/u-boot/fs/cramfs/
H A Dcramfs.c83 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/openbmc-tools/adcapp/src/
H A Dadcifc.c32 if (!(stat(path, &sb) == 0 && S_ISDIR(sb.st_mode))) { in adc_directory_check()
/openbmc/u-boot/scripts/dtc/
H A Dfstree.c67 } else if (S_ISDIR(st.st_mode)) { in read_fstree()
H A Ddtc.c145 if (S_ISDIR(statbuf.st_mode)) in guess_input_format()
/openbmc/openbmc/poky/scripts/tiny/
H A Ddirsize.py22 if stat.S_ISDIR(s.st_mode):
/openbmc/u-boot/include/linux/
H A Dstat.h24 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) macro
/openbmc/u-boot/fs/yaffs2/
H A Dyportenv.h254 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) macro
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/libtar/files/
H A D0004-Fix-invalid-memory-de-reference-issue.patch24 || S_ISDIR((mode_t)oct_to_int((t)->th_buf.mode)) \
H A D0011-libtar-fix-programming-mistakes-detected-by-static-a.patch65 if (S_ISDIR(s.st_mode))
/openbmc/qemu/hw/9pfs/
H A D9p-util.h143 if (!S_ISREG(stbuf.st_mode) && !S_ISDIR(stbuf.st_mode)) { in close_if_special_file()
H A D9p-local.c1173 if (S_ISDIR(stbuf.st_mode)) { in local_remove()
1414 if (!S_ISREG(st_mode) && !S_ISDIR(st_mode)) { in local_ioc_getversion()
H A D9p.c1024 if (S_ISDIR(stbuf->st_mode)) { in stat_to_qid()
1219 if (S_ISDIR(stbuf->st_mode)) { in stat_to_v9mode()
1291 } else if (S_ISDIR(stbuf->st_mode) || S_ISREG(stbuf->st_mode)) { in stat_to_v9stat()
2088 if (S_ISDIR(stbuf.st_mode)) { in v9fs_open()
4355 } else if (!S_ISDIR(stat.st_mode)) { in v9fs_device_realize_common()
/openbmc/openbmc/poky/meta/lib/oe/
H A Dcachedpath.py91 return statmod.S_ISDIR(st.st_mode)
H A Dcopy_buildsystem.py23 if stat.S_ISDIR(mode):
H A Dsstatesig.py608 if stat.S_ISDIR(s.st_mode):
/openbmc/openbmc-tools/pwmtachtool/src/
H A Dpwmtach.c51 if (!(stat("/sys/class/hwmon", &sb) == 0 && S_ISDIR(sb.st_mode))) in pwmtach_directory_check()
/openbmc/u-boot/fs/reiserfs/
H A Dreiserfs_private.h399 #define S_ISDIR(mode) (((mode) & 0170000) == 0040000) macro
H A Dreiserfs.c812 if (! S_ISDIR (mode)) in reiserfs_dir()
/openbmc/qemu/tests/tcg/multiarch/linux/
H A Dlinux-test.c168 if (!S_ISDIR(st.st_mode)) in test_file()
/openbmc/qemu/system/
H A Ddevice_tree.c197 } else if (S_ISDIR(st.st_mode)) { in read_fstree()
/openbmc/openbmc/poky/meta/recipes-devtools/gcc/gcc/
H A D0002-gcc-poison-system-directories.patch227 else if (!S_ISDIR (st.st_mode))
/openbmc/u-boot/fs/ubifs/
H A Ddebug.c274 if (!S_ISDIR(inode->i_mode)) in ubifs_dump_inode()
1124 if (!S_ISDIR(dir->i_mode)) in dbg_check_dir()
1902 if (S_ISDIR(fscki->mode)) { in add_inode()
2201 if (S_ISDIR(fscki->mode)) { in check_inodes()
/openbmc/qemu/block/
H A Dvvfat.c806 direntry->attributes=(S_ISDIR(st.st_mode)?0x10:0x20); in read_directory()
826 direntry->size=cpu_to_le32(S_ISDIR(st.st_mode)?0:st.st_size); in read_directory()
829 if(!is_dot && !is_dotdot && (S_ISDIR(st.st_mode) || st.st_size)) { in read_directory()
839 if (S_ISDIR(st.st_mode)) { in read_directory()
/openbmc/openbmc/poky/bitbake/lib/bb/
H A Dutils.py990 if destexists and not stat.S_ISDIR(dstat[stat.ST_MODE]):
1097 if destexists and not stat.S_ISDIR(dstat[stat.ST_MODE]):
/openbmc/u-boot/scripts/kconfig/
H A Dconfdata.c754 if (!stat(name, &st) && S_ISDIR(st.st_mode)) { in conf_write()

12