Home
last modified time | relevance | path

Searched refs:d_type (Results 1 – 25 of 35) sorted by relevance

12

/tools/testing/selftests/proc/
A Dproc-subset-pid.c91 assert(de->d_type == DT_DIR); in main()
95 assert(de->d_type == DT_DIR); in main()
99 assert(de->d_type == DT_LNK); in main()
103 assert(de->d_type == DT_LNK); in main()
109 assert(de->d_type == DT_DIR); in main()
A Dread.c82 assert(de->d_type == DT_DIR); in f()
86 assert(de->d_type == DT_DIR); in f()
93 switch (de->d_type) { in f()
A Dfd-001-lookup.c116 assert(de->d_type == DT_DIR); in main()
120 assert(de->d_type == DT_DIR); in main()
129 assert(de->d_type == DT_LNK); in main()
A Dfd-003-kthread.c106 assert(de->d_type == DT_DIR); in test_readdir()
110 assert(de->d_type == DT_DIR); in test_readdir()
/tools/lib/api/
A Dio_dir.h48 unsigned char d_type; /* File type */ member
91 if (dent->d_type == DT_UNKNOWN) { in io_dir__is_dir()
98 dent->d_type = DT_DIR; in io_dir__is_dir()
102 return dent->d_type == DT_DIR; in io_dir__is_dir()
/tools/perf/util/
A Dtracepoint.h13 if (evt_dirent->d_type == DT_DIR && \
20 if (sys_dirent->d_type == DT_DIR && \
A Dgenelf.c102 d->d_type = ELF_T_BYTE; in jit_add_eh_frame_info()
136 d->d_type = ELF_T_BYTE; in jit_add_eh_frame_info()
238 d->d_type = ELF_T_BYTE; in jit_write_elf()
285 d->d_type = ELF_T_BYTE; in jit_write_elf()
321 d->d_type = ELF_T_SYM; in jit_write_elf()
364 d->d_type = ELF_T_BYTE; in jit_write_elf()
406 d->d_type = ELF_T_BYTE; in jit_write_elf()
A Dgenelf_debug.c528 d->d_type = ELF_T_BYTE; in jit_add_debug_info()
562 d->d_type = ELF_T_BYTE; in jit_add_debug_info()
596 d->d_type = ELF_T_BYTE; in jit_add_debug_info()
A Ddrm_pmu.c423 if (fd_entry->d_type != DT_LNK) in for_each_drm_fdinfo_in_dir()
493 if (proc_entry->d_type != DT_DIR || in for_each_drm_fdinfo()
A Dcpumap.c603 if (dent1->d_type != DT_DIR || sscanf(dent1->d_name, "node%u", &mem) < 1) in cpu__setup_cpunode_map()
616 if (dent2->d_type != DT_LNK || sscanf(dent2->d_name, "cpu%u", &cpu) < 1) in cpu__setup_cpunode_map()
A Dhwmon_pmu.c261 if (ent->d_type != DT_REG) in hwmon_pmu__read_events()
727 if (class_hwmon_ent->d_type != DT_LNK) in perf_pmus__read_hwmon_pmus()
A Dtrace-event-info.c157 if (dent->d_type == DT_DIR && \
/tools/perf/ui/browsers/
A Dscripts.c196 if (lang_dirent->d_type != DT_DIR && in find_scripts()
197 (lang_dirent->d_type == DT_UNKNOWN && in find_scripts()
221 if (script_dirent->d_type == DT_DIR) in find_scripts()
223 if (script_dirent->d_type == DT_UNKNOWN && in find_scripts()
/tools/testing/selftests/powerpc/dscr/
A Ddscr_sysfs_test.c45 if (!(dp->d_type & DT_DIR)) in check_all_cpu_dscr_defaults()
/tools/perf/tests/
A Dtests-scripts.c250 if (ent->d_type != DT_DIR) { in append_scripts_in_dir()
253 if (ent->d_type != DT_UNKNOWN) in append_scripts_in_dir()
A Dbuiltin-test.c172 if (ent->d_type != DT_LNK) in close_parent_fds()
202 if (ent->d_type != DT_LNK) in check_leaks()
/tools/include/nolibc/
A Dtypes.h165 unsigned char d_type; member
/tools/hv/
A Dhv_fcopy_uio_daemon.c75 if (entry->d_type == DT_DIR && strcmp(entry->d_name, ".") != 0 && in get_ring_buffer_size()
440 if (entry->d_type == DT_DIR && strcmp(entry->d_name, ".") != 0 && in fcopy_get_first_folder()
/tools/objtool/
A Delf.c688 symtab_data->d_type = ELF_T_SYM; in elf_update_symbol()
703 shndx_data->d_type = ELF_T_WORD; in elf_update_symbol()
1221 rsec->data->d_type = ELF_T_RELA; in elf_create_rela_section()
1262 if (data->d_type != ELF_T_BYTE || data->d_off) { in elf_write_insn()
/tools/testing/selftests/mm/
A Dvm_util.c329 if (entry->d_type != DT_DIR) in detect_hugetlb_page_sizes()
/tools/testing/selftests/alsa/
A Dconf.c258 if (dirent->d_type == DT_DIR) in filename_filter()
/tools/perf/
A Dbuiltin-buildid-cache.c99 if (dent->d_type != DT_DIR) in build_id_cache__kcore_existing()
/tools/thermal/tmon/
A Dsysfs.c207 if (nl->d_type == DT_LNK) { in find_tzone_cdev()
/tools/tracing/rtla/src/
A Dutils.c274 if (proc_entry->d_type != DT_DIR) in procfs_is_workload_pid()
/tools/verification/rv/src/
A Din_kernel.c569 if (ep->d_type != DT_DIR || ep->d_name[0] == '.') in ikm_enable_trace_container()

Completed in 43 milliseconds

12