Home
last modified time | relevance | path

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

12

/fs/erofs/
Ddir.c9 static void debug_one_dentry(unsigned char d_type, const char *de_name, in debug_one_dentry() argument
20 de_namelen, d_type); in debug_one_dentry()
34 unsigned char d_type; in erofs_fill_dentries() local
36 d_type = fs_ftype_to_dtype(de->file_type); in erofs_fill_dentries()
56 debug_one_dentry(d_type, de_name, de_namelen); in erofs_fill_dentries()
58 le64_to_cpu(de->nid), d_type)) in erofs_fill_dentries()
Dnamei.c170 erofs_nid_t *nid, unsigned int *d_type) in erofs_namei() argument
199 *d_type = de->file_type; in erofs_namei()
215 unsigned int d_type; in erofs_lookup() local
229 err = erofs_namei(dir, &dentry->d_name, &nid, &d_type); in erofs_lookup()
238 dentry->d_name.name, nid, d_type); in erofs_lookup()
239 inode = erofs_iget(dir->i_sb, nid, d_type == FT_DIR); in erofs_lookup()
Dinternal.h379 erofs_nid_t *nid, unsigned int *d_type);
/fs/
Dreaddir.c144 loff_t offset, u64 ino, unsigned int d_type) in fillonedir() argument
219 loff_t offset, u64 ino, unsigned int d_type) in filldir() argument
252 unsafe_put_user(d_type, (char __user *) dirent + reclen - 1, efault_end); in filldir()
310 loff_t offset, u64 ino, unsigned int d_type) in filldir64() argument
337 unsafe_put_user(d_type, &dirent->d_type, efault_end); in filldir64()
411 unsigned int d_type) in compat_fillonedir() argument
480 loff_t offset, u64 ino, unsigned int d_type) in compat_filldir() argument
513 if (__put_user(d_type, (char __user *) dirent + reclen - 1)) 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 …]
/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()
Dufs_fs.h297 __u8 d_type; /* file type */ member
/fs/omfs/
Ddir.c337 unsigned char d_type; in omfs_fill_chain() local
358 d_type = (oi->i_type == OMFS_DIR) ? DT_DIR : DT_REG; in omfs_fill_chain()
362 self, d_type)) { in omfs_fill_chain()
/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/nfsd/
Dnfs3xdr.c915 loff_t offset, u64 ino, unsigned int d_type, int plus) in encode_entry() argument
1045 int namlen, loff_t offset, u64 ino, unsigned int d_type) in nfs3svc_encode_entry() argument
1047 return encode_entry(cd, name, namlen, offset, ino, d_type, 0); in nfs3svc_encode_entry()
1053 unsigned int d_type) in nfs3svc_encode_entry_plus() argument
1055 return encode_entry(cd, name, namlen, offset, ino, d_type, 1); in nfs3svc_encode_entry_plus()
Dvfs.c1834 unsigned int d_type; member
1847 unsigned int d_type) in nfsd_buffered_filldir() argument
1863 de->d_type = d_type; in nfsd_buffered_filldir()
1911 de->ino, de->d_type)) in nfsd_buffered_readdir()
Dnfsxdr.c518 int namlen, loff_t offset, u64 ino, unsigned int d_type) in nfssvc_encode_entry() argument
/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.c898 unsigned char d_type = DT_UNKNOWN; in f2fs_fill_dentries() local
929 d_type = f2fs_get_de_type(de); in f2fs_fill_dentries()
959 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
802 unsigned int d_type) in listxattr_filler() argument
/fs/sdcardfs/
Dlookup.c231 int namelen, loff_t offset, u64 ino, unsigned int d_type) in sdcardfs_name_match() argument
/fs/nfs/
Ddir.c137 unsigned char d_type; member
217 cache_entry->d_type = entry->d_type; in nfs_readdir_add_to_array()
757 nfs_compat_user_ino64(ent->ino), ent->d_type)) { in nfs_do_filldir()
Dnfs3xdr.c2000 entry->d_type = DT_UNKNOWN; in nfs3_decode_dirent()
2008 entry->d_type = nfs_umode_to_dtype(entry->fattr->mode); in nfs3_decode_dirent()
Dnfs2xdr.c968 entry->d_type = DT_UNKNOWN; in nfs2_decode_dirent()
/fs/exportfs/
Dexpfs.c252 loff_t pos, u64 ino, unsigned int d_type) in filldir_one() argument
/fs/btrfs/
Ddelayed-inode.c1679 unsigned char d_type; in btrfs_readdir_delayed_dir_index() local
1704 d_type = fs_ftype_to_dtype(di->type); in btrfs_readdir_delayed_dir_index()
1708 location.objectid, d_type); in btrfs_readdir_delayed_dir_index()
/fs/coda/
Ddir.c408 type = CDT2DT(vdir->d_type); in coda_venus_readdir()

12