| /openbmc/qemu/migration/ |
| H A D | multifd-qatzip.c | 41 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 D | vpd_utils.py | 58 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 D | host.tcl | 22 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 D | cmd.tcl | 61 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 D | utils.py | 141 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 D | utils_files.py | 122 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 D | gen_call_robot.py | 130 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 D | tools.exp | 252 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 D | pel_utils.py | 70 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 D | var_funcs.py | 395 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 D | utilities.py | 210 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 D | gen_cmd.py | 94 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 D | gen_robot_plug_in.py | 30 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 D | state.py | 533 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 D | gen_robot_ssh.py | 129 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 D | test-ringbuffer-read-commit.c | 11 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 D | test-ringbuffer-contained-read.c | 11 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 D | test-ringbuffer-contained-offset-read.c | 11 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 D | test-ringbuffer-boundary-read.c | 11 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 D | console-client.c | 74 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 D | 0003-tpm-openssl-tpm-engine-parse-an-encrypted-tpm-SRK-pa.patch | 159 + 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 D | cp_post_boot | 147 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 D | 0009-vmcore-dmesg.c-work-around-missing-imaxdiv.patch | 45 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 D | cp_stop_check | 170 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 D | cp_ffdc_check | 75 shell_rc, out_buf = shell_cmd(FFDC_COMMAND, quiet=quiet)
|