Lines Matching refs:pos
38 int pos=0; in jffs2_rtime_compress() local
42 while (pos < (*sourcelen) && outpos <= (*dstlen)-2) { in jffs2_rtime_compress()
46 value = data_in[pos]; in jffs2_rtime_compress()
48 cpage_out[outpos++] = data_in[pos++]; in jffs2_rtime_compress()
51 positions[value]=pos; in jffs2_rtime_compress()
53 while ((backpos < pos) && (pos < (*sourcelen)) && in jffs2_rtime_compress()
54 (data_in[pos]==data_in[backpos++]) && (runlen<255)) { in jffs2_rtime_compress()
55 pos++; in jffs2_rtime_compress()
61 if (outpos >= pos) { in jffs2_rtime_compress()
67 *sourcelen = pos; in jffs2_rtime_compress()
79 int pos=0; in jffs2_rtime_decompress() local
88 value = data_in[pos++]; in jffs2_rtime_decompress()
90 repeat = data_in[pos++]; in jffs2_rtime_decompress()