Lines Matching refs:f_pos
56 offset += file->f_pos; in dcache_dir_lseek()
64 if (offset != file->f_pos) { in dcache_dir_lseek()
65 file->f_pos = offset; in dcache_dir_lseek()
66 if (file->f_pos >= 2) { in dcache_dir_lseek()
69 loff_t n = file->f_pos - 2; in dcache_dir_lseek()
106 int i = filp->f_pos; in dcache_readdir()
113 filp->f_pos++; in dcache_readdir()
122 filp->f_pos++; in dcache_readdir()
127 if (filp->f_pos == 2) { in dcache_readdir()
138 …if (filldir(dirent, next->d_name.name, next->d_name.len, filp->f_pos, next->d_inode->i_ino, DT_UNK… in dcache_readdir()
145 filp->f_pos++; in dcache_readdir()
296 put_user(file->f_pos, &lastdirent->d_off); in sys_getdents()
380 d.d_off = file->f_pos; in sys_getdents64()