Home
last modified time | relevance | path

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

123

/linux-6.6.21/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.c126 long out_len, long *in_pos, 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() argument
188 if (out_len == 0) 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()
235 out_len = ZSTD_IOBUF_SIZE; in __unzstd()
240 out.size = out_len; in __unzstd()
346 unsigned char *out_buf, long out_len, in __decompress() argument
350 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
/linux-6.6.21/fs/ubifs/
Dcrypto.c39 unsigned int in_len, unsigned int *out_len, int block) in ubifs_encrypt() argument
46 ubifs_assert(c, pad_len <= *out_len); in ubifs_encrypt()
59 *out_len = pad_len; in ubifs_encrypt()
65 unsigned int *out_len, int block) in ubifs_decrypt() argument
70 unsigned int dlen = *out_len; in ubifs_decrypt()
85 *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()
/linux-6.6.21/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()
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()
Dzstd.c153 size_t out_len; in __zstd_compress() local
157 out_len = zstd_compress_cctx(zctx->cctx, dst, *dlen, src, slen, &params); in __zstd_compress()
158 if (zstd_is_error(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_decompress_dctx(zctx->dctx, dst, *dlen, src, slen); in __zstd_decompress()
186 if (zstd_is_error(out_len)) in __zstd_decompress()
188 *dlen = out_len; in __zstd_decompress()
/linux-6.6.21/drivers/infiniband/core/
Ducma.c370 int in_len, int out_len) in ucma_get_event() argument
379 if (out_len < sizeof(uevent->resp) - sizeof(uevent->resp.reserved) - in ucma_get_event()
404 min_t(size_t, out_len, sizeof(uevent->resp)))) { in ucma_get_event()
440 int in_len, int out_len) in ucma_create_id() argument
449 if (out_len < sizeof(resp)) in ucma_create_id()
592 int in_len, int out_len) in ucma_destroy_id() argument
599 if (out_len < sizeof(resp)) in ucma_destroy_id()
626 int in_len, int out_len) in ucma_bind_ip() argument
651 int in_len, int out_len) in ucma_bind() argument
677 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()
/linux-6.6.21/fs/btrfs/
Dlzo.c243 size_t out_len; in lzo_compress_pages() local
257 workspace->cbuf, &out_len, in lzo_compress_pages()
266 ret = copy_compressed_data_to_page(workspace->cbuf, out_len, in lzo_compress_pages()
370 size_t out_len = lzo1x_worst_compress(sectorsize); in lzo_decompress_bio() local
400 workspace->buf, &out_len); in lzo_decompress_bio()
407 ret = btrfs_decompress_buf2page(workspace->buf, out_len, cb, cur_out); in lzo_decompress_bio()
408 cur_out += out_len; in lzo_decompress_bio()
433 size_t out_len; in lzo_decompress() local
454 out_len = PAGE_SIZE; in lzo_decompress()
455 ret = lzo1x_decompress_safe(data_in, in_len, workspace->buf, &out_len); in lzo_decompress()
[all …]
/linux-6.6.21/lib/lzo/
Dlzo1x_compress.c23 unsigned char *out, size_t *out_len, in lzo1x_1_do_compress() argument
298 *out_len = op - out; in lzo1x_1_do_compress()
303 unsigned char *out, size_t *out_len, in lzogeneric1x_1_compress() argument
333 t = lzo1x_1_do_compress(ip, ll, op, out_len, t, wrkmem, in lzogeneric1x_1_compress()
336 op += *out_len; in lzogeneric1x_1_compress()
375 *out_len = op - out; in lzogeneric1x_1_compress()
380 unsigned char *out, size_t *out_len, in lzo1x_1_compress() argument
383 return lzogeneric1x_1_compress(in, in_len, out, out_len, wrkmem, 0); in lzo1x_1_compress()
387 unsigned char *out, size_t *out_len, in lzorle1x_1_compress() argument
390 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()
/linux-6.6.21/security/keys/
Dkeyctl_pkey.c139 uparams.out_len > info.max_enc_size) in keyctl_pkey_params_get_2()
144 uparams.out_len > info.max_dec_size) in keyctl_pkey_params_get_2()
149 uparams.out_len > info.max_sig_size) in keyctl_pkey_params_get_2()
162 params->out_len = uparams.out_len; /* Note: same as in2_len */ in keyctl_pkey_params_get_2()
251 out = kmalloc(params.out_len, GFP_KERNEL); in keyctl_pkey_e_d_s()
/linux-6.6.21/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()
/linux-6.6.21/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()
/linux-6.6.21/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()
/linux-6.6.21/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()
/linux-6.6.21/scripts/kconfig/
Dpreprocess.c503 size_t in_len, out_len; in __expand_string() local
507 out_len = 1; in __expand_string()
516 out_len += in_len + strlen(expansion); in __expand_string()
517 out = xrealloc(out, out_len); in __expand_string()
532 out_len += in_len; in __expand_string()
533 out = xrealloc(out, out_len); in __expand_string()
/linux-6.6.21/fs/vboxsf/
Dutils.c369 int path_len, out_len, nb; in vboxsf_path_from_dentry() local
393 out_len = PATH_MAX - SHFLSTRING_HEADER_SIZE - 1; in vboxsf_path_from_dentry()
405 nb = utf32_to_utf8(uni, out, out_len); in vboxsf_path_from_dentry()
412 out_len -= nb; in vboxsf_path_from_dentry()
442 size_t out_len; in vboxsf_nlscpy() local
450 out_len = 0; in vboxsf_nlscpy()
471 out_len += nb; in vboxsf_nlscpy()
/linux-6.6.21/drivers/staging/media/atomisp/pci/
Datomisp_gmin_platform.c1261 const char *var8, char *out, size_t *out_len) in gmin_get_hardcoded_var() argument
1274 if (vl > *out_len - 1) in gmin_get_hardcoded_var()
1277 strscpy(out, gv->val, *out_len); in gmin_get_hardcoded_var()
1278 *out_len = vl; in gmin_get_hardcoded_var()
1288 char *out, size_t *out_len) in gmin_get_config_dsm_var() argument
1361 strscpy(out, cur->string.pointer, *out_len); in gmin_get_config_dsm_var()
1362 *out_len = strlen(out); in gmin_get_config_dsm_var()
1375 char *out, size_t *out_len) in gmin_get_config_var() argument
1396 out, out_len); in gmin_get_config_var()
1403 ret = gmin_get_config_dsm_var(maindev, var, out, out_len); in gmin_get_config_var()
[all …]
/linux-6.6.21/drivers/crypto/nx/
Dnx-842.h146 unsigned char *out, unsigned int *out_len,
149 unsigned char *out, unsigned int *out_len,
/linux-6.6.21/security/selinux/ss/
Dsidtab.h141 char **out, u32 *out_len);
150 char **out, u32 *out_len) in sidtab_sid2str_get() argument
/linux-6.6.21/fs/befs/
Dlinuxvfs.c53 char **out, int *out_len);
55 char **out, int *out_len);
506 int in_len, char **out, int *out_len) in befs_utf2nls() argument
545 *out_len = o; in befs_utf2nls()
583 int in_len, char **out, int *out_len) in befs_nls2utf() argument
607 *out_len = 0; in befs_nls2utf()
625 *out_len = o; in befs_nls2utf()
/linux-6.6.21/drivers/target/iscsi/
Discsi_target_auth.c577 int *out_len) in chap_main_loop() argument
582 chap = chap_server_open(conn, auth, in_text, out_text, out_len); in chap_main_loop()
590 out_len) < 0) { in chap_main_loop()
597 *out_len = 0; in chap_main_loop()

123