Home
last modified time | relevance | path

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

/linux-6.12.1/fs/btrfs/
Dlzo.c135 u32 *cur_out, in copy_compressed_data_to_page() argument
143 if ((*cur_out / PAGE_SIZE) >= max_nr_folio) in copy_compressed_data_to_page()
150 ASSERT((*cur_out / sectorsize) == (*cur_out + LZO_LEN - 1) / sectorsize); in copy_compressed_data_to_page()
152 cur_folio = out_folios[*cur_out / PAGE_SIZE]; in copy_compressed_data_to_page()
158 out_folios[*cur_out / PAGE_SIZE] = cur_folio; in copy_compressed_data_to_page()
162 write_compress_length(kaddr + offset_in_page(*cur_out), 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()
169 while (*cur_out - orig_out < compressed_size) { in copy_compressed_data_to_page()
170 u32 copy_len = min_t(u32, sectorsize - *cur_out % sectorsize, in copy_compressed_data_to_page()
[all …]
/linux-6.12.1/tools/testing/selftests/powerpc/nx-gzip/
Dgunz_test.c282 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()
496 first_used = fifo_used_first_bytes(cur_out, used_out, fifo_out_len); in decompress_file()
497 last_used = fifo_used_last_bytes(cur_out, used_out, fifo_out_len); 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()
[all …]
/linux-6.12.1/drivers/usb/mon/
Dmon_bin.c904 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 …]