| /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 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 447 workspace->out_buf.dst = folio_address(out_folio); in zstd_compress_bio() 448 workspace->out_buf.pos = 0; in zstd_compress_bio() 449 workspace->out_buf.size = min_folio_size; in zstd_compress_bio() 454 ret2 = zstd_compress_stream(stream, &workspace->out_buf, &workspace->in_buf); in zstd_compress_bio() 467 tot_in + workspace->in_buf.pos < tot_out + workspace->out_buf.pos) { in zstd_compress_bio() 473 if (workspace->out_buf.pos >= workspace->out_buf.size) { in zstd_compress_bio() 490 workspace->out_buf.dst = folio_address(out_folio); in zstd_compress_bio() 491 workspace->out_buf in zstd_compress_bio() [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/gpu/drm/i915/display/ |
| H A D | dvo_sil164.c | 79 u8 out_buf[2]; in sil164_readb() local 87 .buf = out_buf, in sil164_readb() 97 out_buf[0] = addr; in sil164_readb() 98 out_buf[1] = 0; in sil164_readb() 116 u8 out_buf[2]; in sil164_writeb() local 121 .buf = out_buf, in sil164_writeb() 124 out_buf[0] = addr; in sil164_writeb() 125 out_buf[1] = ch; in sil164_writeb()
|
| H A D | dvo_tfp410.c | 100 u8 out_buf[2]; in tfp410_readb() local 108 .buf = out_buf, in tfp410_readb() 118 out_buf[0] = addr; in tfp410_readb() 119 out_buf[1] = 0; in tfp410_readb() 137 u8 out_buf[2]; in tfp410_writeb() local 142 .buf = out_buf, in tfp410_writeb() 145 out_buf[0] = addr; in tfp410_writeb() 146 out_buf[1] = ch; in tfp410_writeb()
|
| H A D | dvo_ch7xxx.c | 153 u8 out_buf[2]; in ch7xxx_readb() local 161 .buf = out_buf, in ch7xxx_readb() 171 out_buf[0] = addr; in ch7xxx_readb() 172 out_buf[1] = 0; in ch7xxx_readb() 191 u8 out_buf[2]; in ch7xxx_writeb() local 196 .buf = out_buf, in ch7xxx_writeb() 199 out_buf[0] = addr; in ch7xxx_writeb() 200 out_buf[1] = ch; in ch7xxx_writeb()
|
| H A D | dvo_ivch.c | 198 u8 out_buf[1]; in ivch_read() local 211 .buf = out_buf, in ivch_read() 221 out_buf[0] = addr; in ivch_read() 241 u8 out_buf[3]; in ivch_write() local 246 .buf = out_buf, in ivch_write() 249 out_buf[0] = addr; in ivch_write() 250 out_buf[1] = data & 0xff; in ivch_write() 251 out_buf[2] = data >> 8; in ivch_write()
|
| H A D | dvo_ns2501.c | 397 u8 out_buf[2]; in ns2501_readb() local 405 .buf = out_buf, in ns2501_readb() 415 out_buf[0] = addr; in ns2501_readb() 416 out_buf[1] = 0; in ns2501_readb() 442 u8 out_buf[2]; in ns2501_writeb() local 448 .buf = out_buf, in ns2501_writeb() 451 out_buf[0] = addr; in ns2501_writeb() 452 out_buf[1] = ch; in ns2501_writeb()
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_i2c.c | 268 u8 out_buf[2]; in amdgpu_i2c_get_byte() local 275 .buf = out_buf, in amdgpu_i2c_get_byte() 285 out_buf[0] = addr; in amdgpu_i2c_get_byte() 286 out_buf[1] = 0; in amdgpu_i2c_get_byte() 304 uint8_t out_buf[2]; in amdgpu_i2c_put_byte() local 309 .buf = out_buf, in amdgpu_i2c_put_byte() 312 out_buf[0] = addr; in amdgpu_i2c_put_byte() 313 out_buf[1] = val; in amdgpu_i2c_put_byte()
|
| /linux/drivers/net/ethernet/netronome/nfp/nfpcore/ |
| H A D | nfp_nsp.c | 167 * @out_buf: Buffer for output data 168 * @out_size: Size of @out_buf 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, in nfp_nsp_command_buf() [all...] |
| /linux/drivers/gpu/drm/amd/ras/ras_mgr/ |
| H A D | amdgpu_virt_ras_cmd.c | 189 uint8_t *out_buf; in amdgpu_virt_ras_get_cper_records() local 202 out_buf = kzalloc(req->buf_size, GFP_KERNEL); in amdgpu_virt_ras_get_cper_records() 203 if (!out_buf) { in amdgpu_virt_ras_get_cper_records() 208 memset(out_buf, 0, req->buf_size); in amdgpu_virt_ras_get_cper_records() 219 &out_buf[offset], req->buf_size - offset, &real_data_len); in amdgpu_virt_ras_get_cper_records() 228 copy_to_user(u64_to_user_ptr(req->buf_ptr), out_buf, offset)) { in amdgpu_virt_ras_get_cper_records() 229 kfree(out_buf); in amdgpu_virt_ras_get_cper_records() 241 kfree(out_buf); in amdgpu_virt_ras_get_cper_records()
|
| /linux/arch/s390/kernel/ |
| H A D | debug.c | 80 struct debug_view *view, char *out_buf, 86 struct debug_view *view, char *out_buf, 95 char *out_buf, size_t out_buf_size, 1447 char *out_buf, size_t out_buf_size) in debug_prolog_pages_fn() argument 1449 return scnprintf(out_buf, out_buf_size, "%i\n", id->pages_per_area); in debug_prolog_pages_fn() 1496 char *out_buf, size_t out_buf_size) in debug_prolog_level_fn() argument 1501 rc = scnprintf(out_buf, out_buf_size, "-\n"); in debug_prolog_level_fn() 1503 rc = scnprintf(out_buf, out_buf_size, "%i\n", id->level); in debug_prolog_level_fn() 1620 char *out_buf, size_t out_buf_size, const char *in_buf) in debug_hex_ascii_format_fn() argument 1625 rc += scnprintf(out_buf in debug_hex_ascii_format_fn() 1645 debug_dflt_header_fn(debug_info_t * id,struct debug_view * view,int area,debug_entry_t * entry,char * out_buf,size_t out_buf_size) debug_dflt_header_fn() argument 1678 debug_sprintf_format_fn(debug_info_t * id,struct debug_view * view,char * out_buf,size_t out_buf_size,const char * inbuf) debug_sprintf_format_fn() argument [all...] |
| /linux/arch/s390/include/asm/ |
| H A D | debug.h | 69 char *out_buf, size_t out_buf_size); 72 struct debug_view *view, char *out_buf, 77 char *out_buf, size_t out_buf_size); 86 char *out_buf, size_t out_buf_size); 90 char *out_buf, size_t out_buf_size,
|
| /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/xfs/scrub/ |
| H A D | dir.c | 498 goto out_buf; in xchk_directory_data_bestfree() 509 goto out_buf; in xchk_directory_data_bestfree() 519 goto out_buf; in xchk_directory_data_bestfree() 525 goto out_buf; in xchk_directory_data_bestfree() 548 goto out_buf; in xchk_directory_data_bestfree() 558 goto out_buf; in xchk_directory_data_bestfree() 567 goto out_buf; in xchk_directory_data_bestfree() 573 goto out_buf; in xchk_directory_data_bestfree() 587 out_buf: in xchk_directory_data_bestfree()
|
| /linux/drivers/gpu/drm/radeon/ |
| H A D | radeon_i2c.c | 1034 u8 out_buf[2]; in radeon_i2c_get_byte() local 1041 .buf = out_buf, in radeon_i2c_get_byte() 1051 out_buf[0] = addr; in radeon_i2c_get_byte() 1052 out_buf[1] = 0; in radeon_i2c_get_byte() 1068 uint8_t out_buf[2]; in radeon_i2c_put_byte() local 1073 .buf = out_buf, in radeon_i2c_put_byte() 1076 out_buf[0] = addr; in radeon_i2c_put_byte() 1077 out_buf[1] = val; in radeon_i2c_put_byte()
|
| /linux/drivers/hid/ |
| H A D | hid-logitech-dj.c | 1450 u8 *out_buf; in logi_dj_ll_raw_request() local 1490 out_buf = kzalloc(DJREPORT_SHORT_LENGTH, GFP_ATOMIC); in logi_dj_ll_raw_request() 1491 if (!out_buf) in logi_dj_ll_raw_request() 1497 out_buf[0] = REPORT_ID_DJ_SHORT; in logi_dj_ll_raw_request() 1498 out_buf[1] = djdev->device_index; in logi_dj_ll_raw_request() 1499 memcpy(out_buf + 2, buf, count); in logi_dj_ll_raw_request() 1501 ret = hid_hw_raw_request(djrcv_dev->hidpp, out_buf[0], out_buf, in logi_dj_ll_raw_request() 1504 kfree(out_buf); in logi_dj_ll_raw_request()
|
| /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()
|