Home
last modified time | relevance | path

Searched refs:DT_DIR (Results 1 – 25 of 43) sorted by relevance

12

/fs/hfs/
Ddir.c77 if (filldir(dirent, ".", 1, 0, inode->i_ino, DT_DIR)) in hfs_readdir()
94 be32_to_cpu(entry.thread.ParID), DT_DIR)) in hfs_readdir()
122 be32_to_cpu(entry.dir.DirID), DT_DIR)) in hfs_readdir()
/fs/affs/
Ddir.c69 if (filldir(dirent, ".", 1, f_pos, inode->i_ino, DT_DIR) < 0) in affs_readdir()
75 if (filldir(dirent, "..", 2, f_pos, parent_ino(filp->f_path.dentry), DT_DIR) < 0) in affs_readdir()
/fs/openpromfs/
Dinode.c279 if (filldir(dirent, ".", 1, i, ino, DT_DIR) < 0) in openpromfs_readdir()
288 dp->parent->unique_id), DT_DIR) < 0) in openpromfs_readdir()
306 filp->f_pos, child->unique_id, DT_DIR) < 0) in openpromfs_readdir()
/fs/isofs/
Ddir.c174 if (filldir(dirent, ".", 1, filp->f_pos, inode->i_ino, DT_DIR) < 0) in do_isofs_readdir()
185 if (filldir(dirent, "..", 2, filp->f_pos, inode_number, DT_DIR) < 0) in do_isofs_readdir()
/fs/udf/
Ddir.c162 dt_type = DT_DIR; in do_udf_readdir()
196 if (filldir(dirent, ".", 1, filp->f_pos, dir->i_ino, DT_DIR) < 0) { in udf_readdir()
/fs/adfs/
Ddir.c49 if (filldir(dirent, ".", 1, 0, inode->i_ino, DT_DIR) < 0) in adfs_readdir()
54 if (filldir(dirent, "..", 2, 1, dir.parent_id, DT_DIR) < 0) in adfs_readdir()
/fs/freevxfs/
Dvxfs_lookup.c253 if (filler(retp, ".", 1, fp->f_pos, ip->i_ino, DT_DIR) < 0) in vxfs_readdir()
258 if (filler(retp, "..", 2, fp->f_pos, VXFS_INO(ip)->vii_dotdot, DT_DIR) < 0) in vxfs_readdir()
/fs/omfs/
Ddir.c377 d_type = (oi->i_type == OMFS_DIR) ? DT_DIR : DT_REG; in omfs_fill_chain()
451 if (filldir(dirent, ".", 1, 0, dir->i_ino, DT_DIR) < 0) in omfs_readdir()
457 parent_ino(filp->f_dentry), DT_DIR) < 0) in omfs_readdir()
/fs/jffs2/
Dbuild.c71 if (fd->type == DT_DIR) { in jffs2_build_inode_pass1()
241 if (fd->type == DT_DIR) in jffs2_build_remove_unlinked_inode()
Ddir.c135 if (filldir(dirent, ".", 1, 0, inode->i_ino, DT_DIR) < 0) in jffs2_readdir()
142 if (filldir(dirent, "..", 2, 1, pino, DT_DIR) < 0) in jffs2_readdir()
573 rd->type = DT_DIR; in jffs2_mkdir()
/fs/hpfs/
Ddir.c127 if (filldir(dirent, ".", 1, filp->f_pos, inode->i_ino, DT_DIR) < 0) in hpfs_readdir()
132 if (filldir(dirent, "..", 2, filp->f_pos, hpfs_inode->i_parent_dir, DT_DIR) < 0) in hpfs_readdir()
/fs/hfsplus/
Ddir.c136 if (filldir(dirent, ".", 1, 0, inode->i_ino, DT_DIR)) in hfsplus_readdir()
153 be32_to_cpu(entry.thread.parentID), DT_DIR)) in hfsplus_readdir()
187 be32_to_cpu(entry.folder.id), DT_DIR)) in hfsplus_readdir()
/fs/9p/
Dvfs_dir.c54 rettype = DT_DIR; in dt_type()
/fs/coda/
Ddir.c479 case CDT_DIR: dt = DT_DIR; break; in CDT2DT()
518 ret = filldir(buf, ".", 1, 0, de->d_inode->i_ino, DT_DIR); in coda_venus_readdir()
525 ret = filldir(buf, "..", 2, 1, de->d_parent->d_inode->i_ino, DT_DIR); in coda_venus_readdir()
/fs/yaffs2/
Ddevextras.h149 #define DT_DIR 4 macro
/fs/proc/
Dproc_sysctl.c264 inode->i_ino, DT_DIR) < 0) in proc_sys_readdir()
270 parent_ino(dentry), DT_DIR) < 0) in proc_sys_readdir()
Dgeneric.c436 if (filldir(dirent, ".", 1, i, ino, DT_DIR) < 0) in proc_readdir_de()
444 DT_DIR) < 0) in proc_readdir_de()
/fs/cifs/
Dreaddir.c231 *pobject_type = DT_DIR; in fill_in_inode()
343 *pobject_type = DT_DIR; in unix_fill_in_inode()
1009 file->f_path.dentry->d_inode->i_ino, DT_DIR) < 0) { in cifs_readdir()
1017 file->f_path.dentry->d_parent->d_inode->i_ino, DT_DIR) < 0) { in cifs_readdir()
/fs/squashfs/
Ddir.c41 DT_UNKNOWN, DT_DIR, DT_REG, DT_LNK, DT_BLK, DT_CHR, DT_FIFO, DT_SOCK
/fs/autofs/
Droot.c60 if (filldir(dirent, ".", 1, nr, inode->i_ino, DT_DIR) < 0) in autofs_root_readdir()
65 if (filldir(dirent, "..", 2, nr, inode->i_ino, DT_DIR) < 0) in autofs_root_readdir()
/fs/ntfs/
Ddir.c1059 dt_type = DT_DIR; in ntfs_filldir()
1071 dt_type == DT_DIR ? "DIR" : "REG"); in ntfs_filldir()
1130 rc = filldir(dirent, ".", 1, fpos, vdir->i_ino, DT_DIR); in ntfs_readdir()
1140 parent_ino(filp->f_path.dentry), DT_DIR); in ntfs_readdir()
/fs/smbfs/
Ddir.c102 if (filldir(dirent, ".", 1, 0, dir->i_ino, DT_DIR) < 0) in smb_readdir()
107 if (filldir(dirent, "..", 2, 1, parent_ino(dentry), DT_DIR) < 0) in smb_readdir()
/fs/sysfs/
Ddir.c944 if (filldir(dirent, ".", 1, filp->f_pos, ino, DT_DIR) == 0) in sysfs_readdir()
952 if (filldir(dirent, "..", 2, filp->f_pos, ino, DT_DIR) == 0) in sysfs_readdir()
/fs/ubifs/
Ddir.c328 return DT_DIR; in vfs_dent_type()
383 over = filldir(dirent, ".", 1, 0, dir->i_ino, DT_DIR); in ubifs_readdir()
392 parent_ino(file->f_path.dentry), DT_DIR); in ubifs_readdir()
/fs/gfs2/
Dops_inode.c443 dent->de_type = cpu_to_be16(DT_DIR); in gfs2_mkdir()
451 dent->de_type = cpu_to_be16(DT_DIR); in gfs2_mkdir()
842 error = gfs2_dir_mvino(ip, &name, ndip, DT_DIR); in gfs2_rename()

12