Home
last modified time | relevance | path

Searched refs:out_buf (Results 1 - 25 of 127) sorted by relevance

123456

/kernel/linux/linux-6.6/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 in zstd_uncompress()
[all...]
/kernel/linux/linux-5.10/lib/
H A Ddecompress_inflate.c45 unsigned char *out_buf, long out_len, in __gunzip()
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()
42 __gunzip(unsigned char *buf, long len, long (*fill)(void*, unsigned long), long (*flush)(void*, unsigned long), unsigned char *out_buf, long out_len, long *pos, void(*error)(char *x)) __gunzip() argument
200 gunzip(unsigned char *buf, long len, long (*fill)(void*, unsigned long), long (*flush)(void*, unsigned long), unsigned char *out_buf, long *pos, void (*error)(char *x)) gunzip() argument
210 __decompress(unsigned char *buf, long len, long (*fill)(void*, unsigned long), long (*flush)(void*, unsigned long), unsigned char *out_buf, long out_len, long *pos, void (*error)(char *x)) __decompress() argument
[all...]
H A Ddecompress_unlzo.c108 u8 *in_buf, *in_buf_save, *out_buf; in unlzo() local
112 out_buf = output; in unlzo()
117 out_buf = malloc(LZO_BLOCK_SIZE); in unlzo()
118 if (!out_buf) { in unlzo()
233 memcpy(out_buf, in_buf, src_len); in unlzo()
236 out_buf, &tmp); in unlzo()
244 if (flush && flush(out_buf, dst_len) != dst_len) in unlzo()
247 out_buf += dst_len; in unlzo()
272 free(out_buf); in unlzo()
281 unsigned char *out_buf, lon in __decompress()
278 __decompress(unsigned char *buf, long len, long (*fill)(void*, unsigned long), long (*flush)(void*, unsigned long), unsigned char *out_buf, long olen, long *pos, void (*error)(char *x)) __decompress() argument
[all...]
H A Ddecompress_unzstd.c123 static int INIT decompress_single(const u8 *in_buf, long in_len, u8 *out_buf, in decompress_single() argument
148 ret = ZSTD_decompressDCtx(dctx, out_buf, out_len, in_buf, in_len); in decompress_single()
166 unsigned char *out_buf, long out_len, in __unzstd()
187 out_len = UINTPTR_MAX - (uintptr_t)out_buf; in __unzstd()
194 return decompress_single(in_buf, in_len, out_buf, out_len, in __unzstd()
232 out_buf = out_allocated; in __unzstd()
236 out.dst = out_buf; in __unzstd()
334 unsigned char *out_buf, in unzstd()
338 return __unzstd(buf, len, fill, flush, out_buf, 0, pos, error); in unzstd()
344 unsigned char *out_buf, lon in __decompress()
163 __unzstd(unsigned char *in_buf, long in_len, long (*fill)(void*, unsigned long), long (*flush)(void*, unsigned long), unsigned char *out_buf, long out_len, long *in_pos, void (*error)(char *x)) __unzstd() argument
331 unzstd(unsigned char *buf, long len, long (*fill)(void*, unsigned long), long (*flush)(void*, unsigned long), unsigned char *out_buf, long *pos, void (*error)(char *x)) unzstd() argument
341 __decompress(unsigned char *buf, long len, long (*fill)(void*, unsigned long), long (*flush)(void*, unsigned long), unsigned char *out_buf, long out_len, long *pos, void (*error)(char *x)) __decompress() argument
[all...]
/kernel/linux/linux-6.6/lib/
H A Ddecompress_inflate.c45 unsigned char *out_buf, long out_len, in __gunzip()
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()
42 __gunzip(unsigned char *buf, long len, long (*fill)(void*, unsigned long), long (*flush)(void*, unsigned long), unsigned char *out_buf, long out_len, long *pos, void(*error)(char *x)) __gunzip() argument
200 gunzip(unsigned char *buf, long len, long (*fill)(void*, unsigned long), long (*flush)(void*, unsigned long), unsigned char *out_buf, long *pos, void (*error)(char *x)) gunzip() argument
210 __decompress(unsigned char *buf, long len, long (*fill)(void*, unsigned long), long (*flush)(void*, unsigned long), unsigned char *out_buf, long out_len, long *pos, void (*error)(char *x)) __decompress() argument
[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, lon in __decompress()
277 __decompress(unsigned char *buf, long len, long (*fill)(void*, unsigned long), long (*flush)(void*, unsigned long), unsigned char *out_buf, long olen, long *pos, void (*error)(char *x)) __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()
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()
340 return __unzstd(buf, len, fill, flush, out_buf, 0, pos, error); in unzstd()
346 unsigned char *out_buf, lon in __decompress()
165 __unzstd(unsigned char *in_buf, long in_len, long (*fill)(void*, unsigned long), long (*flush)(void*, unsigned long), unsigned char *out_buf, long out_len, long *in_pos, void (*error)(char *x)) __unzstd() argument
333 unzstd(unsigned char *buf, long len, long (*fill)(void*, unsigned long), long (*flush)(void*, unsigned long), unsigned char *out_buf, long *pos, void (*error)(char *x)) unzstd() argument
343 __decompress(unsigned char *buf, long len, long (*fill)(void*, unsigned long), long (*flush)(void*, unsigned long), unsigned char *out_buf, long out_len, long *pos, void (*error)(char *x)) __decompress() argument
[all...]
/kernel/linux/linux-5.10/fs/squashfs/
H A Dzstd_wrapper.c70 ZSTD_outBuffer 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()
105 if (out_buf.pos == out_buf.size) { in zstd_uncompress()
106 out_buf.dst = squashfs_next_page(output); in zstd_uncompress()
107 if (out_buf.dst == NULL) { in zstd_uncompress()
114 out_buf.pos = 0; in zstd_uncompress()
115 out_buf.size = PAGE_SIZE; in zstd_uncompress()
118 total_out -= out_buf in zstd_uncompress()
[all...]
/kernel/linux/linux-6.6/fs/quota/
H A Dquota_tree.c121 goto out_buf; in get_free_dqblk()
124 goto out_buf; in get_free_dqblk()
132 goto out_buf; in get_free_dqblk()
137 out_buf: in get_free_dqblk()
174 goto out_buf; in remove_free_dqentry()
179 goto out_buf; in remove_free_dqentry()
184 goto out_buf; in remove_free_dqentry()
189 goto out_buf; in remove_free_dqentry()
201 out_buf: in remove_free_dqentry()
220 goto out_buf; in insert_free_dqentry()
[all...]
/kernel/linux/linux-5.10/crypto/
H A Drsa-pkcs1pad.c103 uint8_t *in_buf, *out_buf; member
181 u8 *out_buf; in pkcs1pad_encrypt_sign_complete() local
193 out_buf = kzalloc(ctx->key_size, GFP_KERNEL); in pkcs1pad_encrypt_sign_complete()
195 if (!out_buf) in pkcs1pad_encrypt_sign_complete()
199 out_buf + pad_len, len); in pkcs1pad_encrypt_sign_complete()
202 out_buf, ctx->key_size); in pkcs1pad_encrypt_sign_complete()
203 kfree_sensitive(out_buf); in pkcs1pad_encrypt_sign_complete()
282 u8 *out_buf; in pkcs1pad_decrypt_complete() local
292 out_buf = req_ctx->out_buf; in pkcs1pad_decrypt_complete()
443 u8 *out_buf; pkcs1pad_verify_complete() local
[all...]
/kernel/linux/linux-5.10/fs/btrfs/
H A Dzstd.c52 ZSTD_outBuffer out_buf; member
414 workspace->out_buf.dst = kmap(out_page); in zstd_compress_pages()
415 workspace->out_buf.pos = 0; in zstd_compress_pages()
416 workspace->out_buf.size = min_t(size_t, max_out, PAGE_SIZE); in zstd_compress_pages()
421 ret2 = ZSTD_compressStream(stream, &workspace->out_buf, in zstd_compress_pages()
433 tot_out + workspace->out_buf.pos) { in zstd_compress_pages()
439 if (workspace->out_buf.pos >= max_out) { in zstd_compress_pages()
440 tot_out += workspace->out_buf.pos; in zstd_compress_pages()
446 if (workspace->out_buf.pos == workspace->out_buf in zstd_compress_pages()
[all...]
/kernel/linux/linux-6.6/fs/btrfs/
H A Dzstd.c52 zstd_out_buffer out_buf; member
418 workspace->out_buf.dst = page_address(out_page); in zstd_compress_pages()
419 workspace->out_buf.pos = 0; in zstd_compress_pages()
420 workspace->out_buf.size = min_t(size_t, max_out, PAGE_SIZE); in zstd_compress_pages()
425 ret2 = zstd_compress_stream(stream, &workspace->out_buf, in zstd_compress_pages()
437 tot_out + workspace->out_buf.pos) { in zstd_compress_pages()
443 if (workspace->out_buf.pos >= max_out) { in zstd_compress_pages()
444 tot_out += workspace->out_buf.pos; in zstd_compress_pages()
450 if (workspace->out_buf.pos == workspace->out_buf in zstd_compress_pages()
[all...]
/kernel/linux/linux-6.6/crypto/
H A Drsa-pkcs1pad.c103 uint8_t *in_buf, *out_buf; member
181 u8 *out_buf; in pkcs1pad_encrypt_sign_complete() local
193 out_buf = kzalloc(ctx->key_size, GFP_ATOMIC); in pkcs1pad_encrypt_sign_complete()
195 if (!out_buf) in pkcs1pad_encrypt_sign_complete()
199 out_buf + pad_len, len); in pkcs1pad_encrypt_sign_complete()
202 out_buf, ctx->key_size); in pkcs1pad_encrypt_sign_complete()
203 kfree_sensitive(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()
443 u8 *out_buf; pkcs1pad_verify_complete() local
[all...]
/kernel/linux/linux-5.10/fs/quota/
H A Dquota_tree.c125 goto out_buf; in get_free_dqblk()
128 goto out_buf; in get_free_dqblk()
136 goto out_buf; in get_free_dqblk()
141 out_buf: in get_free_dqblk()
178 goto out_buf; in remove_free_dqentry()
183 goto out_buf; in remove_free_dqentry()
188 goto out_buf; in remove_free_dqentry()
193 goto out_buf; in remove_free_dqentry()
205 out_buf: in remove_free_dqentry()
224 goto out_buf; in insert_free_dqentry()
[all...]
/kernel/linux/linux-5.10/drivers/platform/chrome/
H A Dcros_ec_i2c.c59 u8 *out_buf = NULL; in cros_ec_pkt_xfer_i2c() local
82 out_buf = ec_dev->dout; in cros_ec_pkt_xfer_i2c()
84 i2c_msg[0].buf = (char *) out_buf; in cros_ec_pkt_xfer_i2c()
87 ec_request_i2c = (struct ec_host_request_i2c *) out_buf; in cros_ec_pkt_xfer_i2c()
188 u8 *out_buf = NULL; in cros_ec_cmd_xfer_i2c() local
214 out_buf = kzalloc(packet_len, GFP_KERNEL); in cros_ec_cmd_xfer_i2c()
215 if (!out_buf) in cros_ec_cmd_xfer_i2c()
218 i2c_msg[0].buf = (char *)out_buf; in cros_ec_cmd_xfer_i2c()
220 out_buf[0] = EC_CMD_VERSION0 + msg->version; in cros_ec_cmd_xfer_i2c()
221 out_buf[ in cros_ec_cmd_xfer_i2c()
[all...]
/kernel/linux/linux-6.6/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[ in cros_ec_cmd_xfer_i2c()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
H A Ddvo_sil164.c73 u8 out_buf[2]; in sil164_readb() local
81 .buf = out_buf, in sil164_readb()
91 out_buf[0] = addr; in sil164_readb()
92 out_buf[1] = 0; in sil164_readb()
110 u8 out_buf[2]; in sil164_writeb() local
115 .buf = out_buf, in sil164_writeb()
118 out_buf[0] = addr; in sil164_writeb()
119 out_buf[1] = ch; in sil164_writeb()
H A Ddvo_tfp410.c98 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()
/kernel/linux/linux-5.10/drivers/w1/slaves/
H A Dw1_ds2423.c31 struct device_attribute *attr, char *out_buf) in w1_slave_show()
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()
30 w1_slave_show(struct device *device, struct device_attribute *attr, char *out_buf) w1_slave_show() argument
/kernel/linux/linux-6.6/drivers/w1/slaves/
H A Dw1_ds2423.c31 struct device_attribute *attr, char *out_buf) in w1_slave_show()
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()
30 w1_slave_show(struct device *device, struct device_attribute *attr, char *out_buf) w1_slave_show() argument
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/
H A Ddvo_tfp410.c98 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 Ddvo_sil164.c77 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()
/kernel/linux/linux-5.10/fs/ubifs/
H A Dcompress.c87 * @out_buf: output buffer where compressed data should be stored
93 * the result in the output buffer @out_buf and the resulting length in
95 * @out_buf. The same happens if @compr_type is %UBIFS_COMPR_NONE or if
102 int in_len, void *out_buf, int *out_len, int *compr_type) in ubifs_compress()
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()
145 * @out_buf: output buffer where decompressed data should
149 * This function decompresses data from buffer @in_buf into buffer @out_buf.
154 int in_len, void *out_buf, int *out_len, int compr_type) in ubifs_decompress()
172 memcpy(out_buf, in_bu in ubifs_decompress()
101 ubifs_compress(const struct ubifs_info *c, const void *in_buf, int in_len, void *out_buf, int *out_len, int *compr_type) ubifs_compress() argument
153 ubifs_decompress(const struct ubifs_info *c, const void *in_buf, int in_len, void *out_buf, int *out_len, int compr_type) ubifs_decompress() argument
[all...]
/kernel/linux/linux-6.6/fs/ubifs/
H A Dcompress.c87 * @out_buf: output buffer where compressed data should be stored
93 * the result in the output buffer @out_buf and the resulting length in
95 * @out_buf. The same happens if @compr_type is %UBIFS_COMPR_NONE or if
102 int in_len, void *out_buf, int *out_len, int *compr_type) in ubifs_compress()
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()
145 * @out_buf: output buffer where decompressed data should
149 * This function decompresses data from buffer @in_buf into buffer @out_buf.
154 int in_len, void *out_buf, int *out_len, int compr_type) in ubifs_decompress()
172 memcpy(out_buf, in_bu in ubifs_decompress()
101 ubifs_compress(const struct ubifs_info *c, const void *in_buf, int in_len, void *out_buf, int *out_len, int *compr_type) ubifs_compress() argument
153 ubifs_decompress(const struct ubifs_info *c, const void *in_buf, int in_len, void *out_buf, int *out_len, int compr_type) ubifs_decompress() argument
[all...]
/kernel/linux/linux-5.10/fs/hmdfs/
H A Dhmdfs_client.c26 if (sm->out_buf && sm->out_len != 0) in free_sm_outbuf()
27 kfree(sm->out_buf); in free_sm_outbuf()
29 sm->out_buf = NULL; in free_sm_outbuf()
43 .out_buf = NULL, in hmdfs_send_open()
58 if (!ret && (sm.out_len == 0 || !sm.out_buf)) in hmdfs_send_open()
62 resp = sm.out_buf; in hmdfs_send_open()
108 .out_buf = NULL, in hmdfs_send_fsync()
147 sm.out_buf = page; in hmdfs_client_readpage()
473 .out_buf = NULL, in hmdfs_client_start_mkdir()
490 if (!sm.out_buf) { in hmdfs_client_start_mkdir()
[all...]

Completed in 13 milliseconds

123456