Home
last modified time | relevance | path

Searched refs:out_buf (Results 1 – 25 of 43) sorted by relevance

12

/openbmc/qemu/migration/
H A Dmultifd-qatzip.c41 uint8_t *out_buf; member
110 q->out_buf = qzMalloc(q->out_len, 0, PINNED_MEM); in qatzip_send_setup()
111 if (!q->out_buf) { in qatzip_send_setup()
112 q->out_buf = qzMalloc(q->out_len, 0, COMMON_MEM); in qatzip_send_setup()
113 if (!q->out_buf) { in qatzip_send_setup()
141 if (q->out_buf) { in qatzip_send_cleanup()
142 qzFree(q->out_buf); in qatzip_send_cleanup()
195 ret = qzCompress(&q->sess, q->in_buf, &in_len, q->out_buf, &out_len, 1); in qatzip_send_prepare()
207 p->iov[p->iovs_num].iov_base = q->out_buf; in qatzip_send_prepare()
278 q->out_buf = qzMalloc(q->out_len, 0, PINNED_MEM); in qatzip_recv_setup()
[all …]
/openbmc/openbmc-test-automation/lib/
H A Dvpd_utils.py58 out_buf, stderr, rc = bsu.bmc_execute_command(
65 out_buf = json.loads(out_buf)
67 return out_buf
69 return out_buf[0]
H A Dhost.tcl22 lassign [cmd_fnc "host $host" "${quiet}" "" "${print_output}"] rc out_buf
25 if { [regexp "has address" $out_buf] } {
29 lassign [split $out_buf " "] host_name fill1 fill2 ip_address
30 } elseif { [regexp "domain name pointer" $out_buf] } {
35 lassign [split $out_buf " "] fill0 fill1 fill2 fill3 host_name
203 ${quiet} "" ${print_output}] rc out_buf
204 if {[string match *broadcast* $out_buf]} {
H A Dcmd.tcl61 if { [ catch {set out_buf [eval exec bash -c {$cmd_buf}]} result ] } {
62 set out_buf $result
66 if { $print_output } { puts "${out_buf}" }
79 append error_message "out_buf:\n${out_buf}"
91 return [list $shell_rc $out_buf]
H A Dutils.py141 out_buf, stderr, rc = bsu.bmc_execute_command("timedatectl")
152 initial_time_dict = vf.key_value_outbuf_to_dict(out_buf)
203 out_buf, stderr, rc = bsu.bmc_execute_command("df " + df_parm_string)
204 return vf.outbuf_to_report(out_buf)
218 out_buf, stderr, rc = bsu.bmc_execute_command(cmd_buf)
220 return int(out_buf, 16)
356 out_buf, stderr, rc = bsu.bmc_execute_command("cat /etc/os-release")
357 return vf.key_value_outbuf_to_dict(out_buf, delim="=", strip='"')
389 out_buf, stderr, rc = bsu.os_execute_command("cat /etc/os-release")
390 return vf.key_value_outbuf_to_dict(out_buf, delim="=", strip='"')
H A Dutils_files.py122 rc, out_buf = cmd_fnc_u(command, quiet=0, print_output=0, show_err=0)
126 BuiltIn().log_to_console("DIFF:\n" + out_buf)
128 print("DIFF:\n", out_buf)
130 file.write(out_buf)
H A Dgen_call_robot.py130 shell_rc, out_buf = gc.shell_cmd(
135 executable_base_dir_path = os.path.realpath(out_buf.rstrip()) + "/"
225 shell_rc, out_buf = gc.shell_cmd(
228 robot_file_search_paths = out_buf
257 shell_rc, out_buf = gc.shell_cmd(cmd_buf, quiet=1, print_output=0)
259 return out_buf.split("\n")
363 shell_rc, out_buf = gc.shell_cmd(
366 file_list = re.sub("\n", " ", out_buf.rstrip("\n"))
480 rc, out_buf = gc.shell_cmd(cmd_buf, quiet=1, print_output=0)
483 NEW_PATH_LIST.extend(list(set(out_buf.rstrip("\n").split("\n"))))
H A Dtools.exp252 set out_buf $expect_out(1,string)
255 set out_buf [ string trimright $out_buf "\r\n" ]
279 return [list $rc $out_buf]
H A Dpel_utils.py70 out_buf, _, _ = bsu.bmc_execute_command(
75 return json.loads(out_buf)
77 if type(out_buf) is str:
78 return out_buf
82 return out_buf
H A Dvar_funcs.py395 def key_value_outbuf_to_dict(out_buf, **args): argument
434 key_var_list = list(filter(None, out_buf.split("\n")))
438 def key_value_outbuf_to_dicts(out_buf, **args): argument
508 for x in re.split("\n[\n]+", out_buf)
682 def outbuf_to_report(out_buf, **args): argument
725 report_list = list(filter(None, out_buf.split("\n")))
H A Dutilities.py210 out_buf, err_buf = sub_proc.communicate()
212 out_buf = out_buf.decode("utf-8")
215 rows = out_buf.rstrip("\n").split("\n")
H A Dgen_cmd.py94 out_buf = ""
107 out_buf += line
110 out_buf += line
122 err_msg += "out_buf:\n" + out_buf
133 return shell_rc, out_buf, err_buf
135 return shell_rc, out_buf
H A Dgen_robot_plug_in.py30 rc, out_buf = gc.shell_cmd(cmd_buf, print_output=0)
40 plug_in_packages_list = list(filter(None, out_buf.split("\n")))
H A Dstate.py533 rc, out_buf = gc.shell_cmd(
691 rc, out_buf = gc.shell_cmd(
707 rc, out_buf = gc.shell_cmd(
711 packet_loss = out_buf.rstrip("\n")
752 shell_rc, out_buf = gc.cmd_fnc_u(
756 epoch_seconds = out_buf.rstrip("\n")
H A Dgen_robot_ssh.py129 out_buf = sshlib.login(**login_args)
130 BuiltIn().log_to_console(out_buf)
145 gp.lprint_var(out_buf)
/openbmc/obmc-console/test/
H A Dtest-ringbuffer-read-commit.c11 uint8_t *out_buf; in test_read_commit() local
25 len = ringbuffer_dequeue_peek(rbc, 0, &out_buf); in test_read_commit()
28 len = ringbuffer_dequeue_peek(rbc, 0, &out_buf); in test_read_commit()
H A Dtest-ringbuffer-contained-read.c11 uint8_t *out_buf; in test_contained_read() local
24 len = ringbuffer_dequeue_peek(rbc, 0, &out_buf); in test_contained_read()
26 assert(!memcmp(in_buf, out_buf, sizeof(in_buf))); in test_contained_read()
H A Dtest-ringbuffer-contained-offset-read.c11 uint8_t *out_buf; in test_contained_offset_read() local
27 len = ringbuffer_dequeue_peek(rbc, i, &out_buf); in test_contained_offset_read()
30 assert(!memcmp(in_buf + i, out_buf, len)); in test_contained_offset_read()
H A Dtest-ringbuffer-boundary-read.c11 uint8_t *out_buf; in test_boundary_read() local
38 len = ringbuffer_dequeue_peek(rbc, pos, &out_buf); in test_boundary_read()
42 assert(!memcmp(in_buf + pos, out_buf, len)); in test_boundary_read()
/openbmc/obmc-console/
H A Dconsole-client.c74 const uint8_t *out_buf = buf; in process_ssh_tty() local
92 rc = write_buf_to_fd(client->console_sd, out_buf, in process_ssh_tty()
93 i - (out_buf - buf)); in process_ssh_tty()
97 out_buf = &buf[i + 1]; in process_ssh_tty()
107 rc = write_buf_to_fd(client->console_sd, out_buf, in process_ssh_tty()
108 len - (out_buf - buf)); in process_ssh_tty()
/openbmc/openbmc/meta-security/meta-tpm/recipes-tpm1/openssl-tpm-engine/files/
H A D0003-tpm-openssl-tpm-engine-parse-an-encrypted-tpm-SRK-pa.patch159 + unsigned char *out_buf;
169 + out_buf = malloc(out_len);
170 + if (NULL == out_buf) {
178 + out_buf, &out_len)) {
181 + free(out_buf);
186 + if (tpm_decrypt_srk_pw(out_buf, out_len,
190 + free(out_buf);
195 + free(out_buf);
/openbmc/openbmc-test-automation/bin/plug_ins/Soft_errors/
H A Dcp_post_boot147 rc, out_buf = shell_cmd(
152 result = key_value_outbuf_to_dict(out_buf)
/openbmc/openbmc/meta-openembedded/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/
H A D0009-vmcore-dmesg.c-work-around-missing-imaxdiv.patch45 len += sprintf(out_buf + len, "[%5llu.%06llu] ",
51 + len += sprintf(out_buf + len, "[%5llu.%06llu] ",
/openbmc/openbmc-test-automation/bin/plug_ins/Stop/
H A Dcp_stop_check170 shell_rc, out_buf = shell_cmd(cmd_buf, show_err=0)
255 shell_rc, out_buf = shell_cmd(STOP_COMMAND, quiet=quiet, show_err=0)
/openbmc/openbmc-test-automation/bin/plug_ins/FFDC/
H A Dcp_ffdc_check75 shell_rc, out_buf = shell_cmd(FFDC_COMMAND, quiet=quiet)

12