Home
last modified time | relevance | path

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

123

/linux/lib/
A Ddecompress_inflate.c45 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 …]
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 …]
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_decompress_dctx(dctx, out_buf, out_len, in_buf, in_len); in decompress_single()
166 unsigned char *out_buf, long out_len, in __unzstd() argument
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() argument
338 return __unzstd(buf, len, fill, flush, out_buf, 0, pos, error); in unzstd()
344 unsigned char *out_buf, long out_len, in __decompress() argument
[all …]
/linux/fs/btrfs/
A Dzstd.c52 zstd_out_buffer out_buf; member
415 workspace->out_buf.pos = 0; in zstd_compress_pages()
440 tot_out += workspace->out_buf.pos; in zstd_compress_pages()
446 if (workspace->out_buf.pos == workspace->out_buf.size) { in zstd_compress_pages()
462 workspace->out_buf.pos = 0; in zstd_compress_pages()
498 tot_out += workspace->out_buf.pos; in zstd_compress_pages()
522 workspace->out_buf.pos = 0; in zstd_compress_pages()
571 workspace->out_buf.pos = 0; in zstd_decompress_bio()
587 workspace->out_buf.pos = 0; in zstd_decompress_bio()
648 workspace->out_buf.pos = 0; in zstd_decompress()
[all …]
/linux/fs/quota/
A Dquota_tree.c87 goto out_buf; in get_free_dqblk()
100 out_buf: in get_free_dqblk()
164 out_buf: in remove_free_dqentry()
198 out_buf: in insert_free_dqentry()
283 out_buf: in find_free_dqentry()
340 out_buf: in do_insert_tree()
460 out_buf: in free_dqentry()
515 out_buf: in remove_tree()
564 out_buf: in find_block_dqentry()
600 out_buf: in find_tree_dqentry()
[all …]
/linux/fs/squashfs/
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()
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.pos; in zstd_uncompress()
119 zstd_err = zstd_decompress_stream(stream, &out_buf, &in_buf); in zstd_uncompress()
[all …]
/linux/crypto/
A Drsa-pkcs1pad.c181 u8 *out_buf; in pkcs1pad_encrypt_sign_complete() local
195 if (!out_buf) in pkcs1pad_encrypt_sign_complete()
284 u8 *out_buf; in pkcs1pad_decrypt_complete() local
294 out_buf = req_ctx->out_buf; in pkcs1pad_decrypt_complete()
301 out_buf++; in pkcs1pad_decrypt_complete()
304 if (out_buf[0] != 0x02) in pkcs1pad_decrypt_complete()
357 if (!req_ctx->out_buf) in pkcs1pad_decrypt()
446 u8 *out_buf; in pkcs1pad_verify_complete() local
456 out_buf = req_ctx->out_buf; in pkcs1pad_verify_complete()
463 out_buf++; in pkcs1pad_verify_complete()
[all …]
/linux/drivers/platform/chrome/
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()
188 u8 *out_buf = NULL; in cros_ec_cmd_xfer_i2c() local
215 if (!out_buf) in cros_ec_cmd_xfer_i2c()
221 out_buf[1] = msg->command; in cros_ec_cmd_xfer_i2c()
222 out_buf[2] = msg->outsize; in cros_ec_cmd_xfer_i2c()
225 sum = out_buf[0] + out_buf[1] + out_buf[2]; in cros_ec_cmd_xfer_i2c()
227 out_buf[3 + i] = msg->data[i]; in cros_ec_cmd_xfer_i2c()
228 sum += out_buf[3 + i]; in cros_ec_cmd_xfer_i2c()
[all …]
/linux/drivers/gpu/drm/i915/display/
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()
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()
A Ddvo_ch7xxx.c140 u8 out_buf[2]; in ch7xxx_readb() local
148 .buf = out_buf, in ch7xxx_readb()
158 out_buf[0] = addr; in ch7xxx_readb()
159 out_buf[1] = 0; in ch7xxx_readb()
178 u8 out_buf[2]; in ch7xxx_writeb() local
183 .buf = out_buf, in ch7xxx_writeb()
186 out_buf[0] = addr; in ch7xxx_writeb()
187 out_buf[1] = ch; in ch7xxx_writeb()
A Ddvo_ivch.c196 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()
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/drivers/w1/slaves/
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/ubifs/
A Dcompress.c102 int in_len, void *out_buf, int *out_len, int *compr_type) in ubifs_compress() argument
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()
154 int in_len, void *out_buf, int *out_len, int compr_type) in ubifs_decompress() argument
172 memcpy(out_buf, in_buf, in_len); in ubifs_decompress()
179 err = crypto_comp_decompress(compr->cc, in_buf, in_len, out_buf, in ubifs_decompress()
/linux/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_i2c.c288 u8 out_buf[2]; in amdgpu_i2c_get_byte() local
295 .buf = out_buf, in amdgpu_i2c_get_byte()
305 out_buf[0] = addr; in amdgpu_i2c_get_byte()
306 out_buf[1] = 0; in amdgpu_i2c_get_byte()
322 uint8_t out_buf[2]; in amdgpu_i2c_put_byte() local
327 .buf = out_buf, in amdgpu_i2c_put_byte()
330 out_buf[0] = addr; in amdgpu_i2c_put_byte()
331 out_buf[1] = val; in amdgpu_i2c_put_byte()
/linux/arch/s390/kernel/
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);
1307 char *out_buf) in debug_prolog_pages_fn() argument
1356 char *out_buf) in debug_prolog_level_fn() argument
1361 rc = sprintf(out_buf, "-\n"); in debug_prolog_level_fn()
1486 rc += sprintf(out_buf + rc, "| "); in debug_hex_ascii_format_fn()
1491 rc += sprintf(out_buf + rc, "%c", c); in debug_hex_ascii_format_fn()
1493 rc += sprintf(out_buf + rc, "."); in debug_hex_ascii_format_fn()
1495 rc += sprintf(out_buf + rc, "\n"); in debug_hex_ascii_format_fn()
[all …]
/linux/drivers/net/ethernet/netronome/nfp/nfpcore/
A Dnfp_nsp.c173 void *out_buf; member
464 arg->out_buf, arg->out_size - arg->in_size); in nfp_nsp_command_buf_def()
482 if (arg->out_buf && arg->out_size) { in nfp_nsp_command_buf_def()
484 arg->out_buf, arg->out_size); in nfp_nsp_command_buf_def()
595 memcpy(arg->out_buf + off, chunks[i].chunk, len); in nfp_nsp_command_buf_dma_sg()
833 .out_buf = buf, in nfp_nsp_read_eth_table()
862 .out_buf = buf, in nfp_nsp_read_identify()
877 .out_buf = buf, in nfp_nsp_read_sensors()
912 .out_buf = buf, in __nfp_nsp_hwinfo_lookup()
1004 .out_buf = buf, in nfp_nsp_versions()
[all …]
/linux/drivers/gpu/drm/gma500/
A Dpsb_intel_modes.c18 u8 out_buf[] = { 0x0, 0x0 }; in psb_intel_ddc_probe() local
26 .buf = out_buf, in psb_intel_ddc_probe()
/linux/fs/xfs/scrub/
A Ddir.c376 goto out_buf; in xchk_directory_data_bestfree()
387 goto out_buf; in xchk_directory_data_bestfree()
397 goto out_buf; in xchk_directory_data_bestfree()
403 goto out_buf; in xchk_directory_data_bestfree()
426 goto out_buf; in xchk_directory_data_bestfree()
436 goto out_buf; in xchk_directory_data_bestfree()
445 goto out_buf; in xchk_directory_data_bestfree()
451 goto out_buf; in xchk_directory_data_bestfree()
465 out_buf: in xchk_directory_data_bestfree()
/linux/arch/s390/include/asm/
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/drivers/gpu/drm/radeon/
A Dradeon_i2c.c1046 u8 out_buf[2]; in radeon_i2c_get_byte() local
1053 .buf = out_buf, in radeon_i2c_get_byte()
1063 out_buf[0] = addr; in radeon_i2c_get_byte()
1064 out_buf[1] = 0; in radeon_i2c_get_byte()
1080 uint8_t out_buf[2]; in radeon_i2c_put_byte() local
1085 .buf = out_buf, in radeon_i2c_put_byte()
1088 out_buf[0] = addr; in radeon_i2c_put_byte()
1089 out_buf[1] = val; in radeon_i2c_put_byte()
/linux/drivers/hid/
A Dhid-logitech-dj.c1349 u8 *out_buf; in logi_dj_ll_raw_request() local
1382 out_buf = kzalloc(DJREPORT_SHORT_LENGTH, GFP_ATOMIC); in logi_dj_ll_raw_request()
1383 if (!out_buf) in logi_dj_ll_raw_request()
1389 out_buf[0] = REPORT_ID_DJ_SHORT; in logi_dj_ll_raw_request()
1390 out_buf[1] = djdev->device_index; in logi_dj_ll_raw_request()
1391 memcpy(out_buf + 2, buf, count); in logi_dj_ll_raw_request()
1393 ret = hid_hw_raw_request(djrcv_dev->hidpp, out_buf[0], out_buf, in logi_dj_ll_raw_request()
1396 kfree(out_buf); in logi_dj_ll_raw_request()
/linux/include/uapi/linux/
A Dndctl.h33 __u8 out_buf[0]; member
51 __u8 out_buf[0]; member
/linux/drivers/usb/early/
A Dxhci-dbc.c242 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 memset(xdbc.out_buf, 0, XDBC_MAX_PACKET); in xdbc_bulk_transfer()
503 memcpy(xdbc.out_buf, data, size); in xdbc_bulk_transfer()
569 xdbc.out_buf = xdbc_get_page(&xdbc.out_dma); in xdbc_early_setup()
570 if (!xdbc.out_buf) in xdbc_early_setup()
681 xdbc.out_buf = NULL; in early_xdbc_setup_hardware()

Completed in 53 milliseconds

123