Lines Matching refs:f_pos
191 if (filp->f_pos == 0) { in cap_readdir()
196 filp->f_pos = 1; in cap_readdir()
199 if (filp->f_pos == 1) { in cap_readdir()
213 filp->f_pos = 2; in cap_readdir()
216 if (filp->f_pos < (dir->i_size - 3)) { in cap_readdir()
221 hfs_cat_next(entry, &brec, filp->f_pos - 2, &cnid, &type)) { in cap_readdir()
224 while (filp->f_pos < (dir->i_size - 3)) { in cap_readdir()
237 filp->f_pos, ino, DT_UNKNOWN)) { in cap_readdir()
242 ++filp->f_pos; in cap_readdir()
247 if (filp->f_pos == (dir->i_size - 3)) { in cap_readdir()
252 DOT_ROOTINFO_LEN, filp->f_pos, in cap_readdir()
258 ++filp->f_pos; in cap_readdir()
261 if (filp->f_pos == (dir->i_size - 2)) { in cap_readdir()
265 DOT_FINDERINFO_LEN, filp->f_pos, in cap_readdir()
271 ++filp->f_pos; in cap_readdir()
274 if (filp->f_pos == (dir->i_size - 1)) { in cap_readdir()
278 DOT_RESOURCE_LEN, filp->f_pos, in cap_readdir()
284 ++filp->f_pos; in cap_readdir()