Lines Matching refs:pos
38 int pos=0; in jffs2_rtime_compress() local
45 while (pos < (*sourcelen) && outpos <= (*dstlen)-2) { in jffs2_rtime_compress()
49 value = data_in[pos]; in jffs2_rtime_compress()
51 cpage_out[outpos++] = data_in[pos++]; in jffs2_rtime_compress()
54 positions[value]=pos; in jffs2_rtime_compress()
56 while ((backpos < pos) && (pos < (*sourcelen)) && in jffs2_rtime_compress()
57 (data_in[pos]==data_in[backpos++]) && (runlen<255)) { in jffs2_rtime_compress()
58 pos++; in jffs2_rtime_compress()
64 if (outpos >= pos) { in jffs2_rtime_compress()
70 *sourcelen = pos; in jffs2_rtime_compress()
82 int pos=0; in jffs2_rtime_decompress() local
91 value = data_in[pos++]; in jffs2_rtime_decompress()
93 repeat = data_in[pos++]; in jffs2_rtime_decompress()