/Linux-v4.19/lib/ |
D | decompress_unlzo.c | 55 STATIC inline long INIT parse_header(u8 *input, long *skip, long in_len) in parse_header() argument 59 u8 *end = input + in_len; in parse_header() 68 if (in_len < HEADER_SIZE_MIN) in parse_header() 112 STATIC int INIT unlzo(u8 *input, long in_len, in unlzo() argument 166 in_len = fill(in_buf, HEADER_SIZE_MAX); in unlzo() 169 if (!parse_header(in_buf, &skip, in_len)) { in unlzo() 174 in_len -= skip; in unlzo() 178 memcpy(in_buf_save, in_buf, in_len); in unlzo() 187 if (fill && in_len < 4) { in unlzo() 188 skip = fill(in_buf + in_len, 4 - in_len); in unlzo() [all …]
|
D | decompress_unlz4.c | 34 STATIC inline int INIT unlz4(u8 *input, long in_len, in unlz4() argument 46 long size = in_len; in unlz4() 48 size_t out_len = get_unaligned_le32(input + in_len); in unlz4() 202 STATIC int INIT __decompress(unsigned char *buf, long in_len, in __decompress() argument 210 return unlz4(buf, in_len - 4, fill, flush, output, posp, error); in __decompress()
|
D | decompress_unlzma.c | 537 STATIC inline int INIT unlzma(unsigned char *buf, long in_len, in unlzma() argument 578 rc_init(&rc, fill, inbuf, in_len); in unlzma() 670 STATIC int INIT __decompress(unsigned char *buf, long in_len, in __decompress() argument 677 return unlzma(buf, in_len - 4, fill, flush, output, posp, error); in __decompress()
|
/Linux-v4.19/fs/ubifs/ |
D | compress.c | 96 int in_len, void *out_buf, int *out_len, int *compr_type) in ubifs_compress() argument 105 if (in_len < UBIFS_MIN_COMPR_LEN) in ubifs_compress() 110 err = crypto_comp_compress(compr->cc, in_buf, in_len, out_buf, in ubifs_compress() 116 in_len, compr->name, err); in ubifs_compress() 124 if (in_len - *out_len < UBIFS_MIN_COMPRESS_DIFF) in ubifs_compress() 130 memcpy(out_buf, in_buf, in_len); in ubifs_compress() 131 *out_len = 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() 167 *out_len = in_len; in ubifs_decompress() [all …]
|
D | crypto.c | 28 unsigned int in_len, unsigned int *out_len, int block) in ubifs_encrypt() argument 33 unsigned int pad_len = round_up(in_len, UBIFS_CIPHER_BLOCK_SIZE); in ubifs_encrypt() 36 dn->compr_size = cpu_to_le16(in_len); in ubifs_encrypt() 39 if (pad_len != in_len) in ubifs_encrypt() 40 memset(p + in_len, 0, pad_len - in_len); in ubifs_encrypt()
|
/Linux-v4.19/fs/btrfs/ |
D | lzo.c | 131 size_t in_len; in lzo_compress_pages() local 164 in_len = min(len, PAGE_SIZE); in lzo_compress_pages() 166 ret = lzo1x_1_compress(data_in, in_len, workspace->cbuf, in lzo_compress_pages() 181 tot_in += in_len; in lzo_compress_pages() 254 in_len = min(bytes_left, PAGE_SIZE); in lzo_compress_pages() 296 size_t in_len; in lzo_decompress_bio() local 333 in_len = read_compress_length(data_in + in_offset); in lzo_decompress_bio() 344 if (in_len > max_segment_len || tot_in + in_len > tot_len) { in lzo_decompress_bio() 349 tot_in += in_len; in lzo_decompress_bio() 350 working_bytes = in_len; in lzo_decompress_bio() [all …]
|
/Linux-v4.19/net/ceph/ |
D | crypto.c | 217 void *buf, int buf_len, int in_len, int *pout_len) in ceph_aes_crypt() argument 223 int pad_byte = AES_BLOCK_SIZE - (in_len & (AES_BLOCK_SIZE - 1)); in ceph_aes_crypt() 224 int crypt_len = encrypt ? in_len + pad_byte : in_len; in ceph_aes_crypt() 229 memset(buf + in_len, pad_byte, pad_byte); in ceph_aes_crypt() 263 pad_byte = *(char *)(buf + in_len - 1); in ceph_aes_crypt() 265 in_len >= pad_byte) { in ceph_aes_crypt() 266 *pout_len = in_len - pad_byte; in ceph_aes_crypt() 269 __func__, pad_byte, in_len); in ceph_aes_crypt() 281 void *buf, int buf_len, int in_len, int *pout_len) in ceph_crypt() argument 285 *pout_len = in_len; in ceph_crypt() [all …]
|
D | crypto.h | 28 void *buf, int buf_len, int in_len, int *pout_len);
|
/Linux-v4.19/drivers/net/ethernet/sfc/ |
D | tx_tso.c | 69 unsigned int in_len; member 177 unsigned int header_len, in_len; in tso_start() local 183 in_len = skb_headlen(skb) - header_len; in tso_start() 185 st->in_len = in_len; in tso_start() 218 st->in_len = skb_frag_size(frag); in tso_get_fragment() 242 if (st->in_len == 0) in tso_fill_packet_with_fragment() 247 EFX_WARN_ON_ONCE_PARANOID(st->in_len <= 0); in tso_fill_packet_with_fragment() 250 n = min(st->in_len, st->packet_space); in tso_fill_packet_with_fragment() 254 st->in_len -= n; in tso_fill_packet_with_fragment() 266 if (st->in_len == 0) { in tso_fill_packet_with_fragment() [all …]
|
/Linux-v4.19/net/tls/ |
D | tls_device_fallback.c | 52 struct scatter_walk *out, int *in_len) in tls_enc_record() argument 60 len = min_t(int, *in_len, ARRAY_SIZE(buf)); in tls_enc_record() 65 *in_len -= len; in tls_enc_record() 66 if (!*in_len) in tls_enc_record() 88 *in_len -= len; in tls_enc_record() 89 if (*in_len < 0) { in tls_enc_record() 90 *in_len += TLS_CIPHER_AES_GCM_128_TAG_SIZE; in tls_enc_record() 98 if (*in_len < 0) in tls_enc_record() 99 len += *in_len; in tls_enc_record() 101 *in_len = 0; in tls_enc_record() [all …]
|
/Linux-v4.19/drivers/infiniband/core/ |
D | uverbs_cmd.c | 70 int in_len, int out_len) in ib_uverbs_get_context() argument 102 in_len - sizeof(cmd) - sizeof(struct ib_uverbs_cmd_hdr), in ib_uverbs_get_context() 165 return in_len; in ib_uverbs_get_context() 236 int in_len, int out_len) in ib_uverbs_query_device() argument 258 return in_len; in ib_uverbs_query_device() 284 int in_len, int out_len) in ib_uverbs_query_port() argument 344 return in_len; in ib_uverbs_query_port() 349 int in_len, int out_len) in ib_uverbs_alloc_pd() argument 367 in_len - sizeof(cmd) - sizeof(struct ib_uverbs_cmd_hdr), in ib_uverbs_alloc_pd() 396 return uobj_alloc_commit(uobj, in_len); in ib_uverbs_alloc_pd() [all …]
|
D | ucm.c | 394 int in_len, int out_len) in ib_ucm_event() argument 479 int in_len, int out_len) in ib_ucm_create_id() argument 526 int in_len, int out_len) in ib_ucm_destroy_id() argument 571 int in_len, int out_len) in ib_ucm_attr_id() argument 603 int in_len, int out_len) in ib_ucm_init_qp_attr() argument 652 int in_len, int out_len) in ib_ucm_listen() argument 677 int in_len, int out_len) in ib_ucm_notify() argument 740 int in_len, int out_len) in ib_ucm_send_req() argument 798 int in_len, int out_len) in ib_ucm_send_rep() argument 837 const char __user *inbuf, int in_len, in ib_ucm_send_private_data() argument [all …]
|
D | ucma.c | 399 int in_len, int out_len) in ucma_get_event() argument 480 int in_len, int out_len) in ucma_create_id() argument 604 int in_len, int out_len) in ucma_destroy_id() argument 652 int in_len, int out_len) in ucma_bind_ip() argument 674 int in_len, int out_len) in ucma_bind() argument 698 int in_len, int out_len) in ucma_resolve_ip() argument 723 int in_len, int out_len) in ucma_resolve_addr() argument 749 int in_len, int out_len) in ucma_resolve_route() argument 833 int in_len, int out_len) in ucma_query_route() argument 1010 int in_len, int out_len) in ucma_query() argument [all …]
|
/Linux-v4.19/lib/lzo/ |
D | lzo1x_compress.c | 21 lzo1x_1_do_compress(const unsigned char *in, size_t in_len, in lzo1x_1_do_compress() argument 27 const unsigned char * const in_end = in + in_len; in lzo1x_1_do_compress() 28 const unsigned char * const ip_end = in + in_len - 20; in lzo1x_1_do_compress() 216 int lzo1x_1_compress(const unsigned char *in, size_t in_len, in lzo1x_1_compress() argument 222 size_t l = in_len; in lzo1x_1_compress() 240 const unsigned char *ii = in + in_len - t; in lzo1x_1_compress()
|
D | lzo1x_decompress_safe.c | 38 int lzo1x_decompress_safe(const unsigned char *in, size_t in_len, in lzo1x_decompress_safe() argument 46 const unsigned char * const ip_end = in + in_len; in lzo1x_decompress_safe() 52 if (unlikely(in_len < 3)) in lzo1x_decompress_safe()
|
/Linux-v4.19/scripts/kconfig/ |
D | preprocess.c | 497 size_t in_len, out_len; in __expand_string() local 507 in_len = p - in; in __expand_string() 510 out_len += in_len + strlen(expansion); in __expand_string() 512 strncat(out, in, in_len); in __expand_string() 525 in_len = p - in; in __expand_string() 526 out_len += in_len; in __expand_string() 528 strncat(out, in, in_len); in __expand_string()
|
/Linux-v4.19/fs/befs/ |
D | linuxvfs.c | 50 static int befs_utf2nls(struct super_block *sb, const char *in, int in_len, 52 static int befs_nls2utf(struct super_block *sb, const char *in, int in_len, 511 int in_len, char **out, int *out_len) in befs_utf2nls() argument 522 int maxlen = in_len + 1; in befs_utf2nls() 535 for (i = o = 0; i < in_len; i += utflen, o += unilen) { in befs_utf2nls() 538 utflen = utf8_to_utf32(&in[i], in_len - i, &uni); in befs_utf2nls() 545 unilen = nls->uni2char(uni, &result[o], in_len - o); in befs_utf2nls() 588 int in_len, char **out, int *out_len) in befs_nls2utf() argument 600 int maxlen = (3 * in_len) + 1; in befs_nls2utf() 616 for (i = o = 0; i < in_len; i += unilen, o += utflen) { in befs_nls2utf() [all …]
|
/Linux-v4.19/drivers/staging/rtl8712/ |
D | rtl871x_mlme.h | 201 u8 *out_ie, uint in_len); 203 u8 *out_ie, uint in_len, uint initial_out_len); 215 u8 *out_ie, uint in_len, uint *pout_len);
|
D | ieee80211.c | 371 int r8712_get_sec_ie(u8 *in_ie, uint in_len, u8 *rsn_ie, u16 *rsn_len, in r8712_get_sec_ie() argument 380 while (cnt < in_len) { in r8712_get_sec_ie() 401 int r8712_get_wps_ie(u8 *in_ie, uint in_len, u8 *wps_ie, uint *wps_ielen) in r8712_get_wps_ie() argument 409 while (cnt < in_len) { in r8712_get_wps_ie()
|
/Linux-v4.19/drivers/crypto/nx/ |
D | nx-842.h | 145 int (*compress)(const unsigned char *in, unsigned int in_len, 148 int (*decompress)(const unsigned char *in, unsigned int in_len,
|
/Linux-v4.19/drivers/staging/rtl8723bs/core/ |
D | rtw_ieee80211.c | 183 u8 *rtw_get_ie_ex(u8 *in_ie, uint in_len, u8 eid, u8 *oui, u8 oui_len, u8 *ie, uint *ielen) in rtw_get_ie_ex() argument 191 if (!in_ie || in_len <= 0) in rtw_get_ie_ex() 196 while (cnt < in_len) { in rtw_get_ie_ex() 609 int rtw_get_wapi_ie(u8 *in_ie, uint in_len, u8 *wapi_ie, u16 *wapi_len) in rtw_get_wapi_ie() argument 620 if (!in_ie || in_len <= 0) in rtw_get_wapi_ie() 625 while (cnt < in_len) { in rtw_get_wapi_ie() 657 int rtw_get_sec_ie(u8 *in_ie, uint in_len, u8 *rsn_ie, u16 *rsn_len, u8 *wpa_ie, u16 *wpa_len) in rtw_get_sec_ie() argument 669 while (cnt < in_len) { in rtw_get_sec_ie() 739 u8 *rtw_get_wps_ie(u8 *in_ie, uint in_len, u8 *wps_ie, uint *wps_ielen) in rtw_get_wps_ie() argument 748 if (!in_ie || in_len <= 0) in rtw_get_wps_ie() [all …]
|
/Linux-v4.19/block/ |
D | scsi_ioctl.c | 425 unsigned int in_len, out_len, bytes, opcode, cmdlen; in sg_scsi_ioctl() local 434 if (get_user(in_len, &sic->inlen)) in sg_scsi_ioctl() 438 if (in_len > PAGE_SIZE || out_len > PAGE_SIZE) in sg_scsi_ioctl() 443 bytes = max(in_len, out_len); in sg_scsi_ioctl() 451 rq = blk_get_request(q, in_len ? REQ_OP_SCSI_OUT : REQ_OP_SCSI_IN, 0); in sg_scsi_ioctl() 468 if (in_len && copy_from_user(buffer, sic->data + cmdlen, in_len)) in sg_scsi_ioctl()
|
/Linux-v4.19/drivers/nvdimm/ |
D | bus.c | 929 u32 in_len = 0, out_len = 0; in __nd_ioctl() local 984 if (in_len < sizeof(in_env)) in __nd_ioctl() 985 copy = min_t(u32, sizeof(in_env) - in_len, in_size); in __nd_ioctl() 988 if (copy && copy_from_user(&in_env[in_len], p + in_len, copy)) in __nd_ioctl() 990 in_len += in_size; in __nd_ioctl() 997 in_len, out_len, buf_len); in __nd_ioctl() 1016 p + in_len + out_len, copy)) in __nd_ioctl() 1021 buf_len = (u64) out_len + (u64) in_len; in __nd_ioctl()
|
/Linux-v4.19/drivers/staging/rtl8188eu/include/ |
D | rtw_mlme.h | 317 uint in_len); 319 uint in_len, uint initial_out_len); 350 u8 *out_ie, uint in_len, uint *pout_len);
|
/Linux-v4.19/drivers/media/pci/ngene/ |
D | ngene-i2c.c | 55 com.in_len = outlen + 3; in ngene_command_i2c_read() 81 com.in_len = outlen + 1; in ngene_command_i2c_write()
|