Home
last modified time | relevance | path

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

12

/tools/testing/selftests/proc/
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()
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()
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()
Dfd-003-kthread.c106 assert(de->d_type == DT_DIR); in test_readdir()
110 assert(de->d_type == DT_DIR); in test_readdir()
/tools/perf/util/
Dtracepoint.h13 if (evt_dirent->d_type == DT_DIR && \
20 if (sys_dirent->d_type == DT_DIR && \
Dgenelf.c181 d->d_type = ELF_T_BYTE; in jit_add_eh_frame_info()
215 d->d_type = ELF_T_BYTE; in jit_add_eh_frame_info()
317 d->d_type = ELF_T_BYTE; in jit_write_elf()
364 d->d_type = ELF_T_BYTE; in jit_write_elf()
400 d->d_type = ELF_T_SYM; in jit_write_elf()
443 d->d_type = ELF_T_BYTE; in jit_write_elf()
485 d->d_type = ELF_T_BYTE; in jit_write_elf()
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()
Dprint-events.c86 if (sys_dirent->d_type != DT_DIR || in print_tracepoint_events()
108 if (evt_dirent->d_type != DT_DIR || in print_tracepoint_events()
Dcpumap.c577 if (dent1->d_type != DT_DIR || sscanf(dent1->d_name, "node%u", &mem) < 1) in cpu__setup_cpunode_map()
590 if (dent2->d_type != DT_LNK || sscanf(dent2->d_name, "cpu%u", &cpu) < 1) in cpu__setup_cpunode_map()
Dtrace-event-info.c157 if (dent->d_type == DT_DIR && \
Ddlfilter.c621 if (entry->d_type == DT_DIR || n < 4 || in list_filters()
/tools/testing/selftests/powerpc/dscr/
Ddscr_sysfs_test.c45 if (!(dp->d_type & DT_DIR)) in check_all_cpu_dscr_defaults()
/tools/perf/tests/
Dtests-scripts.c245 if (ent->d_type != DT_DIR) { in append_scripts_in_dir()
248 if (ent->d_type != DT_UNKNOWN) in append_scripts_in_dir()
/tools/include/nolibc/
Dtypes.h178 unsigned char d_type; member
/tools/hv/
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/
Delf.c664 symtab_data->d_type = ELF_T_SYM; in elf_update_symbol()
679 shndx_data->d_type = ELF_T_WORD; in elf_update_symbol()
1193 rsec->data->d_type = ELF_T_RELA; in elf_create_rela_section()
1234 if (data->d_type != ELF_T_BYTE || data->d_off) { in elf_write_insn()
/tools/testing/selftests/filesystems/incfs/
Dutils.c358 if (dp->d_type == DT_DIR) in delete_dir_tree()
/tools/testing/selftests/mm/
Dvm_util.c312 if (entry->d_type != DT_DIR) in detect_hugetlb_page_sizes()
/tools/perf/
Dbuiltin-buildid-cache.c99 if (dent->d_type != DT_DIR) in build_id_cache__kcore_existing()
/tools/tracing/rtla/src/
Dutils.c273 if (proc_entry->d_type != DT_DIR) in procfs_is_workload_pid()
/tools/testing/selftests/alsa/
Dconf.c258 if (dirent->d_type == DT_DIR) in filename_filter()
/tools/thermal/tmon/
Dsysfs.c207 if (nl->d_type == DT_LNK) { in find_tzone_cdev()
/tools/lib/bpf/
Dlinker.c400 sec->data->d_type = ELF_T_SYM; in init_output_elf()
1054 data->d_type = src_sec->data->d_type; in init_sec()
2612 sec->data->d_type = ELF_T_BYTE; in bpf_linker__finalize()
2684 data->d_type = ELF_T_BYTE; in emit_elf_data_sec()
/tools/bpf/resolve_btfids/
Dmain.c752 obj->efile.idlist->d_type = ELF_T_WORD; in symbols_patch()
/tools/mm/
Dslabinfo.c1229 switch (de->d_type) { in read_slab_dir()
1308 fatal("Unknown file type %lx\n", de->d_type); in read_slab_dir()

12