/linux/lib/ |
A D | decompress_inflate.c | 45 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()
|
A D | decompress_unzstd.c | 124 long out_len, long *in_pos, 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 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()
|
A D | decompress_unlz4.c | 45 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/fs/ubifs/ |
A D | crypto.c | 28 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()
|
A D | compress.c | 102 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()
|
A D | journal.c | 767 out_len = compr_len = dlen - UBIFS_DATA_NODE_SZ; in ubifs_jnl_write_data() 778 out_len = compr_len; in ubifs_jnl_write_data() 781 dlen = UBIFS_DATA_NODE_SZ + out_len; in ubifs_jnl_write_data() 1448 int err, dlen, compr_type, out_len, old_dlen; in truncate_data_node() local 1450 out_len = le32_to_cpu(dn->size); in truncate_data_node() 1451 buf = kmalloc_array(out_len, WORST_COMPR_FACTOR, GFP_NOFS); in truncate_data_node() 1465 out_len = *new_len; in truncate_data_node() 1475 err = ubifs_encrypt(inode, dn, out_len, &old_dlen, block); in truncate_data_node() 1479 out_len = old_dlen; in truncate_data_node() 1484 ubifs_assert(c, out_len <= UBIFS_BLOCK_SIZE); in truncate_data_node() [all …]
|
/linux/drivers/infiniband/core/ |
A D | ucma.c | 446 if (out_len < sizeof(resp)) in ucma_create_id() 596 if (out_len < sizeof(resp)) in ucma_destroy_id() 648 int in_len, int out_len) in ucma_bind() argument 701 int in_len, int out_len) in ucma_resolve_addr() argument 815 int in_len, int out_len) in ucma_query_route() argument 914 if (out_len < sizeof(*resp)) in ucma_query_path() 995 int in_len, int out_len) in ucma_query() argument 1211 int in_len, int out_len) in ucma_init_qp_attr() argument 1219 if (out_len < sizeof(resp)) in ucma_init_qp_attr() 1443 if (out_len < sizeof(resp)) in ucma_process_join() [all …]
|
A D | uverbs_std_types_device.c | 67 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/crypto/ |
A D | zstd.c | 153 size_t out_len; in __zstd_compress() local 157 out_len = zstd_compress_cctx(zctx->cctx, dst, *dlen, src, slen, ¶ms); 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()
|
A D | lz4.c | 56 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()
|
A D | lz4hc.c | 55 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()
|
/linux/fs/btrfs/ |
A D | lzo.c | 237 size_t out_len; in lzo_compress_pages() local 251 workspace->cbuf, &out_len, in lzo_compress_pages() 260 ret = copy_compressed_data_to_page(workspace->cbuf, out_len, in lzo_compress_pages() 368 size_t out_len = lzo1x_worst_compress(sectorsize); in lzo_decompress_bio() local 388 workspace->buf, &out_len); in lzo_decompress_bio() 396 ret = btrfs_decompress_buf2page(workspace->buf, out_len, cb, cur_out); in lzo_decompress_bio() 397 cur_out += out_len; in lzo_decompress_bio() 424 size_t out_len; in lzo_decompress() local 445 out_len = PAGE_SIZE; in lzo_decompress() 453 if (out_len < start_byte) { in lzo_decompress() [all …]
|
/linux/lib/lzo/ |
A D | lzo1x_compress.c | 23 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()
|
A D | lzo1x_decompress_safe.c | 40 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/security/keys/ |
A D | keyctl_pkey.c | 140 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() 243 out = kmalloc(params.out_len, GFP_KERNEL); in keyctl_pkey_e_d_s()
|
/linux/drivers/hv/ |
A D | hv_fcopy.c | 128 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/fs/exfat/ |
A D | nls.c | 544 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/drivers/net/ethernet/sfc/ |
A D | tx_tso.c | 59 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/fs/squashfs/ |
A D | lzo_wrapper.c | 74 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/scripts/kconfig/ |
A D | preprocess.c | 500 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()
|
/linux/drivers/staging/media/atomisp/pci/ |
A D | atomisp_gmin_platform.c | 1080 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 1232 out, out_len); in gmin_get_config_var() 1255 ev->var.DataSize = *out_len; in gmin_get_config_var() [all …]
|
/linux/fs/vboxsf/ |
A D | utils.c | 368 int path_len, out_len, nb; in vboxsf_path_from_dentry() local 392 out_len = PATH_MAX - SHFLSTRING_HEADER_SIZE - 1; in vboxsf_path_from_dentry() 404 nb = utf32_to_utf8(uni, out, out_len); in vboxsf_path_from_dentry() 411 out_len -= nb; in vboxsf_path_from_dentry() 441 size_t out_len; in vboxsf_nlscpy() local 449 out_len = 0; in vboxsf_nlscpy() 470 out_len += nb; in vboxsf_nlscpy()
|
/linux/drivers/crypto/nx/ |
A D | nx-842.h | 146 unsigned char *out, unsigned int *out_len, 149 unsigned char *out, unsigned int *out_len,
|
/linux/drivers/target/iscsi/ |
A D | iscsi_target_auth.c | 505 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()
|
/linux/drivers/cxl/ |
A D | pci.c | 97 size_t out_len; in __cxl_pci_mbox_send_cmd() local 163 out_len = FIELD_GET(CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK, cmd_reg); in __cxl_pci_mbox_send_cmd() 166 if (out_len && mbox_cmd->payload_out) { in __cxl_pci_mbox_send_cmd() 174 size_t n = min3(mbox_cmd->size_out, cxlm->payload_size, out_len); in __cxl_pci_mbox_send_cmd()
|