Home
last modified time | relevance | path

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

123

/Linux-v4.19/fs/btrfs/
Dzstd.c41 ZSTD_outBuffer out_buf; member
127 workspace->out_buf.dst = kmap(out_page); in zstd_compress_pages()
128 workspace->out_buf.pos = 0; in zstd_compress_pages()
129 workspace->out_buf.size = min_t(size_t, max_out, PAGE_SIZE); in zstd_compress_pages()
134 ret2 = ZSTD_compressStream(stream, &workspace->out_buf, in zstd_compress_pages()
146 tot_out + workspace->out_buf.pos) { in zstd_compress_pages()
152 if (workspace->out_buf.pos >= max_out) { in zstd_compress_pages()
153 tot_out += workspace->out_buf.pos; in zstd_compress_pages()
159 if (workspace->out_buf.pos == workspace->out_buf.size) { in zstd_compress_pages()
174 workspace->out_buf.dst = kmap(out_page); in zstd_compress_pages()
[all …]
/Linux-v4.19/lib/
Ddecompress_inflate.c41 unsigned char *out_buf, long out_len, in __gunzip() argument
51 out_buf = malloc(out_len); in __gunzip()
54 out_len = ((size_t)~0) - (size_t)out_buf; /* no limit */ in __gunzip()
56 if (!out_buf) { in __gunzip()
121 strm->next_out = out_buf; in __gunzip()
146 if (flush && strm->next_out > out_buf) { in __gunzip()
147 long l = strm->next_out - out_buf; in __gunzip()
148 if (l != flush(out_buf, l)) { in __gunzip()
153 strm->next_out = out_buf; in __gunzip()
181 free(out_buf); in __gunzip()
[all …]
Ddecompress_unlzo.c122 u8 *in_buf, *in_buf_save, *out_buf; in unlzo() local
126 out_buf = output; in unlzo()
131 out_buf = malloc(LZO_BLOCK_SIZE); in unlzo()
132 if (!out_buf) { in unlzo()
247 memcpy(out_buf, in_buf, src_len); in unlzo()
250 out_buf, &tmp); in unlzo()
258 if (flush && flush(out_buf, dst_len) != dst_len) in unlzo()
261 out_buf += dst_len; in unlzo()
286 free(out_buf); in unlzo()
295 unsigned char *out_buf, long olen, in __decompress() argument
[all …]
Ddecompress_unxz.c401 unsigned char *out_buf, long olen, in __decompress() argument
405 return unxz(buf, len, fill, flush, out_buf, pos, error); in __decompress()
/Linux-v4.19/fs/squashfs/
Dzstd_wrapper.c80 ZSTD_outBuffer out_buf = { NULL, 0, 0 }; in zstd_uncompress() local
89 out_buf.size = PAGE_SIZE; in zstd_uncompress()
90 out_buf.dst = squashfs_first_page(output); in zstd_uncompress()
103 if (out_buf.pos == out_buf.size) { in zstd_uncompress()
104 out_buf.dst = squashfs_next_page(output); in zstd_uncompress()
105 if (out_buf.dst == NULL) { in zstd_uncompress()
112 out_buf.pos = 0; in zstd_uncompress()
113 out_buf.size = PAGE_SIZE; in zstd_uncompress()
116 total_out -= out_buf.pos; in zstd_uncompress()
117 zstd_err = ZSTD_decompressStream(stream, &out_buf, &in_buf); in zstd_uncompress()
[all …]
/Linux-v4.19/crypto/
Drsa-pkcs1pad.c105 uint8_t *in_buf, *out_buf; member
183 u8 *out_buf; in pkcs1pad_encrypt_sign_complete() local
195 out_buf = kzalloc(ctx->key_size, GFP_KERNEL); in pkcs1pad_encrypt_sign_complete()
197 if (!out_buf) in pkcs1pad_encrypt_sign_complete()
201 out_buf + pad_len, len); in pkcs1pad_encrypt_sign_complete()
204 out_buf, ctx->key_size); in pkcs1pad_encrypt_sign_complete()
205 kzfree(out_buf); in pkcs1pad_encrypt_sign_complete()
264 req_ctx->out_buf = kmalloc(ctx->key_size, GFP_KERNEL); in pkcs1pad_encrypt()
265 if (!req_ctx->out_buf) { in pkcs1pad_encrypt()
270 pkcs1pad_sg_set_buf(req_ctx->out_sg, req_ctx->out_buf, in pkcs1pad_encrypt()
[all …]
/Linux-v4.19/fs/quota/
Dquota_tree.c95 goto out_buf; in get_free_dqblk()
103 goto out_buf; in get_free_dqblk()
108 out_buf: in get_free_dqblk()
145 goto out_buf; in remove_free_dqentry()
150 goto out_buf; in remove_free_dqentry()
155 goto out_buf; in remove_free_dqentry()
160 goto out_buf; in remove_free_dqentry()
172 out_buf: in remove_free_dqentry()
191 goto out_buf; in insert_free_dqentry()
195 goto out_buf; in insert_free_dqentry()
[all …]
/Linux-v4.19/drivers/platform/chrome/
Dcros_ec_i2c.c67 u8 *out_buf = NULL; in cros_ec_pkt_xfer_i2c() local
90 out_buf = ec_dev->dout; in cros_ec_pkt_xfer_i2c()
92 i2c_msg[0].buf = (char *) out_buf; in cros_ec_pkt_xfer_i2c()
95 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-v4.19/drivers/w1/slaves/
Dw1_ds2423.c44 struct device_attribute *attr, char *out_buf) in w1_slave_show() argument
78 c -= snprintf(out_buf + PAGE_SIZE - c, in w1_slave_show()
87 c -= snprintf(out_buf + PAGE_SIZE - c, in w1_slave_show()
110 c -= snprintf(out_buf + PAGE_SIZE - c, in w1_slave_show()
113 c -= snprintf(out_buf + PAGE_SIZE - c, in w1_slave_show()
119 c -= snprintf(out_buf + PAGE_SIZE - c, c, "Connection error"); in w1_slave_show()
/Linux-v4.19/drivers/gpu/drm/i915/
Ddvo_sil164.c72 u8 out_buf[2]; in sil164_readb() local
80 .buf = out_buf, in sil164_readb()
90 out_buf[0] = addr; in sil164_readb()
91 out_buf[1] = 0; in sil164_readb()
109 u8 out_buf[2]; in sil164_writeb() local
114 .buf = out_buf, in sil164_writeb()
117 out_buf[0] = addr; in sil164_writeb()
118 out_buf[1] = ch; in sil164_writeb()
Ddvo_tfp410.c97 u8 out_buf[2]; in tfp410_readb() local
105 .buf = out_buf, in tfp410_readb()
115 out_buf[0] = addr; in tfp410_readb()
116 out_buf[1] = 0; in tfp410_readb()
134 u8 out_buf[2]; in tfp410_writeb() local
139 .buf = out_buf, in tfp410_writeb()
142 out_buf[0] = addr; in tfp410_writeb()
143 out_buf[1] = ch; in tfp410_writeb()
Ddvo_ch7xxx.c139 u8 out_buf[2]; in ch7xxx_readb() local
147 .buf = out_buf, in ch7xxx_readb()
157 out_buf[0] = addr; in ch7xxx_readb()
158 out_buf[1] = 0; in ch7xxx_readb()
177 u8 out_buf[2]; in ch7xxx_writeb() local
182 .buf = out_buf, in ch7xxx_writeb()
185 out_buf[0] = addr; in ch7xxx_writeb()
186 out_buf[1] = ch; in ch7xxx_writeb()
Ddvo_ivch.c195 u8 out_buf[1]; in ivch_read() local
208 .buf = out_buf, in ivch_read()
218 out_buf[0] = addr; in ivch_read()
238 u8 out_buf[3]; in ivch_write() local
243 .buf = out_buf, in ivch_write()
246 out_buf[0] = addr; in ivch_write()
247 out_buf[1] = data & 0xff; in ivch_write()
248 out_buf[2] = data >> 8; in ivch_write()
Ddvo_ns2501.c396 u8 out_buf[2]; in ns2501_readb() local
404 .buf = out_buf, in ns2501_readb()
414 out_buf[0] = addr; in ns2501_readb()
415 out_buf[1] = 0; in ns2501_readb()
441 u8 out_buf[2]; in ns2501_writeb() local
447 .buf = out_buf, in ns2501_writeb()
450 out_buf[0] = addr; in ns2501_writeb()
451 out_buf[1] = ch; in ns2501_writeb()
/Linux-v4.19/fs/ubifs/
Dcompress.c96 int in_len, void *out_buf, int *out_len, int *compr_type) in ubifs_compress() argument
110 err = crypto_comp_compress(compr->cc, in_buf, in_len, out_buf, in ubifs_compress()
130 memcpy(out_buf, in_buf, in_len); in ubifs_compress()
148 int in_len, void *out_buf, int *out_len, int compr_type) in ubifs_decompress() argument
166 memcpy(out_buf, in_buf, in_len); in ubifs_decompress()
173 err = crypto_comp_decompress(compr->cc, in_buf, in_len, out_buf, in ubifs_decompress()
/Linux-v4.19/arch/s390/kernel/
Ddebug.c79 struct debug_view *view, char *out_buf);
84 struct debug_view *view, char *out_buf);
92 char *out_buf, const char *in_buf);
94 struct debug_view *view, char *out_buf,
97 int area, debug_entry_t *entry, char *out_buf);
100 char *out_buf, debug_sprintf_entry_t *curr_event);
1157 char *out_buf) in debug_prolog_pages_fn() argument
1159 return sprintf(out_buf, "%i\n", id->pages_per_area); in debug_prolog_pages_fn()
1206 char *out_buf) in debug_prolog_level_fn() argument
1211 rc = sprintf(out_buf, "-\n"); in debug_prolog_level_fn()
[all …]
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/
Damdgpu_i2c.c287 u8 out_buf[2]; in amdgpu_i2c_get_byte() local
294 .buf = out_buf, in amdgpu_i2c_get_byte()
304 out_buf[0] = addr; in amdgpu_i2c_get_byte()
305 out_buf[1] = 0; in amdgpu_i2c_get_byte()
321 uint8_t out_buf[2]; in amdgpu_i2c_put_byte() local
326 .buf = out_buf, in amdgpu_i2c_put_byte()
329 out_buf[0] = addr; in amdgpu_i2c_put_byte()
330 out_buf[1] = val; in amdgpu_i2c_put_byte()
/Linux-v4.19/drivers/net/ethernet/netronome/nfp/nfpcore/
Dnfp_nsp.c393 const void *in_buf, unsigned int in_size, void *out_buf, in __nfp_nsp_command_buf() argument
439 if (out_buf && out_size && out_size > in_size) { in __nfp_nsp_command_buf()
440 memset(out_buf, 0, out_size - in_size); in __nfp_nsp_command_buf()
442 out_buf, out_size - in_size); in __nfp_nsp_command_buf()
452 if (out_buf && out_size) { in __nfp_nsp_command_buf()
453 err = nfp_cpp_read(cpp, cpp_id, cpp_buf, out_buf, out_size); in __nfp_nsp_command_buf()
463 const void *in_buf, unsigned int in_size, void *out_buf, in nfp_nsp_command_buf() argument
467 out_buf, out_size, in nfp_nsp_command_buf()
/Linux-v4.19/drivers/gpu/drm/gma500/
Dpsb_intel_modes.c30 u8 out_buf[] = { 0x0, 0x0 }; in psb_intel_ddc_probe() local
38 .buf = out_buf, in psb_intel_ddc_probe()
/Linux-v4.19/drivers/hid/
Dhid-logitech-dj.c709 u8 *out_buf; in logi_dj_ll_raw_request() local
731 out_buf = kzalloc(DJREPORT_SHORT_LENGTH, GFP_ATOMIC); in logi_dj_ll_raw_request()
732 if (!out_buf) in logi_dj_ll_raw_request()
738 out_buf[0] = REPORT_ID_DJ_SHORT; in logi_dj_ll_raw_request()
739 out_buf[1] = djdev->device_index; in logi_dj_ll_raw_request()
740 memcpy(out_buf + 2, buf, count); in logi_dj_ll_raw_request()
742 ret = hid_hw_raw_request(djrcv_dev->hdev, out_buf[0], out_buf, in logi_dj_ll_raw_request()
745 kfree(out_buf); in logi_dj_ll_raw_request()
/Linux-v4.19/arch/s390/include/asm/
Ddebug.h58 char *out_buf);
61 struct debug_view *view, char *out_buf,
65 char *out_buf);
73 int area, debug_entry_t *entry, char *out_buf);
/Linux-v4.19/fs/xfs/scrub/
Ddir.c355 goto out_buf; in xchk_directory_data_bestfree()
366 goto out_buf; in xchk_directory_data_bestfree()
376 goto out_buf; in xchk_directory_data_bestfree()
382 goto out_buf; in xchk_directory_data_bestfree()
405 goto out_buf; in xchk_directory_data_bestfree()
415 goto out_buf; in xchk_directory_data_bestfree()
424 goto out_buf; in xchk_directory_data_bestfree()
430 goto out_buf; in xchk_directory_data_bestfree()
444 out_buf: in xchk_directory_data_bestfree()
/Linux-v4.19/include/uapi/linux/
Dndctl.h33 __u8 out_buf[0]; member
51 __u8 out_buf[0]; member
/Linux-v4.19/drivers/gpu/drm/radeon/
Dradeon_i2c.c1051 u8 out_buf[2]; in radeon_i2c_get_byte() local
1058 .buf = out_buf, in radeon_i2c_get_byte()
1068 out_buf[0] = addr; in radeon_i2c_get_byte()
1069 out_buf[1] = 0; in radeon_i2c_get_byte()
1085 uint8_t out_buf[2]; in radeon_i2c_put_byte() local
1090 .buf = out_buf, in radeon_i2c_put_byte()
1093 out_buf[0] = addr; in radeon_i2c_put_byte()
1094 out_buf[1] = val; in radeon_i2c_put_byte()
/Linux-v4.19/fs/cifs/
Dtransport.c984 struct smb_hdr *in_buf, struct smb_hdr *out_buf, in SendReceive() argument
1077 if (!midQ->resp_buf || !out_buf || in SendReceive()
1085 memcpy(out_buf, midQ->resp_buf, *pbytes_returned + 4); in SendReceive()
1100 struct smb_hdr *out_buf) in send_lock_cancel() argument
1115 return SendReceive(xid, ses, in_buf, out_buf, in send_lock_cancel()
1121 struct smb_hdr *in_buf, struct smb_hdr *out_buf, in SendReceiveBlockingLock() argument
1219 rc = send_lock_cancel(xid, tcon, in_buf, out_buf); in SendReceiveBlockingLock()
1251 if (out_buf == NULL || midQ->mid_state != MID_RESPONSE_RECEIVED) { in SendReceiveBlockingLock()
1258 memcpy(out_buf, midQ->resp_buf, *pbytes_returned + 4); in SendReceiveBlockingLock()

123