Home
last modified time | relevance | path

Searched refs:outpos (Results 1 – 3 of 3) sorted by relevance

/linux/fs/jffs2/
H A Dcompr_rtime.c37 int outpos = 0; in jffs2_rtime_compress() local
45 while (pos < (*sourcelen) && outpos <= (*dstlen)-2) { in jffs2_rtime_compress()
51 cpage_out[outpos++] = data_in[pos++]; in jffs2_rtime_compress()
61 cpage_out[outpos++] = runlen; in jffs2_rtime_compress()
64 if (outpos >= pos) { in jffs2_rtime_compress()
71 *dstlen = outpos; in jffs2_rtime_compress()
81 int outpos = 0; in jffs2_rtime_decompress() local
86 while (outpos<destlen) { in jffs2_rtime_decompress()
92 cpage_out[outpos++] = value; /* first the verbatim copied byte */ in jffs2_rtime_decompress()
96 positions[value]=outpos; in jffs2_rtime_decompress()
[all …]
H A Dcompr_rubin.c266 int outpos = 0; in rubin_do_compress() local
282 outpos = (pushedbits(&rs.pp)+7)/8; in rubin_do_compress()
284 if (outpos >= pos) in rubin_do_compress()
287 *dstlen = outpos; in rubin_do_compress()
368 int outpos = 0; in rubin_do_decompress() local
374 while (outpos < destlen) in rubin_do_decompress()
375 page_out[outpos++] = in_byte(&rs); in rubin_do_decompress()
/linux/net/ceph/crush/
H A Dmapper.c458 int *out, int outpos, in crush_choose_firstn() argument
484 bucket->id, x, outpos, numrep, in crush_choose_firstn()
488 for (rep = stable ? 0 : outpos; rep < numrep && count > 0 ; rep++) { in crush_choose_firstn()
522 outpos); in crush_choose_firstn()
550 for (i = 0; i < outpos; i++) { in crush_choose_firstn()
570 x, stable ? 1 : outpos+1, 0, in crush_choose_firstn()
571 out2, outpos, count, in crush_choose_firstn()
580 choose_args) <= outpos) in crush_choose_firstn()
585 out2[outpos] = item; in crush_choose_firstn()
629 out[outpos] = item; in crush_choose_firstn()
[all …]