Searched refs:vdir (Results 1 – 2 of 2) sorted by relevance
/fs/coda/ |
D | dir.c | 352 struct venus_dirent *vdir; in coda_venus_readdir() local 364 vdir = kmalloc(sizeof(*vdir), GFP_KERNEL); in coda_venus_readdir() 365 if (!vdir) return -ENOMEM; in coda_venus_readdir() 374 ret = kernel_read(host_file, vdir, sizeof(*vdir), &pos); in coda_venus_readdir() 383 if (ret < vdir_size || ret < vdir_size + vdir->d_namlen) { in coda_venus_readdir() 390 if (vdir->d_reclen < vdir_size + vdir->d_namlen) { in coda_venus_readdir() 397 name.len = vdir->d_namlen; in coda_venus_readdir() 398 name.name = vdir->d_name; in coda_venus_readdir() 403 vdir->d_fileno = name.len = 0; in coda_venus_readdir() 406 if (vdir->d_fileno && name.len) { in coda_venus_readdir() [all …]
|
/fs/ntfs/ |
D | dir.c | 1089 struct inode *bmp_vi, *vdir = file_inode(file); in ntfs_readdir() local 1090 struct super_block *sb = vdir->i_sb; in ntfs_readdir() 1091 ntfs_inode *ndir = NTFS_I(vdir); in ntfs_readdir() 1105 vdir->i_ino, actor->pos); in ntfs_readdir() 1108 i_size = i_size_read(vdir); in ntfs_readdir() 1147 "inode 0x%lx.", vdir->i_ino); in ntfs_readdir() 1218 ia_mapping = vdir->i_mapping; in ntfs_readdir() 1219 ntfs_debug("Inode 0x%lx, getting index bitmap.", vdir->i_ino); in ntfs_readdir() 1220 bmp_vi = ntfs_attr_iget(vdir, AT_BITMAP, I30, 4); in ntfs_readdir() 1301 "inode 0x%lx or driver bug.", vdir->i_ino); in ntfs_readdir() [all …]
|