Home
last modified time | relevance | path

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

123

/linux/fs/vboxsf/
H A Ddir.c61 unsigned int d_type; in vboxsf_get_d_type() local
65 d_type = DT_FIFO; in vboxsf_get_d_type()
68 d_type = DT_CHR; in vboxsf_get_d_type()
71 d_type = DT_DIR; in vboxsf_get_d_type()
74 d_type = DT_BLK; in vboxsf_get_d_type()
77 d_type = DT_REG; in vboxsf_get_d_type()
80 d_type = DT_LNK; in vboxsf_get_d_type()
83 d_type = DT_SOCK; in vboxsf_get_d_type()
86 d_type = DT_WHT; in vboxsf_get_d_type()
89 d_type = DT_UNKNOWN; in vboxsf_get_d_type()
[all …]
/linux/tools/testing/selftests/proc/
H 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()
H 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()
H 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()
H A Dfd-003-kthread.c106 assert(de->d_type == DT_DIR); in test_readdir()
110 assert(de->d_type == DT_DIR); in test_readdir()
/linux/tools/perf/util/
H 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()
240 d->d_type = ELF_T_BYTE; in jit_write_elf()
295 d->d_type = ELF_T_BYTE; in jit_write_elf()
331 d->d_type = ELF_T_SYM; in jit_write_elf()
383 d->d_type = ELF_T_BYTE; in jit_write_elf()
434 d->d_type = ELF_T_BYTE; in jit_write_elf()
H A Dtracepoint.h13 if (evt_dirent->d_type == DT_DIR && \
20 if (sys_dirent->d_type == DT_DIR && \
H 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()
/linux/fs/erofs/
H A Dnamei.c162 unsigned int *d_type) in erofs_namei() argument
187 *d_type = de->file_type; in erofs_namei()
198 unsigned int d_type; in erofs_lookup() local
206 err = erofs_namei(dir, &dentry->d_name, &nid, &d_type); in erofs_lookup()
H A Ddir.c16 unsigned char d_type = fs_ftype_to_dtype(de->file_type); in erofs_fill_dentries() local
38 le64_to_cpu(de->nid)), d_type)) in erofs_fill_dentries()
/linux/fs/ufs/
H A Dutil.h160 de->d_u.d_44.d_type = DT_SOCK; in ufs_set_de_type()
163 de->d_u.d_44.d_type = DT_LNK; in ufs_set_de_type()
166 de->d_u.d_44.d_type = DT_REG; in ufs_set_de_type()
169 de->d_u.d_44.d_type = DT_BLK; in ufs_set_de_type()
172 de->d_u.d_44.d_type = DT_DIR; in ufs_set_de_type()
175 de->d_u.d_44.d_type = DT_CHR; in ufs_set_de_type()
178 de->d_u.d_44.d_type = DT_FIFO; in ufs_set_de_type()
181 de->d_u.d_44.d_type = DT_UNKNOWN; in ufs_set_de_type()
H A Ddir.c453 unsigned char d_type = DT_UNKNOWN; in ufs_readdir() local
460 d_type = de->d_u.d_44.d_type; in ufs_readdir()
465 d_type)) { in ufs_readdir()
/linux/tools/perf/ui/browsers/
H 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()
/linux/fs/xfs/
H A Dxfs_dquot_item_recover.c43 type = recddq->d_type & XFS_DQTYPE_REC_MASK; in xlog_recover_dquot_ra_pass2()
96 type = recddq->d_type & XFS_DQTYPE_REC_MASK; in xlog_recover_dquot_commit_pass2()
/linux/include/linux/
H A Ddirent.h9 unsigned char d_type; member
/linux/drivers/misc/genwqe/
H A Dcard_utils.c833 u32 eevptr_addr, l_addr, d_len, d_type; in genwqe_ffdc_buff_size() local
852 d_type = (val & 0x0000008000000000ull) >> 36; in genwqe_ffdc_buff_size()
854 if (d_type) { /* repeat */ in genwqe_ffdc_buff_size()
892 u32 eevptr_addr, l_addr, d_addr, d_len, d_type; in genwqe_ffdc_buff_read() local
907 d_type = (e & 0x0000008000000000ull) >> 36; /* 39 */ in genwqe_ffdc_buff_read()
910 if (d_type) { in genwqe_ffdc_buff_read()
/linux/tools/perf/tests/
H 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()
/linux/tools/testing/selftests/powerpc/dscr/
H A Ddscr_sysfs_test.c45 if (!(dp->d_type & DT_DIR)) in check_all_cpu_dscr_defaults()
/linux/include/uapi/linux/
H A Dfcntl.h90 __u16 d_type; /* F_RDLCK, F_WRLCK, F_UNLCK */ member
/linux/tools/perf/trace/beauty/include/uapi/linux/
H A Dfcntl.h90 __u16 d_type; /* F_RDLCK, F_WRLCK, F_UNLCK */ member
/linux/fs/nfsd/
H A Dxdr3.h305 loff_t offset, u64 ino, unsigned int d_type);
307 loff_t offset, u64 ino, unsigned int d_type);
/linux/block/partitions/
H A Dosf.c25 __le16 d_type,d_subtype; in osf_partition() member
/linux/tools/include/nolibc/
H A Dtypes.h118 unsigned char d_type; member
/linux/fs/ecryptfs/
H A Dfile.c81 int lower_namelen, loff_t offset, u64 ino, unsigned int d_type) in ecryptfs_filldir() argument
112 res = dir_emit(buf->caller, name, name_size, ino, d_type); in ecryptfs_filldir()
/linux/arch/alpha/boot/tools/
H A Dmkbb.c39 u16 d_type, d_subtype; member

123