Searched refs:S_ISDIR (Results 1 – 15 of 15) sorted by relevance
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()
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()
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()
93 return S_ISDIR(st.st_mode); in is_directory()
190 if (S_ISDIR(statbuf.st_mode)) in rm_rf_depth_pat()
1109 if (rc == -1 || !S_ISDIR(stbuf.st_mode)) { in s390_cpumsf__config()
1386 if (S_ISDIR(st.st_mode)) { in maps__set_modules_path_dir()
100 if (r == 0 && S_ISDIR(buf.st_mode)) { in scan_tree()189 if (r == 0 && S_ISDIR(buf.st_mode)) { in scan_rom()
23 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) macro
526 if (!S_ISDIR(st.st_mode)) in load_plugins_dir()
1078 } else if (S_ISDIR(st.st_mode)) { in walk_page_cache()1107 if (!S_ISDIR(st.st_mode)) in parse_cgroup()
32 #define S_ISDIR(m) (((m)&S_IFMT) == S_IFDIR) macro779 if (S_ISDIR(mode) || S_ISCHR(mode) || S_ISBLK(mode) || S_ISFIFO(mode) || in kprobe_ret__do_filp_open()
934 if (S_ISDIR(st.st_mode)) { in is_leaf_dir()
651 if (S_ISDIR(st.st_mode)) { in create_backing_dir()4560 TESTCOND(S_ISDIR(st.st_mode)); in sysfs_test_directories()4566 TESTCOND(S_ISDIR(st.st_mode)); in sysfs_test_directories()4642 if (S_ISDIR(st.st_mode)) in setup_mount_dir()
216 #define S_ISDIR(mode) (((mode) & S_IFDIR) == S_IFDIR) macro