/linux/fs/vboxsf/ |
A D | dir.c | 61 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() 92 return d_type; in vboxsf_get_d_type() [all …]
|
/linux/tools/testing/selftests/proc/ |
A D | proc-subset-pid.c | 91 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 D | read.c | 82 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 D | fd-001-lookup.c | 116 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 D | fd-003-kthread.c | 106 assert(de->d_type == DT_DIR); in test_readdir() 110 assert(de->d_type == DT_DIR); in test_readdir()
|
/linux/fs/erofs/ |
A D | dir.c | 8 static void debug_one_dentry(unsigned char d_type, const char *de_name, in debug_one_dentry() argument 19 de_namelen, d_type); in debug_one_dentry() 33 unsigned char d_type; in erofs_fill_dentries() local 35 d_type = fs_ftype_to_dtype(de->file_type); in erofs_fill_dentries() 55 debug_one_dentry(d_type, de_name, de_namelen); in erofs_fill_dentries() 57 le64_to_cpu(de->nid), d_type)) in erofs_fill_dentries()
|
A D | namei.c | 169 erofs_nid_t *nid, unsigned int *d_type) in erofs_namei() argument 198 *d_type = de->file_type; in erofs_namei() 214 unsigned int d_type; in erofs_lookup() local 228 err = erofs_namei(dir, &dentry->d_name, &nid, &d_type); in erofs_lookup() 237 dentry, nid, d_type); in erofs_lookup() 238 inode = erofs_iget(dir->i_sb, nid, d_type == FT_DIR); in erofs_lookup()
|
/linux/fs/xfs/libxfs/ |
A D | xfs_dquot_buf.c | 64 if (ddq->d_type & ~XFS_DQTYPE_ANY) in xfs_dquot_verify() 66 ddq_type = ddq->d_type & XFS_DQTYPE_REC_MASK; in xfs_dquot_verify() 72 if ((ddq->d_type & XFS_DQTYPE_BIGTIME) && in xfs_dquot_verify() 76 if ((ddq->d_type & XFS_DQTYPE_BIGTIME) && !ddq->d_id) in xfs_dquot_verify() 134 dqb->dd_diskdq.d_type = type; in xfs_dqblk_repair() 307 if (t != 0 && (ddq->d_type & XFS_DQTYPE_BIGTIME)) in xfs_dquot_from_disk_ts()
|
/linux/tools/perf/util/ |
A D | genelf.c | 180 d->d_type = ELF_T_BYTE; in jit_add_eh_frame_info() 214 d->d_type = ELF_T_BYTE; in jit_add_eh_frame_info() 302 d->d_type = ELF_T_BYTE; in jit_write_elf() 348 d->d_type = ELF_T_BYTE; in jit_write_elf() 384 d->d_type = ELF_T_SYM; in jit_write_elf() 427 d->d_type = ELF_T_BYTE; in jit_write_elf() 469 d->d_type = ELF_T_BYTE; in jit_write_elf()
|
A D | genelf_debug.c | 517 d->d_type = ELF_T_BYTE; in jit_add_debug_info() 551 d->d_type = ELF_T_BYTE; in jit_add_debug_info() 585 d->d_type = ELF_T_BYTE; in jit_add_debug_info()
|
/linux/fs/ |
A D | readdir.c | 144 loff_t offset, u64 ino, unsigned int d_type) in fillonedir() argument 223 loff_t offset, u64 ino, unsigned int d_type) in filldir() argument 256 unsafe_put_user(d_type, (char __user *) dirent + reclen - 1, efault_end); in filldir() 311 loff_t offset, u64 ino, unsigned int d_type) in filldir64() argument 338 unsafe_put_user(d_type, &dirent->d_type, efault_end); in filldir64() 402 unsigned int d_type) in compat_fillonedir() argument 475 loff_t offset, u64 ino, unsigned int d_type) in compat_filldir() argument 507 unsafe_put_user(d_type, (char __user *) dirent + reclen - 1, efault_end); in compat_filldir()
|
/linux/fs/overlayfs/ |
A D | readdir.c | 145 u64 ino, unsigned int d_type) in ovl_cache_entry_new() argument 157 p->type = d_type; in ovl_cache_entry_new() 166 if (d_type == DT_CHR) { in ovl_cache_entry_new() 175 unsigned int d_type) in ovl_cache_entry_add_rb() argument 184 p = ovl_cache_entry_new(rdd, name, len, ino, d_type); in ovl_cache_entry_add_rb() 199 loff_t offset, u64 ino, unsigned int d_type) in ovl_fill_lowest() argument 255 unsigned int d_type) in ovl_fill_merge() argument 533 unsigned int d_type) in ovl_fill_plain() argument 653 unsigned int d_type) in ovl_fill_real() argument 1031 unsigned int d_type) in ovl_check_d_type() argument [all …]
|
/linux/fs/ufs/ |
A D | util.h | 166 de->d_u.d_44.d_type = DT_SOCK; in ufs_set_de_type() 169 de->d_u.d_44.d_type = DT_LNK; in ufs_set_de_type() 172 de->d_u.d_44.d_type = DT_REG; in ufs_set_de_type() 175 de->d_u.d_44.d_type = DT_BLK; in ufs_set_de_type() 178 de->d_u.d_44.d_type = DT_DIR; in ufs_set_de_type() 181 de->d_u.d_44.d_type = DT_CHR; in ufs_set_de_type() 184 de->d_u.d_44.d_type = DT_FIFO; in ufs_set_de_type() 187 de->d_u.d_44.d_type = DT_UNKNOWN; in ufs_set_de_type()
|
A D | dir.c | 466 unsigned char d_type = DT_UNKNOWN; in ufs_readdir() local 473 d_type = de->d_u.d_44.d_type; in ufs_readdir() 478 d_type)) { in ufs_readdir()
|
/linux/fs/xfs/ |
A D | xfs_dquot_item_recover.c | 42 type = recddq->d_type & XFS_DQTYPE_REC_MASK; in xlog_recover_dquot_ra_pass2() 94 type = recddq->d_type & XFS_DQTYPE_REC_MASK; in xlog_recover_dquot_commit_pass2()
|
A D | xfs_dquot.c | 225 d->dd_diskdq.d_type = type; in xfs_qm_init_dquot_blk() 227 d->dd_diskdq.d_type |= XFS_DQTYPE_BIGTIME; in xfs_qm_init_dquot_blk() 518 ddqp_type = ddqp->d_type & XFS_DQTYPE_REC_MASK; in xfs_dquot_check_type() 566 dqp->q_type = ddqp->d_type; in xfs_dquot_from_disk() 607 ddqp->d_type = dqp->q_type; in xfs_dquot_to_disk()
|
/linux/drivers/misc/genwqe/ |
A D | card_utils.c | 833 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/include/linux/ |
A D | dirent.h | 9 unsigned char d_type; member
|
/linux/fs/omfs/ |
A D | dir.c | 338 unsigned char d_type; in omfs_fill_chain() local 359 d_type = (oi->i_type == OMFS_DIR) ? DT_DIR : DT_REG; in omfs_fill_chain() 363 self, d_type)) { in omfs_fill_chain()
|
/linux/tools/testing/selftests/powerpc/dscr/ |
A D | dscr_sysfs_test.c | 55 if (!(dp->d_type & DT_DIR)) in check_all_cpu_dscr_defaults()
|
/linux/fs/nfsd/ |
A D | xdr3.h | 305 loff_t offset, u64 ino, unsigned int d_type); 307 loff_t offset, u64 ino, unsigned int d_type);
|
/linux/fs/ecryptfs/ |
A D | file.c | 58 int lower_namelen, loff_t offset, u64 ino, unsigned int d_type) in ecryptfs_filldir() argument 88 rc = !dir_emit(buf->caller, name, name_size, ino, d_type); in ecryptfs_filldir()
|
/linux/block/partitions/ |
A D | osf.c | 25 __le16 d_type,d_subtype; in osf_partition() member
|
/linux/arch/alpha/boot/tools/ |
A D | mkbb.c | 39 u16 d_type, d_subtype; member
|
/linux/fs/ext2/ |
A D | dir.c | 313 unsigned char d_type = DT_UNKNOWN; in ext2_readdir() local 316 d_type = fs_ftype_to_dtype(de->file_type); in ext2_readdir() 320 d_type)) { in ext2_readdir()
|