/kernel/linux/linux-5.10/fs/jffs2/ |
H A D | compr_rtime.c | 37 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 D | compr_rubin.c | 266 int outpos = 0; in rubin_do_compress() local 279 if (outpos > pos) { in rubin_do_compress() 287 outpos = (pushedbits(&rs.pp)+7)/8; in rubin_do_compress() 289 if (outpos >= pos) in rubin_do_compress() 292 *dstlen = outpos; in rubin_do_compress() 373 int outpos = 0; in rubin_do_decompress() local 379 while (outpos < destlen) in rubin_do_decompress() 380 page_out[outpos++] = in_byte(&rs); in rubin_do_decompress()
|
/kernel/linux/linux-6.6/fs/jffs2/ |
H A D | compr_rtime.c | 37 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 D | compr_rubin.c | 266 int outpos = 0; in rubin_do_compress() local 279 if (outpos > pos) { in rubin_do_compress() 287 outpos = (pushedbits(&rs.pp)+7)/8; in rubin_do_compress() 289 if (outpos >= pos) in rubin_do_compress() 292 *dstlen = outpos; in rubin_do_compress() 373 int outpos = 0; in rubin_do_decompress() local 379 while (outpos < destlen) in rubin_do_decompress() 380 page_out[outpos++] = in_byte(&rs); in rubin_do_decompress()
|
/kernel/linux/linux-5.10/net/ceph/crush/ |
H A D | mapper.c | 437 * @outpos: our position in that vector 454 int *out, int outpos, in crush_choose_firstn() 478 dprintk("CHOOSE%s bucket %d x %d outpos %d numrep %d tries %d recurse_tries %d local_retries %d local_fallback_retries %d parent_r %d stable %d\n", in crush_choose_firstn() 480 bucket->id, x, outpos, numrep, in crush_choose_firstn() 484 for (rep = stable ? 0 : outpos; rep < numrep && count > 0 ; rep++) { in crush_choose_firstn() 518 outpos); in crush_choose_firstn() 546 for (i = 0; i < outpos; i++) { in crush_choose_firstn() 566 x, stable ? 1 : outpos+1, 0, in crush_choose_firstn() 567 out2, outpos, count, in crush_choose_firstn() 576 choose_args) <= outpos) in crush_choose_firstn() 449 crush_choose_firstn(const struct crush_map *map, struct crush_work *work, const struct crush_bucket *bucket, const __u32 *weight, int weight_max, int x, int numrep, int type, int *out, int outpos, int out_size, unsigned int tries, unsigned int recurse_tries, unsigned int local_retries, unsigned int local_fallback_retries, int recurse_to_leaf, unsigned int vary_r, unsigned int stable, int *out2, int parent_r, const struct crush_choose_arg *choose_args) crush_choose_firstn() argument 643 crush_choose_indep(const struct crush_map *map, struct crush_work *work, const struct crush_bucket *bucket, const __u32 *weight, int weight_max, int x, int left, int numrep, int type, int *out, int outpos, unsigned int tries, unsigned int recurse_tries, int recurse_to_leaf, int *out2, int parent_r, const struct crush_choose_arg *choose_args) crush_choose_indep() argument [all...] |
/kernel/linux/linux-6.6/net/ceph/crush/ |
H A D | mapper.c | 437 * @outpos: our position in that vector 454 int *out, int outpos, in crush_choose_firstn() 478 dprintk("CHOOSE%s bucket %d x %d outpos %d numrep %d tries %d recurse_tries %d local_retries %d local_fallback_retries %d parent_r %d stable %d\n", in crush_choose_firstn() 480 bucket->id, x, outpos, numrep, in crush_choose_firstn() 484 for (rep = stable ? 0 : outpos; rep < numrep && count > 0 ; rep++) { in crush_choose_firstn() 518 outpos); in crush_choose_firstn() 546 for (i = 0; i < outpos; i++) { in crush_choose_firstn() 566 x, stable ? 1 : outpos+1, 0, in crush_choose_firstn() 567 out2, outpos, count, in crush_choose_firstn() 576 choose_args) <= outpos) in crush_choose_firstn() 449 crush_choose_firstn(const struct crush_map *map, struct crush_work *work, const struct crush_bucket *bucket, const __u32 *weight, int weight_max, int x, int numrep, int type, int *out, int outpos, int out_size, unsigned int tries, unsigned int recurse_tries, unsigned int local_retries, unsigned int local_fallback_retries, int recurse_to_leaf, unsigned int vary_r, unsigned int stable, int *out2, int parent_r, const struct crush_choose_arg *choose_args) crush_choose_firstn() argument 643 crush_choose_indep(const struct crush_map *map, struct crush_work *work, const struct crush_bucket *bucket, const __u32 *weight, int weight_max, int x, int left, int numrep, int type, int *out, int outpos, unsigned int tries, unsigned int recurse_tries, int recurse_to_leaf, int *out2, int parent_r, const struct crush_choose_arg *choose_args) crush_choose_indep() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/wan/ |
H A D | sbni.c | 83 unsigned int inppos, outpos; /* positions in rx/tx buffers */ member 691 unsigned len = min_t(unsigned int, skb->len - nl->outpos, nl->framelen); in download_data() 693 outsb( dev->base_addr + DAT, skb->data + nl->outpos, len ); in download_data() 694 *crc_p = calc_crc32( *crc_p, skb->data + nl->outpos, len ); in download_data() 777 nl->outpos = 0; in send_complete() 792 nl->outpos += nl->framelen; in interpret_ack() 797 nl->tx_buf_p->len - nl->outpos); in interpret_ack() 860 nl->outpos = 0; in prepare_to_send() 899 nl->outpos = 0; in drop_xmit_queue() 923 if( nl->outpos in send_frame_header() [all...] |