Home
last modified time | relevance | path

Searched refs:out_buf (Results 1 – 25 of 73) sorted by relevance

123

/linux/fs/squashfs/
H A Dzstd_wrapper.c70 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/fs/quota/
H A Dquota_tree.c127 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/lib/
H A Ddecompress_inflate.c45 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 Ddecompress_unlzo.c107 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 Ddecompress_unzstd.c125 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/drivers/platform/chrome/
H A Dcros_ec_i2c.c59 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()
93 ec_request_i2c = (struct ec_host_request_i2c *) out_buf; in cros_ec_pkt_xfer_i2c()
196 u8 *out_buf = NULL; in cros_ec_cmd_xfer_i2c() local
222 out_buf = kzalloc(packet_len, GFP_KERNEL); in cros_ec_cmd_xfer_i2c()
223 if (!out_buf) in cros_ec_cmd_xfer_i2c()
226 i2c_msg[0].buf = (char *)out_buf; in cros_ec_cmd_xfer_i2c()
228 out_buf[0] = EC_CMD_VERSION0 + msg->version; in cros_ec_cmd_xfer_i2c()
229 out_buf[1] = msg->command; in cros_ec_cmd_xfer_i2c()
[all …]
/linux/crypto/
H A Drsa-pkcs1pad.c30 uint8_t *in_buf, *out_buf; member
82 u8 *out_buf; in pkcs1pad_encrypt_complete() local
94 out_buf = kzalloc(ctx->key_size, GFP_ATOMIC); in pkcs1pad_encrypt_complete()
96 if (!out_buf) in pkcs1pad_encrypt_complete()
100 out_buf + pad_len, len); in pkcs1pad_encrypt_complete()
103 out_buf, ctx->key_size); 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()
[all …]
H A Drsassa-pkcs1.c230 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/fs/btrfs/
H A Dzstd.c55 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.pos = 0; in zstd_compress_bio()
492 workspace->out_buf.size = min_folio_size; in zstd_compress_bio()
[all …]
/linux/fs/ubifs/
H A Dcompress.c78 void *out_buf, int *out_len) in ubifs_compress_common() argument
103 acomp_request_set_dst_dma(req, out_buf, dlen); in ubifs_compress_common()
126 memcpy_from_folio(out_buf, in_ptr.folio, in_offset, in_len); in ubifs_compress_common()
128 memcpy(out_buf, in_ptr.buf, in_len); in ubifs_compress_common()
153 int in_len, void *out_buf, int *out_len, int *compr_type) in ubifs_compress() argument
158 out_buf, out_len); in ubifs_compress()
182 size_t in_offset, int in_len, void *out_buf, in ubifs_compress_folio() argument
188 out_buf, out_len); in ubifs_compress_folio()
268 int in_len, void *out_buf, int *out_len, int compr_type) in ubifs_decompress() argument
270 return ubifs_decompress_common(c, in_buf, in_len, out_buf, 0, out_len, in ubifs_decompress()
/linux/drivers/w1/slaves/
H A Dw1_ds2423.c31 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 Ddecompressor_zstd.c144 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 Ddvo_sil164.c79 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 Ddvo_tfp410.c100 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 Ddvo_ch7xxx.c153 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 Ddvo_ivch.c198 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 Ddvo_ns2501.c397 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/fs/xfs/scrub/
H A Dlistxattr.c167 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/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_i2c.c268 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/arch/s390/pci/
H A Dpci_report.c53 int area, debug_entry_t *entry, char *out_buf, in debug_log_header_fn() argument
69 rc += scnprintf(out_buf, out_buf_size, "%011ld:%06lu %1u %1s %04u ", in debug_log_header_fn()
76 char *out_buf, size_t out_buf_size) in debug_prolog_header() argument
78 return scnprintf(out_buf, out_buf_size, "sec:usec level except cpu msg\n"); in debug_prolog_header()
/linux/drivers/net/ethernet/netronome/nfp/nfpcore/
H A Dnfp_nsp.c174 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/drivers/gpu/drm/amd/ras/ras_mgr/
H A Damdgpu_virt_ras_cmd.c189 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 Ddebug.c80 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 + rc, out_buf_size - rc, in debug_hex_ascii_format_fn()
[all …]
/linux/arch/s390/include/asm/
H A Ddebug.h69 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/drivers/ras/amd/atl/
H A Dprm.c29 void *out_buf; member
41 p_buf.out_buf = &ret_addr; in prm_umc_norm_to_sys_addr()

123