| /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() 82 out_buf.dst = squashfs_first_page(output); 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() 110 out_buf.dst = squashfs_next_page(output); 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() [all …]
|
| /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() 58 out_len = ((size_t)~0) - (size_t)out_buf; /* no limit */ 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() [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 …]
|
| /linux/fs/quota/ |
| H A D | quota_tree.c | 127 goto out_buf; in get_free_dqblk() 130 goto out_buf; in get_free_dqblk() 138 goto out_buf; in get_free_dqblk() 143 out_buf: in get_free_dqblk() 180 goto out_buf; in remove_free_dqentry() 185 goto out_buf; in remove_free_dqentry() 190 goto out_buf; in remove_free_dqentry() 195 goto out_buf; in remove_free_dqentry() 207 out_buf: in remove_free_dqentry() 226 goto out_buf; in insert_free_dqentry() [all …]
|
| /linux/fs/btrfs/ |
| H A D | zstd.c | 55 zstd_out_buffer out_buf; member 454 workspace->out_buf.dst = folio_address(out_folio); in zstd_compress_folios() 455 workspace->out_buf.pos = 0; in zstd_compress_folios() 456 workspace->out_buf.size = min_t(size_t, max_out, min_folio_size); in zstd_compress_folios() 461 ret2 = zstd_compress_stream(stream, &workspace->out_buf, in zstd_compress_folios() 476 tot_out + workspace->out_buf.pos) { in zstd_compress_folios() 482 if (workspace->out_buf.pos >= max_out) { in zstd_compress_folios() 483 tot_out += workspace->out_buf.pos; in zstd_compress_folios() 489 if (workspace->out_buf.pos == workspace->out_buf.size) { in zstd_compress_folios() 502 workspace->out_buf.dst = folio_address(out_folio); in zstd_compress_folios() [all …]
|
| /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()
|
| /linux/fs/erofs/ |
| H A D | decompressor_zstd.c | 144 zstd_out_buffer out_buf = { NULL, 0, 0 }; in z_erofs_zstd_decompress() local 178 reason = z_erofs_stream_switch_bufs(&dctx, &out_buf.dst, in z_erofs_zstd_decompress() 183 if (out_buf.size == out_buf.pos) { in z_erofs_zstd_decompress() 184 out_buf.size = dctx.avail_out; in z_erofs_zstd_decompress() 185 out_buf.pos = 0; in z_erofs_zstd_decompress() 190 zerr = zstd_decompress_stream(stream, &out_buf, &in_buf); in z_erofs_zstd_decompress() 191 dctx.avail_out = out_buf.size - out_buf.pos; in z_erofs_zstd_decompress()
|
| /linux/drivers/net/ethernet/netronome/nfp/nfpcore/ |
| H A D | nfp_nsp.c | 174 void *out_buf; member 463 if (arg->out_buf && arg->out_size && arg->out_size > arg->in_size) { in nfp_nsp_command_buf_def() 465 arg->out_buf, arg->out_size - arg->in_size); in nfp_nsp_command_buf_def() 483 if (arg->out_buf && arg->out_size) { in nfp_nsp_command_buf_def() 485 arg->out_buf, arg->out_size); in nfp_nsp_command_buf_def() 596 memcpy(arg->out_buf + off, chunks[i].chunk, len); in nfp_nsp_command_buf_dma_sg() 679 if (arg->out_buf && arg->out_size && arg->out_size > arg->in_size) in nfp_nsp_command_buf() 680 memset(arg->out_buf, 0, arg->out_size - arg->in_size); in nfp_nsp_command_buf() 834 .out_buf = buf, in nfp_nsp_read_eth_table() 863 .out_buf = buf, in nfp_nsp_read_identify() [all …]
|
| /linux/arch/powerpc/platforms/pseries/ |
| H A D | papr_platform_attributes.c | 108 goto out_buf; in papr_get_attr() 117 goto out_buf; in papr_get_attr() 128 goto out_buf; in papr_get_attr() 133 out_buf: in papr_get_attr()
|
| /linux/fs/smb/client/ |
| H A D | cifstransport.c | 220 struct smb_hdr *out_buf, int *pbytes_returned, const int flags) in SendReceive() argument 256 if (out_buf) { in SendReceive() 259 memcpy(out_buf, resp_iov.iov_base, resp_iov.iov_len); in SendReceive()
|
| /linux/drivers/gpu/drm/radeon/ |
| H A D | radeon_i2c.c | 1045 u8 out_buf[2]; in radeon_i2c_get_byte() local 1052 .buf = out_buf, in radeon_i2c_get_byte() 1062 out_buf[0] = addr; in radeon_i2c_get_byte() 1063 out_buf[1] = 0; in radeon_i2c_get_byte() 1079 uint8_t out_buf[2]; in radeon_i2c_put_byte() local 1084 .buf = out_buf, in radeon_i2c_put_byte() 1087 out_buf[0] = addr; in radeon_i2c_put_byte() 1088 out_buf[1] = val; in radeon_i2c_put_byte()
|
| /linux/include/uapi/linux/ |
| H A D | ndctl.h | 33 __u8 out_buf[]; member 51 __u8 out_buf[]; member
|
| /linux/drivers/base/firmware_loader/ |
| H A D | main.c | 315 void *workspace, *out_buf; in fw_decompress_zstd() local 321 out_buf = fw_priv->data; in fw_decompress_zstd() 331 out_buf = vzalloc(out_size); in fw_decompress_zstd() 332 if (!out_buf) in fw_decompress_zstd() 350 len = zstd_decompress_dctx(ctx, out_buf, out_size, in_buffer, in_size); in fw_decompress_zstd() 359 fw_priv->data = out_buf; in fw_decompress_zstd() 366 vfree(out_buf); in fw_decompress_zstd()
|
| /linux/drivers/usb/early/ |
| H A D | xhci-dbc.c | 242 memset(xdbc.out_buf, 0, PAGE_SIZE); in xdbc_mem_init() 344 xdbc.in_buf = xdbc.out_buf + XDBC_MAX_PACKET; in xdbc_mem_init() 502 memcpy_and_pad(xdbc.out_buf, XDBC_MAX_PACKET, data, size, 0); in xdbc_bulk_transfer() 568 xdbc.out_buf = xdbc_get_page(&xdbc.out_dma); in xdbc_early_setup() 569 if (!xdbc.out_buf) in xdbc_early_setup() 683 xdbc.out_buf = NULL; in early_xdbc_setup_hardware()
|
| H A D | xhci-dbc.h | 180 void *out_buf; member
|
| /linux/drivers/nvdimm/ |
| H A D | ramdax.c | 144 if (struct_size(cmd, out_buf, cmd->in_length) > buf_len) in ramdax_get_config_data() 149 memcpy(cmd->out_buf, dimm->label_area + cmd->in_offset, cmd->in_length); in ramdax_get_config_data()
|
| /linux/drivers/target/iscsi/ |
| H A D | iscsi_target_nego.c | 59 char *out_buf, in extract_param() argument 65 if (!in_buf || !pattern || !out_buf || !type) in extract_param() 95 memcpy(out_buf, ptr, len); in extract_param() 96 out_buf[len] = '\0'; in extract_param() 129 char *out_buf, in iscsi_handle_authentication() argument 148 return chap_main_loop(conn, auth, in_buf, out_buf, in iscsi_handle_authentication()
|
| /linux/drivers/cxl/ |
| H A D | acpi.c | 226 union acpi_object *out_obj, *out_buf, *obj; in cxl_acpi_evaluate_qtg_dsm() local 284 out_buf = &obj->package.elements[i]; in cxl_acpi_evaluate_qtg_dsm() 285 if (out_buf->type != ACPI_TYPE_INTEGER) { in cxl_acpi_evaluate_qtg_dsm() 290 qtg_id = out_buf->integer.value; in cxl_acpi_evaluate_qtg_dsm()
|
| H A D | pmem.c | 199 if (struct_size(cmd, out_buf, cmd->in_length) > buf_len) in cxl_pmem_get_config_data() 211 .payload_out = cmd->out_buf, in cxl_pmem_get_config_data()
|
| /linux/drivers/soc/qcom/ |
| H A D | qmi_encdec.c | 60 static int qmi_encode(const struct qmi_elem_info *ei_array, void *out_buf, 292 static int qmi_encode(const struct qmi_elem_info *ei_array, void *out_buf, in qmi_encode() argument 299 u8 *buf_dst = (u8 *)out_buf; in qmi_encode()
|
| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | capture.c.rst | 54 static int out_buf; 77 if (out_buf) 636 out_buf++;
|
| /linux/drivers/char/tpm/ |
| H A D | tpm-sysfs.c | 54 goto out_buf; in pubek_show() 74 out_buf: in pubek_show()
|
| /linux/tools/perf/util/ |
| H A D | dso.c | 1821 u8 **out_buf, u64 *out_buf_len, bool *is_64bit) in __dso__read_symbol() argument 1859 *out_buf = code_buf; in __dso__read_symbol() 1870 u8 **out_buf, u64 *out_buf_len, bool *is_64bit) in dso__read_symbol() argument 1876 *out_buf = NULL; in dso__read_symbol() 1911 out_buf, out_buf_len, is_64bit); in dso__read_symbol()
|
| /linux/drivers/acpi/ |
| H A D | acpi_dbg.c | 53 char out_buf[ACPI_AML_BUF_SIZE] __aligned(ACPI_AML_BUF_ALIGN); 751 acpi_aml_io.out_crc.buf = acpi_aml_io.out_buf; in acpi_aml_init()
|