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

123

/linux-master/fs/squashfs/
H A Dzstd_wrapper.c70 zstd_out_buffer out_buf = { NULL, 0, 0 }; local
81 out_buf.size = PAGE_SIZE;
82 out_buf.dst = squashfs_first_page(output);
83 if (IS_ERR(out_buf.dst)) {
84 error = PTR_ERR(out_buf.dst);
109 if (out_buf.pos == out_buf.size) {
110 out_buf.dst = squashfs_next_page(output);
111 if (IS_ERR(out_buf.dst)) {
112 error = PTR_ERR(out_buf
[all...]
/linux-master/lib/
H A Ddecompress_inflate.c45 unsigned char *out_buf, long out_len,
55 out_buf = malloc(out_len);
58 out_len = ((size_t)~0) - (size_t)out_buf; /* no limit */
60 if (!out_buf) {
130 strm->next_out = out_buf;
159 if (flush && strm->next_out > out_buf) {
160 long l = strm->next_out - out_buf;
161 if (l != flush(out_buf, l)) {
166 strm->next_out = out_buf;
194 free(out_buf);
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)) 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)) 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)) argument
[all...]
H A Ddecompress_unlzo.c107 u8 *in_buf, *in_buf_save, *out_buf; local
111 out_buf = output;
116 out_buf = malloc(LZO_BLOCK_SIZE);
117 if (!out_buf) {
232 memcpy(out_buf, in_buf, src_len);
235 out_buf, &tmp);
243 if (flush && flush(out_buf, dst_len) != dst_len)
246 out_buf += dst_len;
271 free(out_buf);
280 unsigned char *out_buf, lon
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)) argument
[all...]
H A Ddecompress_unzstd.c125 static int INIT decompress_single(const u8 *in_buf, long in_len, u8 *out_buf, argument
150 ret = zstd_decompress_dctx(dctx, out_buf, out_len, in_buf, in_len);
168 unsigned char *out_buf, long out_len,
189 out_len = UINTPTR_MAX - (uintptr_t)out_buf;
196 return decompress_single(in_buf, in_len, out_buf, out_len,
234 out_buf = out_allocated;
238 out.dst = out_buf;
336 unsigned char *out_buf,
340 return __unzstd(buf, len, fill, flush, out_buf, 0, pos, error);
346 unsigned char *out_buf, lon
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)) 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)) 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)) argument
[all...]
H A Ddecompress_unxz.c400 unsigned char *out_buf, long olen,
404 return unxz(buf, len, fill, flush, out_buf, pos, error);
397 __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)) argument
/linux-master/drivers/platform/chrome/
H A Dcros_ec_i2c.c59 u8 *out_buf = NULL; local
88 out_buf = ec_dev->dout;
90 i2c_msg[0].buf = (char *) out_buf;
93 ec_request_i2c = (struct ec_host_request_i2c *) out_buf;
196 u8 *out_buf = NULL; local
222 out_buf = kzalloc(packet_len, GFP_KERNEL);
223 if (!out_buf)
226 i2c_msg[0].buf = (char *)out_buf;
228 out_buf[0] = EC_CMD_VERSION0 + msg->version;
229 out_buf[
[all...]
/linux-master/drivers/w1/slaves/
H A Dw1_ds2423.c31 struct device_attribute *attr, char *out_buf)
65 c -= snprintf(out_buf + PAGE_SIZE - c,
74 c -= snprintf(out_buf + PAGE_SIZE - c,
97 c -= snprintf(out_buf + PAGE_SIZE - c,
100 c -= snprintf(out_buf + PAGE_SIZE - c,
106 c -= snprintf(out_buf + PAGE_SIZE - c, c, "Connection error");
30 w1_slave_show(struct device *device, struct device_attribute *attr, char *out_buf) argument
/linux-master/fs/btrfs/
H A Dzstd.c53 zstd_out_buffer out_buf; member in struct:workspace
421 workspace->out_buf.dst = page_address(out_page);
422 workspace->out_buf.pos = 0;
423 workspace->out_buf.size = min_t(size_t, max_out, PAGE_SIZE);
428 ret2 = zstd_compress_stream(stream, &workspace->out_buf,
440 tot_out + workspace->out_buf.pos) {
446 if (workspace->out_buf.pos >= max_out) {
447 tot_out += workspace->out_buf.pos;
453 if (workspace->out_buf.pos == workspace->out_buf
[all...]
/linux-master/drivers/gpu/drm/gma500/
H A Dpsb_intel_modes.c20 u8 out_buf[] = { 0x0, 0x0 }; local
28 .buf = out_buf,
/linux-master/fs/quota/
H A Dquota_tree.c127 goto out_buf;
130 goto out_buf;
138 goto out_buf;
143 out_buf:
180 goto out_buf;
185 goto out_buf;
190 goto out_buf;
195 goto out_buf;
207 out_buf:
226 goto out_buf;
[all...]
/linux-master/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)
116 err = crypto_comp_compress(compr->cc, in_buf, in_len, out_buf,
136 memcpy(out_buf, in_buf, in_len);
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)
172 memcpy(out_buf, in_bu
101 ubifs_compress(const struct ubifs_info *c, const void *in_buf, int in_len, void *out_buf, int *out_len, int *compr_type) 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) argument
[all...]
/linux-master/crypto/
H A Drsa-pkcs1pad.c126 uint8_t *in_buf, *out_buf; member in struct:pkcs1pad_request
204 u8 *out_buf; local
216 out_buf = kzalloc(ctx->key_size, GFP_ATOMIC);
218 if (!out_buf)
222 out_buf + pad_len, len);
225 out_buf, ctx->key_size);
226 kfree_sensitive(out_buf);
304 u8 *out_buf; local
314 out_buf = req_ctx->out_buf;
466 u8 *out_buf; local
[all...]
/linux-master/drivers/gpu/drm/i915/display/
H A Ddvo_tfp410.c98 u8 out_buf[2]; local
106 .buf = out_buf,
116 out_buf[0] = addr;
117 out_buf[1] = 0;
135 u8 out_buf[2]; local
140 .buf = out_buf,
143 out_buf[0] = addr;
144 out_buf[1] = ch;
H A Ddvo_sil164.c77 u8 out_buf[2]; local
85 .buf = out_buf,
95 out_buf[0] = addr;
96 out_buf[1] = 0;
114 u8 out_buf[2]; local
119 .buf = out_buf,
122 out_buf[0] = addr;
123 out_buf[1] = ch;
H A Ddvo_ch7xxx.c151 u8 out_buf[2]; local
159 .buf = out_buf,
169 out_buf[0] = addr;
170 out_buf[1] = 0;
189 u8 out_buf[2]; local
194 .buf = out_buf,
197 out_buf[0] = addr;
198 out_buf[1] = ch;
H A Ddvo_ivch.c196 u8 out_buf[1]; local
209 .buf = out_buf,
219 out_buf[0] = addr;
239 u8 out_buf[3]; local
244 .buf = out_buf,
247 out_buf[0] = addr;
248 out_buf[1] = data & 0xff;
249 out_buf[2] = data >> 8;
H A Ddvo_ns2501.c397 u8 out_buf[2]; local
405 .buf = out_buf,
415 out_buf[0] = addr;
416 out_buf[1] = 0;
442 u8 out_buf[2]; local
448 .buf = out_buf,
451 out_buf[0] = addr;
452 out_buf[1] = ch;
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_i2c.c287 u8 out_buf[2]; local
294 .buf = out_buf,
304 out_buf[0] = addr;
305 out_buf[1] = 0;
321 uint8_t out_buf[2]; local
326 .buf = out_buf,
329 out_buf[0] = addr;
330 out_buf[1] = val;
/linux-master/arch/powerpc/platforms/pseries/
H A Dpapr_platform_attributes.c108 goto out_buf;
117 goto out_buf;
128 goto out_buf;
133 out_buf:
/linux-master/arch/s390/kernel/
H A Ddebug.c80 struct debug_view *view, char *out_buf);
85 struct debug_view *view, char *out_buf);
93 char *out_buf, const char *in_buf);
95 char *out_buf, const char *inbuf);
1296 char *out_buf)
1298 return sprintf(out_buf, "%i\n", id->pages_per_area);
1345 char *out_buf)
1350 rc = sprintf(out_buf, "-\n");
1352 rc = sprintf(out_buf, "%i\n", id->level);
1469 char *out_buf, cons
1295 debug_prolog_pages_fn(debug_info_t *id, struct debug_view *view, char *out_buf) argument
1344 debug_prolog_level_fn(debug_info_t *id, struct debug_view *view, char *out_buf) argument
1468 debug_hex_ascii_format_fn(debug_info_t *id, struct debug_view *view, char *out_buf, const char *in_buf) argument
1491 debug_dflt_header_fn(debug_info_t *id, struct debug_view *view, int area, debug_entry_t *entry, char *out_buf) argument
1523 debug_sprintf_format_fn(debug_info_t *id, struct debug_view *view, char *out_buf, const char *inbuf) argument
[all...]
/linux-master/drivers/net/ethernet/netronome/nfp/nfpcore/
H A Dnfp_nsp.c167 * @out_buf: Buffer for output data
168 * @out_size: Size of @out_buf
174 void *out_buf; member in struct:nfp_nsp_command_buf_arg
463 if (arg->out_buf && arg->out_size && arg->out_size > arg->in_size) {
465 arg->out_buf, arg->out_size - arg->in_size);
483 if (arg->out_buf && arg->out_size) {
485 arg->out_buf, arg->out_size);
596 memcpy(arg->out_buf + off, chunks[i].chunk, len);
679 if (arg->out_buf && arg->out_size && arg->out_size > arg->in_size)
680 memset(arg->out_buf,
[all...]
/linux-master/include/uapi/linux/
H A Dndctl.h33 __u8 out_buf[]; member in struct:nd_cmd_get_config_data_hdr
51 __u8 out_buf[]; member in struct:nd_cmd_vendor_tail
/linux-master/arch/s390/include/asm/
H A Ddebug.h69 char *out_buf);
72 struct debug_view *view, char *out_buf,
76 char *out_buf);
84 int area, debug_entry_t *entry, char *out_buf);
/linux-master/fs/xfs/scrub/
H A Ddir.c330 goto out_buf;
341 goto out_buf;
351 goto out_buf;
357 goto out_buf;
380 goto out_buf;
390 goto out_buf;
399 goto out_buf;
405 goto out_buf;
419 out_buf:
/linux-master/drivers/gpu/drm/radeon/
H A Dradeon_i2c.c1045 u8 out_buf[2]; local
1052 .buf = out_buf,
1062 out_buf[0] = addr;
1063 out_buf[1] = 0;
1079 uint8_t out_buf[2]; local
1084 .buf = out_buf,
1087 out_buf[0] = addr;
1088 out_buf[1] = val;

Completed in 225 milliseconds

123