Searched refs:d_type (Results 1 - 25 of 84) sorted by relevance

1234

/linux-master/include/linux/
H A Ddirent.h9 unsigned char d_type; member in struct:linux_dirent64
/linux-master/fs/bcachefs/
H A Ddirent_format.h32 __u8 d_type; member in struct:bch_dirent
H A Ddirent.c85 if (d.v->d_type == DT_SUBVOL)
139 bkey_fsck_err_on(d.v->d_type != DT_SUBVOL &&
154 if (d.v->d_type != DT_SUBVOL)
161 prt_printf(out, " type %s", bch2_d_type_str(d.v->d_type));
190 dirent->v.d_type = type;
256 dst->v.d_type = src.v->d_type;
265 if (d.v->d_type == DT_SUBVOL &&
269 if (likely(d.v->d_type != DT_SUBVOL)) {
416 if (new_dst->v.d_type
[all...]
/linux-master/tools/perf/util/
H A Dtracepoint.h12 if (evt_dirent->d_type == DT_DIR && \
19 if (sys_dirent->d_type == DT_DIR && \
H A Dgenelf.c186 d->d_type = ELF_T_BYTE;
220 d->d_type = ELF_T_BYTE;
322 d->d_type = ELF_T_BYTE;
369 d->d_type = ELF_T_BYTE;
405 d->d_type = ELF_T_SYM;
448 d->d_type = ELF_T_BYTE;
490 d->d_type = ELF_T_BYTE;
H A Dgenelf_debug.c528 d->d_type = ELF_T_BYTE;
562 d->d_type = ELF_T_BYTE;
596 d->d_type = ELF_T_BYTE;
/linux-master/tools/testing/selftests/proc/
H A Dproc-subset-pid.c91 assert(de->d_type == DT_DIR);
95 assert(de->d_type == DT_DIR);
99 assert(de->d_type == DT_LNK);
103 assert(de->d_type == DT_LNK);
109 assert(de->d_type == DT_DIR);
H A Dread.c82 assert(de->d_type == DT_DIR);
86 assert(de->d_type == DT_DIR);
93 switch (de->d_type) {
H A Dfd-001-lookup.c116 assert(de->d_type == DT_DIR);
120 assert(de->d_type == DT_DIR);
129 assert(de->d_type == DT_LNK);
H A Dfd-003-kthread.c106 assert(de->d_type == DT_DIR);
110 assert(de->d_type == DT_DIR);
/linux-master/fs/vboxsf/
H A Ddir.c61 unsigned int d_type; local
65 d_type = DT_FIFO;
68 d_type = DT_CHR;
71 d_type = DT_DIR;
74 d_type = DT_BLK;
77 d_type = DT_REG;
80 d_type = DT_LNK;
83 d_type = DT_SOCK;
86 d_type = DT_WHT;
89 d_type
101 unsigned int d_type; local
[all...]
/linux-master/fs/erofs/
H A Ddir.c18 unsigned char d_type; local
20 d_type = fs_ftype_to_dtype(de->file_type);
41 le64_to_cpu(de->nid), d_type))
H A Dnamei.c162 unsigned int *d_type)
187 *d_type = de->file_type;
198 unsigned int d_type; local
206 err = erofs_namei(dir, &dentry->d_name, &nid, &d_type);
161 erofs_namei(struct inode *dir, const struct qstr *name, erofs_nid_t *nid, unsigned int *d_type) argument
/linux-master/fs/xfs/libxfs/
H A Dxfs_dquot_buf.c64 if (ddq->d_type & ~XFS_DQTYPE_ANY)
66 ddq_type = ddq->d_type & XFS_DQTYPE_REC_MASK;
72 if ((ddq->d_type & XFS_DQTYPE_BIGTIME) &&
76 if ((ddq->d_type & XFS_DQTYPE_BIGTIME) && !ddq->d_id)
134 dqb->dd_diskdq.d_type = type;
307 if (t != 0 && (ddq->d_type & XFS_DQTYPE_BIGTIME))
/linux-master/tools/testing/selftests/powerpc/dscr/
H A Ddscr_sysfs_test.c45 if (!(dp->d_type & DT_DIR))
/linux-master/fs/
H A Dreaddir.c184 loff_t offset, u64 ino, unsigned int d_type)
263 loff_t offset, u64 ino, unsigned int d_type)
296 unsafe_put_user(d_type, (char __user *) dirent + reclen - 1, efault_end);
351 loff_t offset, u64 ino, unsigned int d_type)
378 unsafe_put_user(d_type, &dirent->d_type, efault_end);
442 unsigned int d_type)
515 loff_t offset, u64 ino, unsigned int d_type)
547 unsafe_put_user(d_type, (char __user *) dirent + reclen - 1, efault_end);
183 fillonedir(struct dir_context *ctx, const char *name, int namlen, loff_t offset, u64 ino, unsigned int d_type) argument
262 filldir(struct dir_context *ctx, const char *name, int namlen, loff_t offset, u64 ino, unsigned int d_type) argument
350 filldir64(struct dir_context *ctx, const char *name, int namlen, loff_t offset, u64 ino, unsigned int d_type) argument
440 compat_fillonedir(struct dir_context *ctx, const char *name, int namlen, loff_t offset, u64 ino, unsigned int d_type) argument
514 compat_filldir(struct dir_context *ctx, const char *name, int namlen, loff_t offset, u64 ino, unsigned int d_type) argument
/linux-master/fs/overlayfs/
H A Dreaddir.c147 u64 ino, unsigned int d_type)
159 p->type = d_type;
168 p->check_xwhiteout = rdd->in_xwhiteouts_dir && d_type == DT_REG;
170 if (d_type == DT_CHR) {
179 unsigned int d_type)
188 p = ovl_cache_entry_new(rdd, name, len, ino, d_type);
203 loff_t offset, u64 ino, unsigned int d_type)
211 p = ovl_cache_entry_new(rdd, name, namelen, ino, d_type);
259 unsigned int d_type)
266 return ovl_cache_entry_add_rb(rdd, name, namelen, ino, d_type);
145 ovl_cache_entry_new(struct ovl_readdir_data *rdd, const char *name, int len, u64 ino, unsigned int d_type) argument
177 ovl_cache_entry_add_rb(struct ovl_readdir_data *rdd, const char *name, int len, u64 ino, unsigned int d_type) argument
201 ovl_fill_lowest(struct ovl_readdir_data *rdd, const char *name, int namelen, loff_t offset, u64 ino, unsigned int d_type) argument
257 ovl_fill_merge(struct dir_context *ctx, const char *name, int namelen, loff_t offset, u64 ino, unsigned int d_type) argument
547 ovl_fill_plain(struct dir_context *ctx, const char *name, int namelen, loff_t offset, u64 ino, unsigned int d_type) argument
668 ovl_fill_real(struct dir_context *ctx, const char *name, int namelen, loff_t offset, u64 ino, unsigned int d_type) argument
1050 ovl_check_d_type(struct dir_context *ctx, const char *name, int namelen, loff_t offset, u64 ino, unsigned int d_type) argument
[all...]
/linux-master/fs/ufs/
H A Dutil.h160 de->d_u.d_44.d_type = DT_SOCK;
163 de->d_u.d_44.d_type = DT_LNK;
166 de->d_u.d_44.d_type = DT_REG;
169 de->d_u.d_44.d_type = DT_BLK;
172 de->d_u.d_44.d_type = DT_DIR;
175 de->d_u.d_44.d_type = DT_CHR;
178 de->d_u.d_44.d_type = DT_FIFO;
181 de->d_u.d_44.d_type = DT_UNKNOWN;
/linux-master/fs/xfs/
H A Dxfs_dquot_item_recover.c43 type = recddq->d_type & XFS_DQTYPE_REC_MASK;
96 type = recddq->d_type & XFS_DQTYPE_REC_MASK;
/linux-master/block/partitions/
H A Dosf.c25 __le16 d_type,d_subtype; member in struct:disklabel
/linux-master/arch/alpha/boot/tools/
H A Dmkbb.c39 u16 d_type, d_subtype; member in struct:disklabel
/linux-master/fs/nfsd/
H A Dxdr3.h305 loff_t offset, u64 ino, unsigned int d_type);
307 loff_t offset, u64 ino, unsigned int d_type);
H A Dxdr.h165 loff_t offset, u64 ino, unsigned int d_type);
/linux-master/tools/perf/tests/
H A Dtests-scripts.c216 if (ent->d_type != DT_DIR) {
219 if (ent->d_type != DT_UNKNOWN)
/linux-master/fs/omfs/
H A Ddir.c338 unsigned char d_type; local
359 d_type = (oi->i_type == OMFS_DIR) ? DT_DIR : DT_REG;
363 self, d_type)) {

Completed in 370 milliseconds

1234