Searched refs:cur_out (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/fs/btrfs/ |
H A D | lzo.c | 135 u32 *cur_out, in copy_compressed_data_to_page() argument 150 ASSERT((*cur_out / sectorsize) == (*cur_out + LZO_LEN - 1) / sectorsize); in copy_compressed_data_to_page() 164 *cur_out += LZO_LEN; in copy_compressed_data_to_page() 166 orig_out = *cur_out; in copy_compressed_data_to_page() 191 *cur_out += copy_len; in copy_compressed_data_to_page() 198 sector_bytes_left = round_up(*cur_out, sectorsize) - *cur_out; in copy_compressed_data_to_page() 225 u32 cur_out = 0; in lzo_compress_pages() local 237 cur_out += LZO_LEN; in lzo_compress_pages() 296 *total_out = cur_out; in lzo_compress_pages() 342 u32 cur_out = 0; in lzo_decompress_bio() local [all …]
|
/openbmc/obmc-console/test/ |
H A D | test-client-escape.c | 50 size_t cur_out; member 165 assert(ctx->cur_out + len <= sizeof(ctx->out)); in write_buf_to_fd() 166 memcpy(ctx->out + ctx->cur_out, buf, len); in write_buf_to_fd() 167 ctx->cur_out += len; in write_buf_to_fd() 222 ctx->cur_out, test->exp_rc, test->exp_out, exp_out_len); in run_one_test() 226 assert(exp_out_len == ctx->cur_out); in run_one_test()
|
/openbmc/linux/tools/testing/selftests/powerpc/nx-gzip/ |
H A D | gunz_test.c | 282 int used_in, cur_in, used_out, cur_out, read_sz, n; in decompress_file() local 394 used_in = cur_in = used_out = cur_out = 0; in decompress_file() 503 n = fwrite(fifo_out + cur_out, 1, write_sz, outf); in decompress_file() 506 cur_out = (cur_out + n) % fifo_out_len; in decompress_file() 521 cur_out = (cur_out + n) % fifo_out_len; in decompress_file() 563 if (cur_out >= history_len) { in decompress_file() 565 + (cur_out - history_len), in decompress_file() 569 + ((fifo_out_len + cur_out) in decompress_file() 571 history_len - cur_out); in decompress_file() 573 nx_append_dde(ddl_in, fifo_out, cur_out); in decompress_file() [all …]
|
/openbmc/linux/drivers/usb/mon/ |
H A D | mon_bin.c | 904 unsigned int cur_out; in mon_bin_fetch() local 923 cur_out = rp->b_out; in mon_bin_fetch() 930 ep = MON_OFF2HDR(rp, cur_out); in mon_bin_fetch() 931 if (put_user(cur_out, &vec[nevents])) { in mon_bin_fetch() 939 if ((cur_out += size) >= rp->b_size) in mon_bin_fetch() 940 cur_out -= rp->b_size; in mon_bin_fetch() 954 unsigned int cur_out; in mon_bin_queued() local 967 cur_out = rp->b_out; in mon_bin_queued() 971 ep = MON_OFF2HDR(rp, cur_out); in mon_bin_queued() 976 if ((cur_out += size) >= rp->b_size) in mon_bin_queued() [all …]
|