| /linux-6.15/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 …]
|
| /linux-6.15/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 …]
|
| /linux-6.15/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 …]
|
| /linux-6.15/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 …]
|
| /linux-6.15/fs/btrfs/ |
| H A D | zstd.c | 55 zstd_out_buffer out_buf; member 442 workspace->out_buf.pos = 0; in zstd_compress_folios() 472 tot_out += workspace->out_buf.pos; in zstd_compress_folios() 478 if (workspace->out_buf.pos == workspace->out_buf.size) { in zstd_compress_folios() 492 workspace->out_buf.pos = 0; in zstd_compress_folios() 537 tot_out += workspace->out_buf.pos; in zstd_compress_folios() 559 workspace->out_buf.pos = 0; in zstd_compress_folios() 609 workspace->out_buf.pos = 0; in zstd_decompress_bio() 629 workspace->out_buf.pos = 0; in zstd_decompress_bio() 694 workspace->out_buf.pos = 0; in zstd_decompress() [all …]
|
| /linux-6.15/crypto/ |
| H A D | rsa-pkcs1pad.c | 30 uint8_t *in_buf, *out_buf; member 82 u8 *out_buf; in pkcs1pad_encrypt_complete() local 96 if (!out_buf) in pkcs1pad_encrypt_complete() 104 kfree_sensitive(out_buf); in pkcs1pad_encrypt_complete() 182 u8 *out_buf; in pkcs1pad_decrypt_complete() local 192 out_buf = req_ctx->out_buf; in pkcs1pad_decrypt_complete() 194 if (out_buf[0] != 0x00) in pkcs1pad_decrypt_complete() 199 out_buf++; in pkcs1pad_decrypt_complete() 202 if (out_buf[0] != 0x02) in pkcs1pad_decrypt_complete() 206 if (out_buf[pos] == 0x00) in pkcs1pad_decrypt_complete() [all …]
|
| H A D | rsassa-pkcs1.c | 230 u8 *out_buf; in rsassa_pkcs1_verify() local 245 out_buf = (u8 *)(child_req + 1) + child_reqsize; in rsassa_pkcs1_verify() 246 memcpy(out_buf, src, slen); in rsassa_pkcs1_verify() 249 sg_init_one(&sg, out_buf, slen); in rsassa_pkcs1_verify() 266 if (out_buf[0] != 0x00) in rsassa_pkcs1_verify() 271 out_buf++; in rsassa_pkcs1_verify() 274 if (out_buf[0] != 0x01) in rsassa_pkcs1_verify() 278 if (out_buf[pos] != 0xff) in rsassa_pkcs1_verify() 281 if (pos < 9 || pos == dst_len || out_buf[pos] != 0x00) in rsassa_pkcs1_verify() 287 if (crypto_memneq(out_buf + pos, hash_prefix->data, hash_prefix->size)) in rsassa_pkcs1_verify() [all …]
|
| /linux-6.15/fs/erofs/ |
| H A D | decompressor_zstd.c | 144 zstd_out_buffer out_buf = { NULL, 0, 0 }; in z_erofs_zstd_decompress() local 175 dctx.avail_out = out_buf.size - out_buf.pos; in z_erofs_zstd_decompress() 178 err = 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() 198 } while (rq->outputsize || out_buf.pos < out_buf.size); in z_erofs_zstd_decompress()
|
| /linux-6.15/fs/ubifs/ |
| H A D | compress.c | 73 void *out_buf, int *out_len, in ubifs_compress_req() argument 86 acomp_request_set_dst_dma(req, out_buf, dlen); in ubifs_compress_req() 115 int in_len, void *out_buf, int *out_len, int *compr_type) in ubifs_compress() argument 131 err = ubifs_compress_req(c, req, out_buf, out_len, compr->name); in ubifs_compress() 140 memcpy(out_buf, in_buf, in_len); in ubifs_compress() 166 size_t in_offset, int in_len, void *out_buf, in ubifs_compress_folio() argument 183 err = ubifs_compress_req(c, req, out_buf, out_len, compr->name); in ubifs_compress_folio() 192 memcpy_from_folio(out_buf, in_folio, in_offset, in_len); in ubifs_compress_folio() 236 int in_len, void *out_buf, int *out_len, int compr_type) in ubifs_decompress() argument 253 memcpy(out_buf, in_buf, in_len); in ubifs_decompress() [all …]
|
| /linux-6.15/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-6.15/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()
|
| H A D | dvo_ns2501.c | 395 u8 out_buf[2]; in ns2501_readb() local 403 .buf = out_buf, in ns2501_readb() 413 out_buf[0] = addr; in ns2501_readb() 414 out_buf[1] = 0; in ns2501_readb() 440 u8 out_buf[2]; in ns2501_writeb() local 446 .buf = out_buf, in ns2501_writeb() 449 out_buf[0] = addr; in ns2501_writeb() 450 out_buf[1] = ch; in ns2501_writeb()
|
| /linux-6.15/fs/xfs/scrub/ |
| H A D | listxattr.c | 167 goto out_buf; in xchk_xattr_find_leftmost_leaf() 171 goto out_buf; in xchk_xattr_find_leftmost_leaf() 176 goto out_buf; in xchk_xattr_find_leftmost_leaf() 182 goto out_buf; in xchk_xattr_find_leftmost_leaf() 189 goto out_buf; in xchk_xattr_find_leftmost_leaf() 200 goto out_buf; in xchk_xattr_find_leftmost_leaf() 203 goto out_buf; in xchk_xattr_find_leftmost_leaf() 208 goto out_buf; in xchk_xattr_find_leftmost_leaf() 213 out_buf: in xchk_xattr_find_leftmost_leaf()
|
| /linux-6.15/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_i2c.c | 281 u8 out_buf[2]; in amdgpu_i2c_get_byte() local 288 .buf = out_buf, in amdgpu_i2c_get_byte() 298 out_buf[0] = addr; in amdgpu_i2c_get_byte() 299 out_buf[1] = 0; in amdgpu_i2c_get_byte() 317 uint8_t out_buf[2]; in amdgpu_i2c_put_byte() local 322 .buf = out_buf, in amdgpu_i2c_put_byte() 325 out_buf[0] = addr; in amdgpu_i2c_put_byte() 326 out_buf[1] = val; in amdgpu_i2c_put_byte()
|
| /linux-6.15/arch/s390/pci/ |
| H A D | pci_report.c | 54 int area, debug_entry_t *entry, char *out_buf, in debug_log_header_fn() argument 70 rc += scnprintf(out_buf, out_buf_size, "%011ld:%06lu %1u %1s %04u ", in debug_log_header_fn() 77 char *out_buf, size_t out_buf_size) in debug_prolog_header() argument 79 return scnprintf(out_buf, out_buf_size, "sec:usec level except cpu msg\n"); in debug_prolog_header()
|
| /linux-6.15/drivers/net/ethernet/netronome/nfp/nfpcore/ |
| H A D | nfp_nsp.c | 174 void *out_buf; member 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() 834 .out_buf = buf, in nfp_nsp_read_eth_table() 863 .out_buf = buf, in nfp_nsp_read_identify() 878 .out_buf = buf, in nfp_nsp_read_sensors() 913 .out_buf = buf, in __nfp_nsp_hwinfo_lookup() 1005 .out_buf = buf, in nfp_nsp_versions() 1057 .out_buf = buf, in __nfp_nsp_module_eeprom() [all …]
|
| /linux-6.15/arch/s390/kernel/ |
| H A D | debug.c | 81 struct debug_view *view, char *out_buf, 87 struct debug_view *view, char *out_buf, 96 char *out_buf, size_t out_buf_size, 1455 char *out_buf, size_t out_buf_size) in debug_prolog_pages_fn() argument 1504 char *out_buf, size_t out_buf_size) in debug_prolog_level_fn() argument 1509 rc = scnprintf(out_buf, out_buf_size, "-\n"); in debug_prolog_level_fn() 1633 rc += scnprintf(out_buf + rc, out_buf_size - rc, in debug_hex_ascii_format_fn() 1636 rc += scnprintf(out_buf + rc, out_buf_size - rc, "| "); in debug_hex_ascii_format_fn() 1645 rc += scnprintf(out_buf + rc, out_buf_size - rc, "\n"); in debug_hex_ascii_format_fn() 1653 int area, debug_entry_t *entry, char *out_buf, in debug_dflt_header_fn() argument [all …]
|
| /linux-6.15/drivers/ras/amd/atl/ |
| H A D | prm.c | 29 void *out_buf; member 45 p_buf.out_buf = &ret_addr; in prm_umc_norm_to_sys_addr()
|
| /linux-6.15/drivers/gpu/drm/gma500/ |
| H A D | psb_intel_modes.c | 20 u8 out_buf[] = { 0x0, 0x0 }; in psb_intel_ddc_probe() local 28 .buf = out_buf, in psb_intel_ddc_probe()
|
| /linux-6.15/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,
|