Lines Matching refs:pos
26 loff_t pos; in hpfs_dir_lseek() local
41 pos = ((loff_t) hpfs_de_as_down_as_possible(s, hpfs_inode->i_dno) << 4) + 1; in hpfs_dir_lseek()
42 while (pos != new_off) { in hpfs_dir_lseek()
43 if (map_pos_dirent(i, &pos, &qbh)) hpfs_brelse4(&qbh); in hpfs_dir_lseek()
45 if (pos == 12) goto fail; in hpfs_dir_lseek()
112 if (ctx->pos == 12) { /* diff -r requires this (note, that diff -r */ in hpfs_readdir()
113 ctx->pos = 13; /* also fails on msdos filesystem in 2.0) */ in hpfs_readdir()
116 if (ctx->pos == 13) { in hpfs_readdir()
127 if (hpfs_stop_cycles(inode->i_sb, ctx->pos, &c1, &c2, "hpfs_readdir")) { in hpfs_readdir()
131 if (ctx->pos == 12) in hpfs_readdir()
133 if (ctx->pos == 3 || ctx->pos == 4 || ctx->pos == 5) { in hpfs_readdir()
134 pr_err("pos==%d\n", (int)ctx->pos); in hpfs_readdir()
137 if (ctx->pos == 0) { in hpfs_readdir()
140 ctx->pos = 11; in hpfs_readdir()
142 if (ctx->pos == 11) { in hpfs_readdir()
145 ctx->pos = 1; in hpfs_readdir()
147 if (ctx->pos == 1) { in hpfs_readdir()
151 ctx->pos = ((loff_t) hpfs_de_as_down_as_possible(inode->i_sb, hpfs_inode->i_dno) << 4) + 1; in hpfs_readdir()
154 next_pos = ctx->pos; in hpfs_readdir()
156 ctx->pos = next_pos; in hpfs_readdir()
164 hpfs_error(inode->i_sb, "hpfs_readdir: bad ^A^A entry; pos = %08lx", (unsigned long)ctx->pos); in hpfs_readdir()
166 hpfs_error(inode->i_sb, "hpfs_readdir: bad \\377 entry; pos = %08lx", (unsigned long)ctx->pos); in hpfs_readdir()
169 ctx->pos = next_pos; in hpfs_readdir()
178 ctx->pos = next_pos; in hpfs_readdir()