Searched refs:S_ISDIR (Results 1 – 20 of 20) sorted by relevance
68 return S_ISDIR(st.st_mode); in is_directory()78 return S_ISDIR(st.st_mode); in is_directory_at()
199 if (S_ISDIR(statbuf.st_mode)) in rm_rf_depth_pat()
1107 if (rc == -1 || !S_ISDIR(stbuf.st_mode)) { in s390_cpumsf__config()
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()
300 if (stat(file, &statbuf) != 0 || !S_ISDIR(statbuf.st_mode)) in cpuidle_state_count()304 if (stat(file, &statbuf) != 0 || !S_ISDIR(statbuf.st_mode)) in cpuidle_state_count()307 while (stat(file, &statbuf) == 0 && S_ISDIR(statbuf.st_mode)) { in cpuidle_state_count()
99 if (stat(file, &statbuf) != 0 || !S_ISDIR(statbuf.st_mode)) { in powercap_get_driver()224 if (stat(dent->d_name, &st) != 0 || !S_ISDIR(st.st_mode)) in powercap_read_zone()
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()
100 if (r == 0 && S_ISDIR(buf.st_mode)) { in scan_tree()189 if (r == 0 && S_ISDIR(buf.st_mode)) { in scan_rom()
71 FAIL_IF(!S_ISDIR(s.st_mode)); in verify_energy_info()
97 if (S_ISDIR(st.st_mode)) { in io_dir__is_dir()
23 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) macro
39 #define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR) macro
256 if (!S_ISDIR(st.st_mode)) in append_scripts_in_dir()
166 if (S_ISDIR(sb.st_mode)) in sysfs_get()
1091 } else if (S_ISDIR(st.st_mode)) { in walk_page_cache()1120 if (!S_ISDIR(st.st_mode)) in parse_cgroup()
35 #define S_ISDIR(m) (((m)&S_IFMT) == S_IFDIR) macro771 if (S_ISDIR(mode) || S_ISCHR(mode) || S_ISBLK(mode) || S_ISFIFO(mode) || in kprobe_ret__do_filp_open()
626 if (!S_ISDIR(st.st_mode)) { in main()
138 if (!S_ISDIR(path_stat.st_mode)) { in get_finfo()
9692 if (!S_ISDIR(st.st_mode)) in pmt_mmio_open()
Completed in 46 milliseconds