Home
last modified time | relevance | path

Searched refs:out_len (Results 1 – 25 of 65) sorted by relevance

123

/kernel/linux/linux-5.10/fs/btrfs/
Dlzo.c130 size_t out_len; in lzo_compress_pages() local
165 &out_len, workspace->mem); in lzo_compress_pages()
174 write_compress_length(cpage_out + out_offset, out_len); in lzo_compress_pages()
180 tot_out += out_len; in lzo_compress_pages()
184 while (out_len) { in lzo_compress_pages()
185 bytes = min_t(unsigned long, pg_bytes_left, out_len); in lzo_compress_pages()
189 out_len -= bytes; in lzo_compress_pages()
200 if ((out_len == 0 && pg_bytes_left < LZO_LEN) || in lzo_compress_pages()
209 if (out_len == 0 && tot_in >= len) in lzo_compress_pages()
295 size_t out_len; in lzo_decompress_bio() local
[all …]
/kernel/linux/linux-5.10/lib/
Ddecompress_inflate.c45 unsigned char *out_buf, long out_len, in __gunzip() argument
54 out_len = 0x8000; /* 32 K */ in __gunzip()
55 out_buf = malloc(out_len); in __gunzip()
57 if (!out_len) in __gunzip()
58 out_len = ((size_t)~0) - (size_t)out_buf; /* no limit */ in __gunzip()
131 strm->avail_out = out_len; in __gunzip()
167 strm->avail_out = out_len; in __gunzip()
213 unsigned char *out_buf, long out_len, in __decompress() argument
217 return __gunzip(buf, len, fill, flush, out_buf, out_len, pos, error); in __decompress()
Ddecompress_unzstd.c124 long out_len, long *in_pos, 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() argument
186 if (out_len == 0) 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()
233 out_len = ZSTD_IOBUF_SIZE; in __unzstd()
238 out.size = out_len; in __unzstd()
344 unsigned char *out_buf, long out_len, in __decompress() argument
348 return __unzstd(buf, len, fill, flush, out_buf, out_len, pos, error); in __decompress()
Ddecompress_unlz4.c45 size_t out_len = get_unaligned_le32(input + in_len); in unlz4() local
154 if (out_len >= uncomp_chunksize) { in unlz4()
156 out_len -= dest_len; in unlz4()
158 dest_len = out_len; in unlz4()
210 unsigned char *output, long out_len, in __decompress() argument
/kernel/linux/linux-5.10/fs/ubifs/
Dcrypto.c28 unsigned int in_len, unsigned int *out_len, int block) in ubifs_encrypt() argument
35 ubifs_assert(c, pad_len <= *out_len); in ubifs_encrypt()
48 *out_len = pad_len; in ubifs_encrypt()
54 unsigned int *out_len, int block) in ubifs_decrypt() argument
59 unsigned int dlen = *out_len; in ubifs_decrypt()
74 *out_len = clen; in ubifs_decrypt()
Dcompress.c102 int in_len, void *out_buf, int *out_len, int *compr_type) in ubifs_compress() argument
117 (unsigned int *)out_len); in ubifs_compress()
130 if (in_len - *out_len < UBIFS_MIN_COMPRESS_DIFF) in ubifs_compress()
137 *out_len = in_len; in ubifs_compress()
154 int in_len, void *out_buf, int *out_len, int compr_type) in ubifs_decompress() argument
173 *out_len = in_len; in ubifs_decompress()
180 (unsigned int *)out_len); in ubifs_decompress()
/kernel/linux/linux-5.10/crypto/
Dlz4hc.c55 int out_len = LZ4_compress_HC(src, dst, slen, in __lz4hc_compress_crypto() local
58 if (!out_len) in __lz4hc_compress_crypto()
61 *dlen = out_len; in __lz4hc_compress_crypto()
85 int out_len = LZ4_decompress_safe(src, dst, slen, *dlen); in __lz4hc_decompress_crypto() local
87 if (out_len < 0) in __lz4hc_decompress_crypto()
90 *dlen = out_len; in __lz4hc_decompress_crypto()
Dlz4.c56 int out_len = LZ4_compress_default(src, dst, in __lz4_compress_crypto() local
59 if (!out_len) in __lz4_compress_crypto()
62 *dlen = out_len; in __lz4_compress_crypto()
84 int out_len = LZ4_decompress_safe(src, dst, slen, *dlen); in __lz4_decompress_crypto() local
86 if (out_len < 0) in __lz4_decompress_crypto()
89 *dlen = out_len; in __lz4_decompress_crypto()
Dzstd.c153 size_t out_len; in __zstd_compress() local
157 out_len = ZSTD_compressCCtx(zctx->cctx, dst, *dlen, src, slen, params); in __zstd_compress()
158 if (ZSTD_isError(out_len)) in __zstd_compress()
160 *dlen = out_len; in __zstd_compress()
182 size_t out_len; in __zstd_decompress() local
185 out_len = ZSTD_decompressDCtx(zctx->dctx, dst, *dlen, src, slen); in __zstd_decompress()
186 if (ZSTD_isError(out_len)) in __zstd_decompress()
188 *dlen = out_len; in __zstd_decompress()
/kernel/linux/linux-5.10/drivers/infiniband/core/
Ducma.c367 int in_len, int out_len) in ucma_get_event() argument
376 if (out_len < sizeof(uevent->resp) - sizeof(uevent->resp.reserved) - in ucma_get_event()
401 min_t(size_t, out_len, sizeof(uevent->resp)))) { in ucma_get_event()
437 int in_len, int out_len) in ucma_create_id() argument
446 if (out_len < sizeof(resp)) in ucma_create_id()
589 int in_len, int out_len) in ucma_destroy_id() argument
596 if (out_len < sizeof(resp)) in ucma_destroy_id()
623 int in_len, int out_len) in ucma_bind_ip() argument
648 int in_len, int out_len) in ucma_bind() argument
674 int in_len, int out_len) in ucma_resolve_ip() argument
[all …]
Duverbs_std_types_device.c67 ssize_t out_len, in gather_objects_handle() argument
70 u64 max_count = out_len / sizeof(u32); in gather_objects_handle()
78 handles = uverbs_zalloc(attrs, out_len); in gather_objects_handle()
105 ssize_t out_len; in UVERBS_HANDLER() local
111 out_len = uverbs_attr_get_len(attrs, UVERBS_ATTR_INFO_HANDLES_LIST); in UVERBS_HANDLER()
112 if (out_len <= 0 || (out_len % sizeof(u32) != 0)) in UVERBS_HANDLER()
124 out_len, &total); in UVERBS_HANDLER()
/kernel/linux/linux-5.10/lib/lzo/
Dlzo1x_compress.c23 unsigned char *out, size_t *out_len, in lzo1x_1_do_compress() argument
300 *out_len = op - out; in lzo1x_1_do_compress()
305 unsigned char *out, size_t *out_len, in lzogeneric1x_1_compress() argument
335 t = lzo1x_1_do_compress(ip, ll, op, out_len, t, wrkmem, in lzogeneric1x_1_compress()
338 op += *out_len; in lzogeneric1x_1_compress()
377 *out_len = op - out; in lzogeneric1x_1_compress()
382 unsigned char *out, size_t *out_len, in lzo1x_1_compress() argument
385 return lzogeneric1x_1_compress(in, in_len, out, out_len, wrkmem, 0); in lzo1x_1_compress()
389 unsigned char *out, size_t *out_len, in lzorle1x_1_compress() argument
392 return lzogeneric1x_1_compress(in, in_len, out, out_len, in lzorle1x_1_compress()
Dlzo1x_decompress_safe.c40 unsigned char *out, size_t *out_len) in lzo1x_decompress_safe() argument
48 unsigned char * const op_end = out + *out_len; in lzo1x_decompress_safe()
273 *out_len = op - out; in lzo1x_decompress_safe()
279 *out_len = op - out; in lzo1x_decompress_safe()
283 *out_len = op - out; in lzo1x_decompress_safe()
287 *out_len = op - out; in lzo1x_decompress_safe()
/kernel/linux/linux-5.10/security/keys/
Dkeyctl_pkey.c140 uparams.out_len > info.max_dec_size) in keyctl_pkey_params_get_2()
146 uparams.out_len > info.max_data_size) in keyctl_pkey_params_get_2()
154 params->out_len = uparams.out_len; in keyctl_pkey_params_get_2()
245 out = kmalloc(params.out_len, GFP_KERNEL); in keyctl_pkey_e_d_s()
/kernel/linux/linux-5.10/drivers/hv/
Dhv_fcopy.c128 int rc, out_len; in fcopy_send_data() local
143 out_len = sizeof(struct hv_start_fcopy); in fcopy_send_data()
166 out_len = sizeof(struct hv_do_fcopy); in fcopy_send_data()
170 out_len = fcopy_transaction.recv_len; in fcopy_send_data()
175 rc = hvutil_transport_send(hvt, out_src, out_len, NULL); in fcopy_send_data()
/kernel/linux/linux-5.10/fs/squashfs/
Dlzo_wrapper.c74 size_t out_len = output->length; in lzo_uncompress() local
87 stream->output, &out_len); in lzo_uncompress()
91 res = bytes = (int)out_len; in lzo_uncompress()
/kernel/linux/linux-5.10/fs/exfat/
Dnls.c544 int i, j, len, out_len = 0; in __exfat_utf16_to_nls() local
550 while (i < MAX_NAME_LENGTH && out_len < (buflen - 1)) { in __exfat_utf16_to_nls()
576 if (out_len + len >= buflen) in __exfat_utf16_to_nls()
577 len = buflen - 1 - out_len; in __exfat_utf16_to_nls()
578 out_len += len; in __exfat_utf16_to_nls()
592 return out_len; in __exfat_utf16_to_nls()
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
Dtx_tso.c59 unsigned int out_len; member
196 st->out_len = skb->len - header_len; in tso_start()
250 st->out_len -= n; in tso_fill_packet_with_fragment()
255 if (st->out_len == 0) { in tso_fill_packet_with_fragment()
291 bool is_last = st->out_len <= skb_shinfo(skb)->gso_size; in tso_start_new_packet()
298 st->packet_space = st->out_len; in tso_start_new_packet()
/kernel/linux/linux-5.10/scripts/kconfig/
Dpreprocess.c500 size_t in_len, out_len; in __expand_string() local
504 out_len = 1; in __expand_string()
513 out_len += in_len + strlen(expansion); in __expand_string()
514 out = xrealloc(out, out_len); in __expand_string()
529 out_len += in_len; in __expand_string()
530 out = xrealloc(out, out_len); in __expand_string()
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/
Datomisp_gmin_platform.c1080 const char *var8, char *out, size_t *out_len) in gmin_get_hardcoded_var() argument
1093 if (vl > *out_len - 1) in gmin_get_hardcoded_var()
1096 strscpy(out, gv->val, *out_len); in gmin_get_hardcoded_var()
1097 *out_len = vl; in gmin_get_hardcoded_var()
1107 char *out, size_t *out_len) in gmin_get_config_dsm_var() argument
1182 strscpy(out, cur->string.pointer, *out_len); in gmin_get_config_dsm_var()
1183 *out_len = strlen(cur->string.pointer); in gmin_get_config_dsm_var()
1196 char *out, size_t *out_len) in gmin_get_config_var() argument
1207 ret = gmin_get_config_dsm_var(maindev, var, out, out_len); in gmin_get_config_var()
1232 out, out_len); in gmin_get_config_var()
[all …]
/kernel/linux/linux-5.10/fs/vboxsf/
Dutils.c349 int path_len, out_len, nb; in vboxsf_path_from_dentry() local
373 out_len = PATH_MAX - SHFLSTRING_HEADER_SIZE - 1; in vboxsf_path_from_dentry()
385 nb = utf32_to_utf8(uni, out, out_len); in vboxsf_path_from_dentry()
392 out_len -= nb; in vboxsf_path_from_dentry()
422 size_t out_len; in vboxsf_nlscpy() local
430 out_len = 0; in vboxsf_nlscpy()
451 out_len += nb; in vboxsf_nlscpy()
/kernel/linux/linux-5.10/drivers/crypto/nx/
Dnx-842.h146 unsigned char *out, unsigned int *out_len,
149 unsigned char *out, unsigned int *out_len,
/kernel/linux/linux-5.10/drivers/target/iscsi/
Discsi_target_auth.c505 int *out_len) in chap_main_loop() argument
510 chap = chap_server_open(conn, auth, in_text, out_text, out_len); in chap_main_loop()
518 out_len) < 0) { in chap_main_loop()
525 *out_len = 0; in chap_main_loop()
/kernel/linux/linux-5.10/security/selinux/ss/
Dsidtab.h142 char **out, u32 *out_len);
151 char **out, u32 *out_len) in sidtab_sid2str_get() argument
/kernel/linux/linux-5.10/fs/befs/
Dlinuxvfs.c53 char **out, int *out_len);
55 char **out, int *out_len);
507 int in_len, char **out, int *out_len) in befs_utf2nls() argument
546 *out_len = o; in befs_utf2nls()
584 int in_len, char **out, int *out_len) in befs_nls2utf() argument
608 *out_len = 0; in befs_nls2utf()
626 *out_len = o; in befs_nls2utf()

123