Home
last modified time | relevance | path

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

12

/fs/vboxsf/
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 …]
/fs/erofs/
Ddir.c8 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()
Dnamei.c169 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()
Dinternal.h451 erofs_nid_t *nid, unsigned int *d_type);
/fs/xfs/libxfs/
Dxfs_dquot_buf.c64 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()
/fs/
Dreaddir.c144 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()
/fs/overlayfs/
Dreaddir.c145 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
207 p = ovl_cache_entry_new(rdd, name, namelen, ino, d_type); in ovl_fill_lowest()
255 unsigned int d_type) in ovl_fill_merge() argument
262 return ovl_cache_entry_add_rb(rdd, name, namelen, ino, d_type); in ovl_fill_merge()
264 return ovl_fill_lowest(rdd, name, namelen, offset, ino, d_type); in ovl_fill_merge()
[all …]
Dsuper.c1388 bool d_type; in ovl_make_workdir() local
1417 d_type = err; in ovl_make_workdir()
1418 if (!d_type) in ovl_make_workdir()
1472 (!d_type || !rename_whiteout || ofs->noxattr)) { in ovl_make_workdir()
/fs/ufs/
Dutil.h166 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()
Ddir.c466 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()
/fs/xfs/
Dxfs_dquot_item_recover.c42 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()
Dxfs_dquot.c225 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()
Dxfs_qm.c869 (dqb[j].dd_diskdq.d_type & XFS_DQTYPE_REC_MASK) != type) in xfs_qm_reset_dqcounts()
876 ddq->d_type = type; in xfs_qm_reset_dqcounts()
894 ddq->d_type |= XFS_DQTYPE_BIGTIME; in xfs_qm_reset_dqcounts()
/fs/omfs/
Ddir.c338 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/
Dxdr3.h304 loff_t offset, u64 ino, unsigned int d_type);
306 loff_t offset, u64 ino, unsigned int d_type);
Dxdr.h164 loff_t offset, u64 ino, unsigned int d_type);
Dvfs.c1948 unsigned int d_type; member
1961 unsigned int d_type) in nfsd_buffered_filldir() argument
1977 de->d_type = d_type; in nfsd_buffered_filldir()
2026 de->ino, de->d_type)) in nfsd_buffered_readdir()
/fs/ecryptfs/
Dfile.c58 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()
/fs/ext2/
Ddir.c313 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()
/fs/9p/
Dvfs_dir.c189 curdirent.d_type)) in v9fs_dir_readdir_dotl()
/fs/f2fs/
Ddir.c975 unsigned char d_type = DT_UNKNOWN; in f2fs_fill_dentries() local
1009 d_type = fs_ftype_to_dtype(de->file_type); in f2fs_fill_dentries()
1040 le32_to_cpu(de->ino), d_type)) { in f2fs_fill_dentries()
/fs/hostfs/
Dhostfs_user.c119 *type_out = ent->d_type; in read_dir()
/fs/reiserfs/
Dxattr.c194 loff_t offset, u64 ino, unsigned int d_type) in fill_with_dentries() argument
809 unsigned int d_type) in listxattr_filler() argument
/fs/btrfs/
Ddelayed-inode.c1618 unsigned char d_type; in btrfs_readdir_delayed_dir_index() local
1643 d_type = fs_ftype_to_dtype(di->type); in btrfs_readdir_delayed_dir_index()
1647 location.objectid, d_type); in btrfs_readdir_delayed_dir_index()
/fs/exportfs/
Dexpfs.c252 loff_t pos, u64 ino, unsigned int d_type) in filldir_one() argument

12