| /linux/lib/ |
| H 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()
|
| H A D | decompress_unzstd.c | 126 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()
|
| H 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/ |
| H A D | crypto.c | 39 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()
|
| /linux/drivers/infiniband/core/ |
| H A D | ucma.c | 376 int in_len, int out_len) in ucma_get_event() argument 385 if (out_len < sizeof(uevent->resp) - sizeof(uevent->resp.reserved) - in ucma_get_event() 410 min_t(size_t, out_len, sizeof(uevent->resp)))) { in ucma_get_event() 446 int in_len, int out_len) in ucma_create_id() argument 455 if (out_len < sizeof(resp)) in ucma_create_id() 598 int in_len, int out_len) in ucma_destroy_id() argument 605 if (out_len < sizeof(resp)) in ucma_destroy_id() 632 int in_len, int out_len) in ucma_bind_ip() argument 657 int in_len, int out_len) in ucma_bind() argument 683 int in_len, int out_len) in ucma_resolve_ip() argument [all …]
|
| /linux/fs/btrfs/ |
| H A D | lzo.c | 297 size_t out_len; in lzo_compress_bio() local 310 ret = lzo1x_1_compress(data_in, in_len, workspace->cbuf, &out_len, in lzo_compress_bio() 319 ret = copy_compressed_data_to_bio(fs_info, bio, workspace->cbuf, out_len, in lzo_compress_bio() 465 size_t out_len = lzo1x_worst_compress(sectorsize); in lzo_decompress_bio() local 511 workspace->buf, &out_len); in lzo_decompress_bio() 523 ret = btrfs_decompress_buf2page(workspace->buf, out_len, cb, cur_out); in lzo_decompress_bio() 524 cur_out += out_len; in lzo_decompress_bio() 551 size_t out_len; in lzo_decompress() local 578 out_len = sectorsize; in lzo_decompress() 579 ret = lzo1x_decompress_safe(data_in, in_len, workspace->buf, &out_len); in lzo_decompress() [all …]
|
| /linux/tools/perf/util/ |
| H A D | demangle-rust-v0.c | 115 size_t out_len; member 211 if (printer.out_len < OVERFLOW_MARGIN) { in rust_demangle_v0_display_demangle() 301 …char *punycode_start, size_t punycode_len, uint32_t (*out_)[SMALL_PUNYCODE_LEN], size_t *out_len) { in punycode_decode() argument 377 *out_len = len; in punycode_decode() 402 …size_t ascii_len, const char *punycode_start, size_t punycode_len, uint8_t *out, size_t *out_len) { in display_ident() argument 406 size_t out_buflen = *out_len; in display_ident() 413 *out_len = ascii_len; in display_ident() 423 *out_len = narrow_len; in display_ident() 447 *out_len = narrow_len; in display_ident() 542 …es_to_string_status nibbles_to_string(const char *buf, size_t len, uint8_t *out, size_t *out_len) { in nibbles_to_string() argument [all …]
|
| /linux/drivers/cxl/core/ |
| H A D | features.c | 390 size_t *out_len) in cxlctl_get_supported_features() argument 452 *out_len = out_size; in cxlctl_get_supported_features() 459 size_t *out_len) in cxlctl_get_feature() argument 464 size_t out_size = *out_len; in cxlctl_get_feature() 488 *out_len = sizeof(struct fwctl_rpc_cxl_out); in cxlctl_get_feature() 497 *out_len += out_size; in cxlctl_get_feature() 504 size_t *out_len) in cxlctl_set_feature() argument 523 out_size = *out_len; in cxlctl_set_feature() 539 *out_len = sizeof(*rpc_out); in cxlctl_set_feature() 640 size_t *out_len, u16 opcode) in cxlctl_handle_commands() argument [all …]
|
| /linux/crypto/ |
| H A D | zstd.c | 81 size_t out_len; in zstd_compress_one() local 87 out_len = zstd_compress_cctx(ctx->cctx, dst, req->dlen, src, req->slen, in zstd_compress_one() 89 if (zstd_is_error(out_len)) in zstd_compress_one() 92 *dlen = out_len; in zstd_compress_one() 193 size_t out_len; in zstd_decompress_one() local 199 out_len = zstd_decompress_dctx(ctx->dctx, dst, req->dlen, src, req->slen); in zstd_decompress_one() 200 if (zstd_is_error(out_len)) in zstd_decompress_one() 203 *dlen = out_len; in zstd_decompress_one()
|
| /linux/drivers/virt/coco/tdx-guest/ |
| H A D | tdx-guest.c | 190 u32 out_len; member 273 u32 out_len; in tdx_report_new_locked() local 316 out_len = READ_ONCE(quote_buf->out_len); in tdx_report_new_locked() 318 if (out_len > TDX_QUOTE_MAX_LEN) in tdx_report_new_locked() 321 buf = kvmemdup(quote_buf->data, out_len, GFP_KERNEL); in tdx_report_new_locked() 326 report->outblob_len = out_len; in tdx_report_new_locked()
|
| /linux/security/keys/ |
| H A D | keyctl_pkey.c | 139 uparams.out_len > info.max_enc_size) in keyctl_pkey_params_get_2() 142 params->out_len = info.max_enc_size; in keyctl_pkey_params_get_2() 146 uparams.out_len > info.max_dec_size) in keyctl_pkey_params_get_2() 149 params->out_len = info.max_dec_size; in keyctl_pkey_params_get_2() 153 uparams.out_len > info.max_sig_size) in keyctl_pkey_params_get_2() 156 params->out_len = info.max_sig_size; in keyctl_pkey_params_get_2() 163 params->out_len = info.max_sig_size; in keyctl_pkey_params_get_2() 259 out = kmalloc(params.out_len, GFP_KERNEL); in keyctl_pkey_e_d_s()
|
| /linux/drivers/platform/x86/tuxedo/nb04/ |
| H A D | wmi_util.c | 50 acpi_size out_len) in __wmi_method_buffer_out() argument 67 if (acpi_object_out->buffer.length < out_len) { in __wmi_method_buffer_out() 72 memcpy(out, acpi_object_out->buffer.pointer, out_len); in __wmi_method_buffer_out()
|
| /linux/drivers/fwctl/mlx5/ |
| H A D | main.c | 307 void *rpc_in, size_t in_len, size_t *out_len) in mlx5ctl_fw_rpc() argument 317 *out_len < MLX5_ST_SZ_BYTES(mbox_out_hdr)) in mlx5ctl_fw_rpc() 322 in_len, *out_len); in mlx5ctl_fw_rpc() 331 if (*out_len <= in_len) { in mlx5ctl_fw_rpc() 334 rpc_out = kvzalloc(*out_len, GFP_KERNEL); in mlx5ctl_fw_rpc() 341 ret = mlx5_cmd_do(mcdev->mdev, rpc_in, in_len, rpc_out, *out_len); in mlx5ctl_fw_rpc()
|
| /linux/fs/squashfs/ |
| H 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/drivers/net/ethernet/sfc/ |
| H 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/scripts/kconfig/ |
| H A D | preprocess.c | 507 size_t in_len, out_len; in __expand_string() local 511 out_len = 1; in __expand_string() 520 out_len += in_len + strlen(expansion); in __expand_string() 521 out = xrealloc(out, out_len); in __expand_string() 536 out_len += in_len; in __expand_string() 537 out = xrealloc(out, out_len); in __expand_string()
|
| /linux/include/crypto/ |
| H A D | sha3.h | 262 void shake_squeeze(struct shake_ctx *ctx, u8 *out, size_t out_len); 329 void shake128(const u8 *in, size_t in_len, u8 *out, size_t out_len); 344 void shake256(const u8 *in, size_t in_len, u8 *out, size_t out_len);
|
| /linux/lib/crypto/s390/ |
| H A D | sha3.h | 65 u8 *out, size_t out_len) in s390_sha3() argument 80 kmsan_unpoison_memory(&state, out_len); in s390_sha3() 82 memcpy(out, &state, out_len); in s390_sha3()
|
| /linux/include/linux/ |
| H A D | pci-tsm.h | 59 sockptr_t req_out, size_t out_len, 218 size_t out_len, u64 *tsm_code); 237 sockptr_t req_out, size_t out_len, in pci_tsm_guest_req() argument
|
| H A D | keyctl.h | 36 __u32 out_len; /* Output buffer size (enc/dec/sign) */ member
|
| /linux/scripts/crypto/ |
| H A D | gen-hash-testvecs.py | 222 out_len = (in_len * 293) % (max_len + 1) 223 out = hashlib.new(alg, data=in_data[:in_len]).digest(out_len) 250 for out_len in range(1, max_hash_size + 1): 251 h = hashlib.new(alg, digest_size=out_len, key=rand_bytes(key_len))
|
| /linux/security/selinux/ss/ |
| H A D | sidtab.h | 145 u32 *out_len); 154 u32 *out_len) in sidtab_sid2str_get() argument
|
| /linux/drivers/media/pci/ngene/ |
| H A D | ngene-i2c.c | 43 com.out_len = inlen + 1; in ngene_command_i2c_read() 69 com.out_len = 1; in ngene_command_i2c_write()
|
| H A D | ngene-core.c | 288 tmpCmdDoneByte = dev->ngenetohost + com->out_len; in ngene_command_mutex() 289 if (!com->out_len) in ngene_command_mutex() 314 if (!com->out_len) in ngene_command_mutex() 317 memcpy(com->cmd.raw8, dev->ngenetohost, com->out_len); in ngene_command_mutex() 343 com.out_len = 0; in ngene_command_load_firmware() 361 com.out_len = 0; in ngene_command_load_firmware() 375 com.out_len = 0; in ngene_command_config_buf() 390 com.out_len = 0; in ngene_command_config_free_buf() 406 com.out_len = 0; in ngene_command_gpio_set() 561 com.out_len = 0; in ngene_command_stream_control() [all …]
|
| /linux/drivers/nvdimm/ |
| H A D | bus.c | 1033 u32 in_len = 0, out_len = 0; in __nd_ioctl() local 1121 in_len, out_len, buf_len); in __nd_ioctl() 1139 if (out_len < ND_CMD_MAX_ENVELOPE) in __nd_ioctl() 1140 copy = min_t(u32, ND_CMD_MAX_ENVELOPE - out_len, out_size); in __nd_ioctl() 1143 if (copy && copy_from_user(&out_env[out_len], in __nd_ioctl() 1144 p + in_len + out_len, copy)) { in __nd_ioctl() 1147 out_len += out_size; in __nd_ioctl() 1150 buf_len = (u64) out_len + (u64) in_len; in __nd_ioctl()
|