/openbmc/linux/fs/squashfs/ |
H A D | zstd_wrapper.c | 70 zstd_out_buffer out_buf = { NULL, 0, 0 }; in zstd_uncompress() local 81 out_buf.size = PAGE_SIZE; in zstd_uncompress() 83 if (IS_ERR(out_buf.dst)) { in zstd_uncompress() 84 error = PTR_ERR(out_buf.dst); in zstd_uncompress() 109 if (out_buf.pos == out_buf.size) { in zstd_uncompress() 111 if (IS_ERR(out_buf.dst)) { in zstd_uncompress() 112 error = PTR_ERR(out_buf.dst); in zstd_uncompress() 114 } else if (out_buf.dst == NULL) { in zstd_uncompress() 121 out_buf.pos = 0; in zstd_uncompress() 122 out_buf.size = PAGE_SIZE; in zstd_uncompress() [all …]
|
/openbmc/linux/lib/ |
H A D | decompress_inflate.c | 45 unsigned char *out_buf, long out_len, in __gunzip() argument 55 out_buf = malloc(out_len); in __gunzip() 60 if (!out_buf) { in __gunzip() 130 strm->next_out = out_buf; in __gunzip() 159 if (flush && strm->next_out > out_buf) { in __gunzip() 160 long l = strm->next_out - out_buf; in __gunzip() 161 if (l != flush(out_buf, l)) { in __gunzip() 166 strm->next_out = out_buf; in __gunzip() 194 free(out_buf); in __gunzip() 203 unsigned char *out_buf, in gunzip() argument [all …]
|
H A D | decompress_unlzo.c | 107 u8 *in_buf, *in_buf_save, *out_buf; in unlzo() local 111 out_buf = output; in unlzo() 116 out_buf = malloc(LZO_BLOCK_SIZE); in unlzo() 117 if (!out_buf) { in unlzo() 232 memcpy(out_buf, in_buf, src_len); in unlzo() 235 out_buf, &tmp); in unlzo() 243 if (flush && flush(out_buf, dst_len) != dst_len) in unlzo() 246 out_buf += dst_len; in unlzo() 271 free(out_buf); in unlzo() 280 unsigned char *out_buf, long olen, in __decompress() argument [all …]
|
H A D | decompress_unzstd.c | 125 static int INIT decompress_single(const u8 *in_buf, long in_len, u8 *out_buf, in decompress_single() argument 150 ret = zstd_decompress_dctx(dctx, out_buf, out_len, in_buf, in_len); in decompress_single() 168 unsigned char *out_buf, long out_len, in __unzstd() argument 189 out_len = UINTPTR_MAX - (uintptr_t)out_buf; in __unzstd() 196 return decompress_single(in_buf, in_len, out_buf, out_len, in __unzstd() 234 out_buf = out_allocated; in __unzstd() 238 out.dst = out_buf; in __unzstd() 336 unsigned char *out_buf, in unzstd() argument 340 return __unzstd(buf, len, fill, flush, out_buf, 0, pos, error); in unzstd() 346 unsigned char *out_buf, long out_len, in __decompress() argument [all …]
|
/openbmc/linux/fs/quota/ |
H A D | quota_tree.c | 127 goto out_buf; in get_free_dqblk() 143 out_buf: in get_free_dqblk() 207 out_buf: in remove_free_dqentry() 241 out_buf: in insert_free_dqentry() 329 out_buf: in find_free_dqentry() 411 out_buf: in do_insert_tree() 538 out_buf: in free_dqentry() 601 out_buf: in remove_tree() 654 out_buf: in find_block_dqentry() 701 out_buf: in find_tree_dqentry() [all …]
|
/openbmc/linux/fs/btrfs/ |
H A D | zstd.c | 52 zstd_out_buffer out_buf; member 419 workspace->out_buf.pos = 0; in zstd_compress_pages() 444 tot_out += workspace->out_buf.pos; in zstd_compress_pages() 450 if (workspace->out_buf.pos == workspace->out_buf.size) { in zstd_compress_pages() 464 workspace->out_buf.pos = 0; in zstd_compress_pages() 499 tot_out += workspace->out_buf.pos; in zstd_compress_pages() 521 workspace->out_buf.pos = 0; in zstd_compress_pages() 567 workspace->out_buf.pos = 0; in zstd_decompress_bio() 583 workspace->out_buf.pos = 0; in zstd_decompress_bio() 644 workspace->out_buf.pos = 0; in zstd_decompress() [all …]
|
/openbmc/linux/crypto/ |
H A D | rsa-pkcs1pad.c | 181 u8 *out_buf; in pkcs1pad_encrypt_sign_complete() local 195 if (!out_buf) in pkcs1pad_encrypt_sign_complete() 281 u8 *out_buf; in pkcs1pad_decrypt_complete() local 291 out_buf = req_ctx->out_buf; in pkcs1pad_decrypt_complete() 298 out_buf++; in pkcs1pad_decrypt_complete() 301 if (out_buf[0] != 0x02) in pkcs1pad_decrypt_complete() 352 if (!req_ctx->out_buf) in pkcs1pad_decrypt() 443 u8 *out_buf; in pkcs1pad_verify_complete() local 453 out_buf = req_ctx->out_buf; in pkcs1pad_verify_complete() 460 out_buf++; in pkcs1pad_verify_complete() [all …]
|
/openbmc/linux/drivers/platform/chrome/ |
H A D | cros_ec_i2c.c | 59 u8 *out_buf = NULL; in cros_ec_pkt_xfer_i2c() local 88 out_buf = ec_dev->dout; in cros_ec_pkt_xfer_i2c() 90 i2c_msg[0].buf = (char *) out_buf; in cros_ec_pkt_xfer_i2c() 196 u8 *out_buf = NULL; in cros_ec_cmd_xfer_i2c() local 223 if (!out_buf) in cros_ec_cmd_xfer_i2c() 229 out_buf[1] = msg->command; in cros_ec_cmd_xfer_i2c() 230 out_buf[2] = msg->outsize; in cros_ec_cmd_xfer_i2c() 233 sum = out_buf[0] + out_buf[1] + out_buf[2]; in cros_ec_cmd_xfer_i2c() 235 out_buf[3 + i] = msg->data[i]; in cros_ec_cmd_xfer_i2c() 236 sum += out_buf[3 + i]; in cros_ec_cmd_xfer_i2c() [all …]
|
/openbmc/openbmc-test-automation/lib/ |
H A D | vpd_utils.py | 48 out_buf, stderr, rc = bsu.bmc_execute_command( 54 out_buf = json.loads(out_buf) 56 return out_buf 58 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 | 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) 213 out_buf, stderr, rc = bsu.bmc_execute_command(cmd_buf) 215 return int(out_buf, 16) 351 out_buf, stderr, rc = bsu.bmc_execute_command("cat /etc/os-release") 352 return vf.key_value_outbuf_to_dict(out_buf, delim="=", strip='"') 384 out_buf, stderr, rc = bsu.os_execute_command("cat /etc/os-release") 385 return vf.key_value_outbuf_to_dict(out_buf, delim="=", strip='"')
|
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 | gen_call_robot.py | 128 shell_rc, out_buf = gc.shell_cmd( 133 executable_base_dir_path = os.path.realpath(out_buf.rstrip()) + "/" 223 shell_rc, out_buf = gc.shell_cmd( 226 robot_file_search_paths = out_buf 255 shell_rc, out_buf = gc.shell_cmd(cmd_buf, quiet=1, print_output=0) 257 return out_buf.split("\n") 361 shell_rc, out_buf = gc.shell_cmd( 364 file_list = re.sub("\n", " ", out_buf.rstrip("\n")) 478 rc, out_buf = gc.shell_cmd(cmd_buf, quiet=1, print_output=0) 481 NEW_PATH_LIST.extend(list(set(out_buf.rstrip("\n").split("\n"))))
|
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 | 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]
|
/openbmc/linux/drivers/w1/slaves/ |
H A D | w1_ds2423.c | 31 struct device_attribute *attr, char *out_buf) in w1_slave_show() argument 65 c -= snprintf(out_buf + PAGE_SIZE - c, in w1_slave_show() 74 c -= snprintf(out_buf + PAGE_SIZE - c, in w1_slave_show() 97 c -= snprintf(out_buf + PAGE_SIZE - c, in w1_slave_show() 100 c -= snprintf(out_buf + PAGE_SIZE - c, in w1_slave_show() 106 c -= snprintf(out_buf + PAGE_SIZE - c, c, "Connection error"); in w1_slave_show()
|
/openbmc/linux/drivers/gpu/drm/i915/display/ |
H A D | dvo_sil164.c | 77 u8 out_buf[2]; in sil164_readb() local 85 .buf = out_buf, in sil164_readb() 95 out_buf[0] = addr; in sil164_readb() 96 out_buf[1] = 0; in sil164_readb() 114 u8 out_buf[2]; in sil164_writeb() local 119 .buf = out_buf, in sil164_writeb() 122 out_buf[0] = addr; in sil164_writeb() 123 out_buf[1] = ch; in sil164_writeb()
|
H A D | dvo_tfp410.c | 98 u8 out_buf[2]; in tfp410_readb() local 106 .buf = out_buf, in tfp410_readb() 116 out_buf[0] = addr; in tfp410_readb() 117 out_buf[1] = 0; in tfp410_readb() 135 u8 out_buf[2]; in tfp410_writeb() local 140 .buf = out_buf, in tfp410_writeb() 143 out_buf[0] = addr; in tfp410_writeb() 144 out_buf[1] = ch; in tfp410_writeb()
|
H A D | dvo_ch7xxx.c | 151 u8 out_buf[2]; in ch7xxx_readb() local 159 .buf = out_buf, in ch7xxx_readb() 169 out_buf[0] = addr; in ch7xxx_readb() 170 out_buf[1] = 0; in ch7xxx_readb() 189 u8 out_buf[2]; in ch7xxx_writeb() local 194 .buf = out_buf, in ch7xxx_writeb() 197 out_buf[0] = addr; in ch7xxx_writeb() 198 out_buf[1] = ch; in ch7xxx_writeb()
|
H A D | dvo_ivch.c | 196 u8 out_buf[1]; in ivch_read() local 209 .buf = out_buf, in ivch_read() 219 out_buf[0] = addr; in ivch_read() 239 u8 out_buf[3]; in ivch_write() local 244 .buf = out_buf, in ivch_write() 247 out_buf[0] = addr; in ivch_write() 248 out_buf[1] = data & 0xff; in ivch_write() 249 out_buf[2] = data >> 8; in ivch_write()
|
/openbmc/linux/fs/ubifs/ |
H A D | compress.c | 102 int in_len, void *out_buf, int *out_len, int *compr_type) in ubifs_compress() argument 116 err = crypto_comp_compress(compr->cc, in_buf, in_len, out_buf, in ubifs_compress() 136 memcpy(out_buf, in_buf, in_len); in ubifs_compress() 154 int in_len, void *out_buf, int *out_len, int compr_type) in ubifs_decompress() argument 172 memcpy(out_buf, in_buf, in_len); in ubifs_decompress() 179 err = crypto_comp_decompress(compr->cc, in_buf, in_len, out_buf, in ubifs_decompress()
|
/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()
|