| /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 …]
|
| /fs/ |
| A D | readdir.c | 182 loff_t offset, u64 ino, unsigned int d_type) in fillonedir() argument 260 loff_t offset, u64 ino, unsigned int d_type) in filldir() argument 269 unsigned int flags = d_type; in filldir() 272 d_type &= S_DT_MASK; in filldir() 357 unsigned int flags = d_type; in filldir64() 360 d_type &= S_DT_MASK; in filldir64() 380 unsafe_put_user(d_type, &dirent->d_type, efault_end); in filldir64() 442 unsigned int d_type) in compat_fillonedir() argument 514 loff_t offset, u64 ino, unsigned int d_type) in compat_filldir() argument 523 unsigned int flags = d_type; in compat_filldir() [all …]
|
| /fs/overlayfs/ |
| A D | readdir.c | 148 u64 ino, unsigned int d_type) in ovl_cache_entry_new() argument 159 p->type = d_type; in ovl_cache_entry_new() 170 if (d_type == DT_CHR) { in ovl_cache_entry_new() 179 unsigned int d_type) in ovl_cache_entry_add_rb() argument 188 p = ovl_cache_entry_new(rdd, name, len, ino, d_type); in ovl_cache_entry_add_rb() 203 loff_t offset, u64 ino, unsigned int d_type) in ovl_fill_lowest() argument 259 unsigned int d_type) in ovl_fill_merge() argument 551 unsigned int d_type) in ovl_fill_plain() argument 673 unsigned int d_type) in ovl_fill_real() argument 1058 unsigned int d_type) in ovl_check_d_type() argument [all …]
|
| A D | super.c | 661 bool d_type; in ovl_make_workdir() local 690 d_type = err; in ovl_make_workdir() 691 if (!d_type) in ovl_make_workdir() 756 (!d_type || !rename_whiteout || ofs->noxattr)) { in ovl_make_workdir()
|
| /fs/bcachefs/ |
| A D | dirent.c | 136 if (d.v->d_type == DT_SUBVOL) in dirent_is_visible() 191 bkey_fsck_err_on(d.v->d_type != DT_SUBVOL && in bch2_dirent_validate() 225 if (d.v->d_type != DT_SUBVOL) in bch2_dirent_to_text() 232 prt_printf(out, " type %s", bch2_d_type_str(d.v->d_type)); in bch2_dirent_to_text() 316 dirent->v.d_type = type; in bch2_dirent_create_key() 380 if (d.v->d_type == DT_SUBVOL && in bch2_dirent_read_target() 384 if (likely(d.v->d_type != DT_SUBVOL)) { in bch2_dirent_read_target() 532 if (new_dst->v.d_type == DT_SUBVOL) in bch2_dirent_rename() 536 new_src->v.d_type == DT_SUBVOL) in bch2_dirent_rename() 557 bkey_s_c_to_dirent(old_dst).v->d_type == DT_SUBVOL && in bch2_dirent_rename() [all …]
|
| A D | dirent_format.h | 33 __u8 d_type:5, member 39 d_type:5; member
|
| A D | dirent.h | 67 dst->v.d_type = src.v->d_type; in dirent_copy_target()
|
| A D | namei.c | 825 target->bi_inum, target->bi_snapshot, bch2_d_types[d.v->d_type], buf.buf)) { in bch2_check_dirent_inode_dirent() 857 if (fsck_err_on(d.v->d_type != inode_d_type(target), in __bch2_check_dirent_target() 860 bch2_d_type_str(d.v->d_type), in __bch2_check_dirent_target() 870 n->v.d_type = inode_d_type(target); in __bch2_check_dirent_target() 871 if (n->v.d_type == DT_SUBVOL) { in __bch2_check_dirent_target()
|
| A D | namei.h | 68 d.v->d_type == inode_d_type(target))) in bch2_check_dirent_target()
|
| A D | opts.h | 38 static inline const char *bch2_d_type_str(unsigned d_type) in bch2_d_type_str() argument 40 return (d_type < BCH_DT_MAX ? bch2_d_types[d_type] : NULL) ?: "(bad d_type)"; in bch2_d_type_str()
|
| A D | fsck.c | 31 if (d.v->d_type == DT_SUBVOL in dirent_points_to_inode_nowarn() 95 bkey_s_c_to_dirent(k).v->d_type == DT_DIR) in bch2_count_subdirs() 128 *type = d.v->d_type; in lookup_dirent_in_snapshot() 172 unsigned d_type = 0; in lookup_lostfound() local 232 if (d_type != DT_DIR) { in lookup_lostfound() 1010 if (d->v.d_type == DT_SUBVOL) { in bch2_fsck_update_backpointers() 2313 u64 target = d.v->d_type == DT_SUBVOL in check_dirent() 2340 if (d.v->d_type == DT_SUBVOL) { in check_dirent() 2396 if (d.v->d_type == DT_DIR) in check_dirent() 2992 if (d.v->d_type != DT_DIR && in check_nlinks_walk_dirents() [all …]
|
| /fs/xfs/libxfs/ |
| A D | xfs_dquot_buf.c | 67 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() 310 if (t != 0 && (ddq->d_type & XFS_DQTYPE_BIGTIME)) in xfs_dquot_from_disk_ts()
|
| /fs/ufs/ |
| A D | util.h | 160 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()
|
| A D | dir.c | 453 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()
|
| /fs/erofs/ |
| A D | namei.c | 162 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()
|
| A D | dir.c | 16 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()
|
| /fs/xfs/scrub/ |
| A D | quota_repair.c | 285 if (ddq->d_type & XFS_DQTYPE_BIGTIME) in xrep_quota_fix_timer() 330 if ((ddq->d_type & XFS_DQTYPE_REC_MASK) != dqtype || in xrep_quota_block() 350 ddq->d_type = dqtype; in xrep_quota_block() 354 ddq->d_type |= XFS_DQTYPE_BIGTIME; in xrep_quota_block()
|
| /fs/xfs/ |
| A D | xfs_dquot_item_recover.c | 43 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()
|
| A D | xfs_dquot.c | 272 d->dd_diskdq.d_type = type; in xfs_qm_init_dquot_blk() 274 d->dd_diskdq.d_type |= XFS_DQTYPE_BIGTIME; in xfs_qm_init_dquot_blk() 585 ddqp_type = ddqp->d_type & XFS_DQTYPE_REC_MASK; in xfs_dquot_check_type() 635 dqp->q_type = ddqp->d_type; in xfs_dquot_from_disk() 672 ddqp->d_type = dqp->q_type; in xfs_dquot_to_disk()
|
| /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()
|
| /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);
|
| A D | xdr.h | 165 loff_t offset, u64 ino, unsigned int d_type);
|
| /fs/ecryptfs/ |
| A D | file.c | 83 int lower_namelen, loff_t offset, u64 ino, unsigned int d_type) in ecryptfs_filldir() argument 114 res = dir_emit(buf->caller, name, name_size, ino, d_type); in ecryptfs_filldir()
|
| /fs/ext2/ |
| A D | dir.c | 306 unsigned char d_type = DT_UNKNOWN; in ext2_readdir() local 309 d_type = fs_ftype_to_dtype(de->file_type); in ext2_readdir() 313 d_type)) { in ext2_readdir()
|
| /fs/9p/ |
| A D | vfs_dir.c | 188 curdirent.d_type)) in v9fs_dir_readdir_dotl()
|