Lines Matching refs:in_len
68 static u32 in_len, /* Input data length */ variable
228 in_len = st.st_size; in read_initial_file()
229 in_data = ck_alloc_nozero(in_len); in read_initial_file()
231 ck_read(fd, in_data, in_len, in_file); in read_initial_file()
235 OKF("Read %u byte%s from '%s'.", in_len, in_len == 1 ? "" : "s", in_file); in read_initial_file()
275 close(write_to_file(output_file, in_data, in_len)); in tmin_run_target()
358 u8 *tmp_buf = ck_alloc_nozero(in_len); in minimize()
359 u32 orig_len = in_len, stage_o_len; in minimize()
369 set_len = next_pow2(in_len / TMIN_SET_STEPS); in minimize()
376 while (set_pos < in_len) { in minimize()
378 u32 use_len = MIN(set_len, in_len - set_pos); in minimize()
388 memcpy(tmp_buf, in_data, in_len); in minimize()
392 res = tmin_run_target(fsrv, tmp_buf, in_len, 0); in minimize()
422 del_len = next_pow2(in_len / TRIM_START_STEPS); in minimize()
423 stage_o_len = in_len; in minimize()
434 in_len); in minimize()
436 while (del_pos < in_len) { in minimize()
441 tail_len = in_len - del_pos - del_len; in minimize()
471 in_len = del_pos + tail_len; in minimize()
483 if (del_len > 1 && in_len >= 1) { in minimize()
490 OKF("Block removal complete, %u bytes deleted.", stage_o_len - in_len); in minimize()
492 if (!in_len && changed_any) { in minimize()
511 for (i = 0; i < in_len; i++) { in minimize()
528 memcpy(tmp_buf, in_data, in_len); in minimize()
530 for (r = 0; r < in_len; r++) { in minimize()
536 res = tmin_run_target(fsrv, tmp_buf, in_len, 0); in minimize()
540 memcpy(in_data, tmp_buf, in_len); in minimize()
563 memcpy(tmp_buf, in_data, in_len); in minimize()
565 for (i = 0; i < in_len; i++) { in minimize()
572 res = tmin_run_target(fsrv, tmp_buf, in_len, 0); in minimize()
605 100 - ((double)in_len) * 100 / orig_len, in_len, in minimize()
606 in_len == 1 ? "" : "s", in minimize()
607 ((double)(alpha_d_total)) * 100 / (in_len ? in_len : 1), in minimize()
617 100 - ((double)in_len) * 100 / orig_len, in_len, in_len == 1 ? "" : "s", in minimize()
618 ((double)(alpha_d_total)) * 100 / (in_len ? in_len : 1), in minimize()
1291 tmin_run_target(fsrv, in_data, in_len, 1); in main()
1337 close(write_to_file(output_file, in_data, in_len)); in main()