Home
last modified time | relevance | path

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

/linux-4.4.14/fs/
Dreaddir.c78 loff_t offset, u64 ino, unsigned int d_type) in fillonedir() argument
153 loff_t offset, u64 ino, unsigned int d_type) in filldir() argument
184 if (__put_user(d_type, (char __user *) dirent + reclen - 1)) in filldir()
238 loff_t offset, u64 ino, unsigned int d_type) in filldir64() argument
261 if (__put_user(d_type, &dirent->d_type)) in filldir64()
Dcompat.c852 unsigned int d_type) in compat_fillonedir() argument
921 loff_t offset, u64 ino, unsigned int d_type) in compat_filldir() argument
952 if (__put_user(d_type, (char __user *) dirent + reclen - 1)) in compat_filldir()
1009 unsigned int d_type) in compat_filldir64() argument
1035 if (__put_user(d_type, &dirent->d_type)) in compat_filldir64()
/linux-4.4.14/fs/overlayfs/
Dreaddir.c85 u64 ino, unsigned int d_type) in ovl_cache_entry_new() argument
97 p->type = d_type; in ovl_cache_entry_new()
101 if (d_type == DT_CHR) { in ovl_cache_entry_new()
110 unsigned int d_type) in ovl_cache_entry_add_rb() argument
131 p = ovl_cache_entry_new(rdd, name, len, ino, d_type); in ovl_cache_entry_add_rb()
144 loff_t offset, u64 ino, unsigned int d_type) in ovl_fill_lower() argument
152 p = ovl_cache_entry_new(rdd, name, namelen, ino, d_type); in ovl_fill_lower()
190 unsigned int d_type) in ovl_fill_merge() argument
197 return ovl_cache_entry_add_rb(rdd, name, namelen, ino, d_type); in ovl_fill_merge()
199 return ovl_fill_lower(rdd, name, namelen, offset, ino, d_type); in ovl_fill_merge()
/linux-4.4.14/fs/ufs/
Dutil.h165 de->d_u.d_44.d_type = DT_SOCK; in ufs_set_de_type()
168 de->d_u.d_44.d_type = DT_LNK; in ufs_set_de_type()
171 de->d_u.d_44.d_type = DT_REG; in ufs_set_de_type()
174 de->d_u.d_44.d_type = DT_BLK; in ufs_set_de_type()
177 de->d_u.d_44.d_type = DT_DIR; in ufs_set_de_type()
180 de->d_u.d_44.d_type = DT_CHR; in ufs_set_de_type()
183 de->d_u.d_44.d_type = DT_FIFO; in ufs_set_de_type()
186 de->d_u.d_44.d_type = DT_UNKNOWN; in ufs_set_de_type()
Ddir.c479 unsigned char d_type = DT_UNKNOWN; in ufs_readdir() local
486 d_type = de->d_u.d_44.d_type; in ufs_readdir()
491 d_type)) { in ufs_readdir()
Dufs_fs.h296 __u8 d_type; /* file type */ member
/linux-4.4.14/include/linux/
Ddirent.h8 unsigned char d_type; member
Dgenhd.h509 __s16 d_type; /* drive type */ member
571 __le32 d_type; /* drive type */ member
Dnfs_xdr.h670 unsigned char d_type; member
/linux-4.4.14/tools/perf/util/
Dtrace-event-info.c190 if (dent->d_type != DT_DIR || in copy_event_system()
214 if (dent->d_type != DT_DIR || in copy_event_system()
294 if (dent->d_type != DT_DIR || in record_event_files()
311 if (dent->d_type != DT_DIR || in record_event_files()
Dcpumap.c487 if (dent1->d_type != DT_DIR || sscanf(dent1->d_name, "node%u", &mem) < 1) in cpu__setup_cpunode_map()
500 if (dent2->d_type != DT_LNK || sscanf(dent2->d_name, "cpu%u", &cpu) < 1) in cpu__setup_cpunode_map()
Dutil.c651 if ((d->d_type != DT_DIR) || in find_process()
Dparse-events.c143 if (sys_dirent.d_type == DT_DIR && \
164 if (evt_dirent.d_type == DT_DIR && \
Dsymbol.c1653 if (dent->d_type != DT_DIR) in find_matching_kcore()
/linux-4.4.14/drivers/misc/genwqe/
Dcard_utils.c848 u32 eevptr_addr, l_addr, d_len, d_type; in genwqe_ffdc_buff_size() local
867 d_type = (val & 0x0000008000000000ull) >> 36; in genwqe_ffdc_buff_size()
869 if (d_type) { /* repeat */ in genwqe_ffdc_buff_size()
903 u32 eevptr_addr, l_addr, d_addr, d_len, d_type; in genwqe_ffdc_buff_read() local
918 d_type = (e & 0x0000008000000000ull) >> 36; /* 39 */ in genwqe_ffdc_buff_read()
921 if (d_type) { in genwqe_ffdc_buff_read()
/linux-4.4.14/tools/testing/selftests/powerpc/dscr/
Ddscr_sysfs_test.c56 if (!(dp->d_type & DT_DIR)) in check_all_cpu_dscr_defaults()
/linux-4.4.14/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()
/linux-4.4.14/block/partitions/
Dosf.c24 __le16 d_type,d_subtype; in osf_partition() member
/linux-4.4.14/fs/ecryptfs/
Dfile.c72 int lower_namelen, loff_t offset, u64 ino, unsigned int d_type) in ecryptfs_filldir() argument
91 rc = !dir_emit(buf->caller, name, name_size, ino, d_type); in ecryptfs_filldir()
/linux-4.4.14/arch/alpha/boot/tools/
Dmkbb.c38 u16 d_type, d_subtype; member
/linux-4.4.14/fs/befs/
Dlinuxvfs.c216 unsigned char d_type; in befs_readdir() local
241 d_type = DT_UNKNOWN; in befs_readdir()
254 (ino_t) value, d_type)) { in befs_readdir()
261 (ino_t) value, d_type)) in befs_readdir()
/linux-4.4.14/fs/f2fs/
Ddir.c772 unsigned char d_type = DT_UNKNOWN; in f2fs_fill_dentries() local
786 d_type = f2fs_filetype_table[de->file_type]; in f2fs_fill_dentries()
788 d_type = DT_UNKNOWN; in f2fs_fill_dentries()
814 le32_to_cpu(de->ino), d_type)) in f2fs_fill_dentries()
/linux-4.4.14/fs/nfsd/
Dnfs3xdr.c875 loff_t offset, u64 ino, unsigned int d_type, int plus) in encode_entry() argument
1004 int namlen, loff_t offset, u64 ino, unsigned int d_type) in nfs3svc_encode_entry() argument
1006 return encode_entry(cd, name, namlen, offset, ino, d_type, 0); in nfs3svc_encode_entry()
1012 unsigned int d_type) in nfs3svc_encode_entry_plus() argument
1014 return encode_entry(cd, name, namlen, offset, ino, d_type, 1); in nfs3svc_encode_entry_plus()
Dvfs.c1758 unsigned int d_type; member
1771 unsigned int d_type) in nfsd_buffered_filldir() argument
1787 de->d_type = d_type; in nfsd_buffered_filldir()
1845 de->ino, de->d_type)) in nfsd_buffered_readdir()
Dnfsxdr.c498 int namlen, loff_t offset, u64 ino, unsigned int d_type) in nfssvc_encode_entry() argument
Dnfs4recover.c249 loff_t offset, u64 ino, unsigned int d_type) in nfsd4_build_namelist() argument
Dnfs4xdr.c2916 loff_t offset, u64 ino, unsigned int d_type) in nfsd4_encode_dirent() argument
/linux-4.4.14/fs/ext2/
Ddir.c334 unsigned char d_type = DT_UNKNOWN; in ext2_readdir() local
337 d_type = types[de->file_type]; in ext2_readdir()
341 d_type)) { in ext2_readdir()
/linux-4.4.14/include/net/9p/
Dclient.h210 unsigned char d_type; member
/linux-4.4.14/fs/9p/
Dvfs_dir.c217 curdirent.d_type)) in v9fs_dir_readdir_dotl()
/linux-4.4.14/fs/hostfs/
Dhostfs_user.c119 *type_out = ent->d_type; in read_dir()
/linux-4.4.14/tools/perf/
Dbuiltin-buildid-cache.c99 if (dent->d_type != DT_DIR) in build_id_cache__kcore_existing()
Dbuiltin-script.c1258 if ((lang_dirent.d_type == DT_DIR || \
1259 (lang_dirent.d_type == DT_UNKNOWN && \
1267 if (script_dirent.d_type != DT_DIR && \
1268 (script_dirent.d_type != DT_UNKNOWN || \
/linux-4.4.14/include/uapi/linux/
Dcoda.h165 u_int8_t d_type; /* file type, see below */ member
/linux-4.4.14/fs/exportfs/
Dexpfs.c245 loff_t pos, u64 ino, unsigned int d_type) in filldir_one() argument
/linux-4.4.14/fs/reiserfs/
Dxattr.c192 loff_t offset, u64 ino, unsigned int d_type) in fill_with_dentries() argument
830 unsigned int d_type) in listxattr_filler() argument
/linux-4.4.14/tools/thermal/tmon/
Dsysfs.c215 if (nl->d_type == DT_LNK) { in find_tzone_cdev()
/linux-4.4.14/fs/nfs/
Ddir.c144 unsigned char d_type; member
248 cache_entry->d_type = entry->d_type; in nfs_readdir_add_to_array()
778 nfs_compat_user_ino64(ent->ino), ent->d_type)) { in nfs_do_filldir()
Dnfs2xdr.c953 entry->d_type = DT_UNKNOWN; in nfs2_decode_dirent()
Dnfs3xdr.c1981 entry->d_type = DT_UNKNOWN; in nfs3_decode_dirent()
1989 entry->d_type = nfs_umode_to_dtype(entry->fattr->mode); in nfs3_decode_dirent()
Dnfs4xdr.c7360 entry->d_type = DT_UNKNOWN; in nfs4_decode_dirent()
7362 entry->d_type = nfs_umode_to_dtype(entry->fattr->mode); in nfs4_decode_dirent()
/linux-4.4.14/fs/coda/
Ddir.c403 type = CDT2DT(vdir->d_type); in coda_venus_readdir()
/linux-4.4.14/fs/btrfs/
Ddelayed-inode.c1705 unsigned char d_type; in btrfs_readdir_delayed_dir_index() local
1730 d_type = btrfs_filetype_table[di->type]; in btrfs_readdir_delayed_dir_index()
1734 location.objectid, d_type); in btrfs_readdir_delayed_dir_index()
Dinode.c5730 unsigned char d_type; in btrfs_real_readdir() local
5822 d_type = btrfs_filetype_table[btrfs_dir_type(leaf, di)]; in btrfs_real_readdir()
5841 location.objectid, d_type); in btrfs_real_readdir()
/linux-4.4.14/net/9p/
Dprotocol.c615 &dirent->d_off, &dirent->d_type, &nameptr); in p9dirent_read()
/linux-4.4.14/tools/vm/
Dslabinfo.c1177 switch (de->d_type) { in read_slab_dir()
1254 fatal("Unknown file type %lx\n", de->d_type); in read_slab_dir()
/linux-4.4.14/fs/ocfs2/
Ddir.c1805 unsigned char d_type = DT_UNKNOWN; in ocfs2_dir_foreach_blk_id() local
1808 d_type = ocfs2_filetype_table[de->file_type]; in ocfs2_dir_foreach_blk_id()
1811 le64_to_cpu(de->inode), d_type)) in ocfs2_dir_foreach_blk_id()
1903 unsigned char d_type = DT_UNKNOWN; in ocfs2_dir_foreach_blk_el() local
1906 d_type = ocfs2_filetype_table[de->file_type]; in ocfs2_dir_foreach_blk_el()
1910 d_type)) { in ocfs2_dir_foreach_blk_el()
/linux-4.4.14/Documentation/filesystems/
Doverlayfs.txt49 must provide valid d_type in readdir responses, so NFS is not suitable.
/linux-4.4.14/arch/alpha/kernel/
Dosf_sys.c108 loff_t offset, u64 ino, unsigned int d_type) in osf_filldir() argument
/linux-4.4.14/fs/fat/
Ddir.c708 loff_t offset, u64 ino, unsigned int d_type) \
/linux-4.4.14/tools/perf/ui/browsers/
Dhists.c1381 if (!(dent->d_type == DT_REG)) in switch_data_file()