Home
last modified time | relevance | path

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

123

/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()
258 d->d_type = ELF_T_BYTE; in jit_write_elf()
308 d->d_type = ELF_T_BYTE; in jit_write_elf()
344 d->d_type = ELF_T_SYM; in jit_write_elf()
389 d->d_type = ELF_T_BYTE; in jit_write_elf()
433 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/xfs/libxfs/
H A Dxfs_dquot_buf.c67 if (ddq->d_type & ~XFS_DQTYPE_ANY) in xfs_dquot_verify()
69 ddq_type = ddq->d_type & XFS_DQTYPE_REC_MASK; in xfs_dquot_verify()
75 if ((ddq->d_type & XFS_DQTYPE_BIGTIME) && in xfs_dquot_verify()
79 if ((ddq->d_type & XFS_DQTYPE_BIGTIME) && !ddq->d_id) in xfs_dquot_verify()
137 dqb->dd_diskdq.d_type = type; in xfs_dqblk_repair()
308 if (t != 0 && (ddq->d_type & XFS_DQTYPE_BIGTIME)) in xfs_dquot_from_disk_ts()
/linux/fs/overlayfs/
H A Dreaddir.c179 u64 ino, unsigned int d_type) in ovl_cache_entry_new() argument
190 p->type = d_type; in ovl_cache_entry_new()
199 p->check_xwhiteout = rdd->in_xwhiteouts_dir && d_type == DT_REG; in ovl_cache_entry_new()
209 if (d_type == DT_CHR) { in ovl_cache_entry_new()
221 unsigned int d_type) in ovl_cache_entry_add_rb() argument
230 p = ovl_cache_entry_new(rdd, name, len, c_name, c_len, ino, d_type); in ovl_cache_entry_add_rb()
247 loff_t offset, u64 ino, unsigned int d_type) in ovl_fill_lowest() argument
257 ino, d_type); in ovl_fill_lowest()
312 unsigned int d_type) in ovl_fill_merge() argument
336 ret = ovl_cache_entry_add_rb(rdd, name, namelen, c_name, c_len, ino, d_type); in ovl_fill_merge()
[all …]
/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()
/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.c454 unsigned char d_type = DT_UNKNOWN; in ufs_readdir() local
461 d_type = de->d_u.d_44.d_type; in ufs_readdir()
466 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()
H A Dxfs_dquot.c276 d->dd_diskdq.d_type = type; in xfs_qm_init_dquot_blk()
278 d->dd_diskdq.d_type |= XFS_DQTYPE_BIGTIME; in xfs_qm_init_dquot_blk()
589 ddqp_type = ddqp->d_type & XFS_DQTYPE_REC_MASK; in xfs_dquot_check_type()
639 dqp->q_type = ddqp->d_type; in xfs_dquot_from_disk()
676 ddqp->d_type = dqp->q_type; in xfs_dquot_to_disk()
/linux/include/linux/
H A Ddirent.h9 unsigned char d_type; member
/linux/fs/xfs/scrub/
H A Dquota_repair.c283 if (ddq->d_type & XFS_DQTYPE_BIGTIME) in xrep_quota_fix_timer()
328 if ((ddq->d_type & XFS_DQTYPE_REC_MASK) == dqtype && in xrep_quota_block()
348 ddq->d_type = dqtype; in xrep_quota_block()
352 ddq->d_type |= XFS_DQTYPE_BIGTIME; in xrep_quota_block()
/linux/tools/perf/tests/
H A Dtests-scripts.c262 if (ent->d_type != DT_DIR) { in append_scripts_in_dir()
265 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/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.h306 loff_t offset, u64 ino, unsigned int d_type);
308 loff_t offset, u64 ino, unsigned int d_type);
H A Dxdr.h166 loff_t offset, u64 ino, unsigned int d_type);
/linux/tools/include/nolibc/
H A Dtypes.h133 unsigned char d_type;
118 unsigned char d_type; global() member
/linux/arch/alpha/boot/tools/
H A Dmkbb.c39 u16 d_type, d_subtype; member
/linux/tools/hv/
H 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()

123