| /OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/progs/ |
| H A D | test_tc_tunnel.c | 79 int olen, l2_len; in encap_ipv4() local 132 olen = sizeof(h_outer.ip); in encap_ipv4() 152 olen += sizeof(h_outer.l4hdr.gre); in encap_ipv4() 158 olen += sizeof(h_outer.l4hdr.udp); in encap_ipv4() 176 *((__u32 *)((__u8 *)&h_outer + olen)) = mpls_label; in encap_ipv4() 179 if (bpf_skb_load_bytes(skb, 0, (__u8 *)&h_outer + olen, in encap_ipv4() 184 olen += l2_len; in encap_ipv4() 187 if (bpf_skb_adjust_room(skb, olen, BPF_ADJ_ROOM_MAC, flags)) in encap_ipv4() 192 h_outer.ip.tot_len = bpf_htons(olen + in encap_ipv4() 199 if (bpf_skb_store_bytes(skb, ETH_HLEN, &h_outer, olen, in encap_ipv4() [all …]
|
| /OK3568_Linux_fs/kernel/net/ceph/ |
| H A D | armor.c | 39 int olen = 0; in ceph_armor() local 64 olen += 4; in ceph_armor() 69 olen++; in ceph_armor() 72 return olen; in ceph_armor() 77 int olen = 0; in ceph_unarmor() local 97 return olen + 1; in ceph_unarmor() 100 return olen + 2; in ceph_unarmor() 102 olen += 3; in ceph_unarmor() 105 return olen; in ceph_unarmor()
|
| /OK3568_Linux_fs/kernel/lib/842/ |
| H A D | 842_decompress.c | 56 u64 olen; member 136 if (n > p->olen) in do_data() 158 p->olen -= n; in do_data() 207 p->olen -= size; in __do_index() 278 u8 *out, unsigned int *olen) in sw842_decompress() argument 290 p.olen = *olen; in sw842_decompress() 292 total = p.olen; in sw842_decompress() 294 *olen = 0; in sw842_decompress() 315 if (rep * 8 > p.olen) in sw842_decompress() 321 p.olen -= 8; in sw842_decompress() [all …]
|
| H A D | 842_compress.c | 93 u64 olen; member 183 else if (p->olen < 8 && bits > 32 && bits <= 56) in add_bits() 185 else if (p->olen < 4 && bits > 16 && bits <= 24) in add_bits() 188 if (DIV_ROUND_UP(bits, 8) > p->olen) in add_bits() 215 p->olen -= p->bit / 8; in add_bits() 478 u8 *out, unsigned int *olen, void *wmem) in sw842_compress() argument 496 p->olen = *olen; in sw842_compress() 499 total = p->olen; in sw842_compress() 501 *olen = 0; in sw842_compress() 589 p->olen--; in sw842_compress() [all …]
|
| /OK3568_Linux_fs/kernel/arch/x86/boot/compressed/ |
| H A D | mkpiggy.c | 21 uint32_t olen; in main() local 44 if (fread(&olen, sizeof(olen), 1, f) != 1) { in main() 50 olen = get_unaligned_le32(&olen); in main() 56 printf("z_output_len = %lu\n", (unsigned long)olen); in main() 67 printf("output_len:\n\t.long %lu\n", (unsigned long)olen); in main()
|
| /OK3568_Linux_fs/u-boot/cmd/ |
| H A D | setexpr.c | 85 int olen, /* length of old string */ in substitute() argument 89 char *p = memstr(string, *slen, old, olen); in substitute() 95 (long)(p - string), olen, nlen); in substitute() 98 if (*slen + nlen - olen > ssize) { in substitute() 104 if (olen != nlen) { in substitute() 107 len = (olen > nlen) ? olen : nlen; in substitute() 113 memmove(p + nlen, p + olen, tail); in substitute() 119 *slen += nlen - olen; in substitute() 180 int i, olen; in regex_sub() local 212 olen = caps[0].len; in regex_sub() [all …]
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/host_include/mbedtls/ |
| H A D | entropy_poll.h | 54 unsigned char *output, size_t len, size_t *olen ); 62 unsigned char *output, size_t len, size_t *olen ); 72 unsigned char *output, size_t len, size_t *olen ); 80 unsigned char *output, size_t len, size_t *olen ); 93 unsigned char *output, size_t len, size_t *olen ); 103 unsigned char *output, size_t len, size_t *olen );
|
| H A D | cipher.h | 309 void (*add_padding)( unsigned char *output, size_t olen, size_t data_len ); 764 size_t *olen ); 789 unsigned char *output, size_t *olen ); 864 unsigned char *output, size_t *olen ); 901 unsigned char *output, size_t *olen, 943 unsigned char *output, size_t *olen,
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/include/mbedtls/ |
| H A D | entropy_poll.h | 54 unsigned char *output, size_t len, size_t *olen ); 62 unsigned char *output, size_t len, size_t *olen ); 72 unsigned char *output, size_t len, size_t *olen ); 80 unsigned char *output, size_t len, size_t *olen ); 93 unsigned char *output, size_t len, size_t *olen ); 103 unsigned char *output, size_t len, size_t *olen );
|
| H A D | cipher.h | 309 void (*add_padding)( unsigned char *output, size_t olen, size_t data_len ); 764 size_t *olen ); 789 unsigned char *output, size_t *olen ); 864 unsigned char *output, size_t *olen ); 901 unsigned char *output, size_t *olen, 943 unsigned char *output, size_t *olen,
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/host_include/mbedtls/ |
| H A D | entropy_poll.h | 54 unsigned char *output, size_t len, size_t *olen ); 62 unsigned char *output, size_t len, size_t *olen ); 72 unsigned char *output, size_t len, size_t *olen ); 80 unsigned char *output, size_t len, size_t *olen ); 93 unsigned char *output, size_t len, size_t *olen ); 103 unsigned char *output, size_t len, size_t *olen );
|
| H A D | cipher.h | 309 void (*add_padding)( unsigned char *output, size_t olen, size_t data_len ); 764 size_t *olen ); 789 unsigned char *output, size_t *olen ); 864 unsigned char *output, size_t *olen ); 901 unsigned char *output, size_t *olen, 943 unsigned char *output, size_t *olen,
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/include/mbedtls/ |
| H A D | entropy_poll.h | 54 unsigned char *output, size_t len, size_t *olen ); 62 unsigned char *output, size_t len, size_t *olen ); 72 unsigned char *output, size_t len, size_t *olen ); 80 unsigned char *output, size_t len, size_t *olen ); 93 unsigned char *output, size_t len, size_t *olen ); 103 unsigned char *output, size_t len, size_t *olen );
|
| H A D | cipher.h | 309 void (*add_padding)( unsigned char *output, size_t olen, size_t data_len ); 764 size_t *olen ); 789 unsigned char *output, size_t *olen ); 864 unsigned char *output, size_t *olen ); 901 unsigned char *output, size_t *olen, 943 unsigned char *output, size_t *olen,
|
| /OK3568_Linux_fs/buildroot/dl/sox/git/src/ |
| H A D | upsample.c | 45 size_t ilen = *isamp, olen = *osamp; in flow() local 47 for (; p->pos && olen; p->pos = (p->pos + 1) % p->factor, --olen) in flow() 49 if (!ilen || !olen) in flow() 52 --olen, --ilen; in flow() 55 *isamp -= ilen, *osamp -= olen; in flow()
|
| H A D | downsample.c | 52 size_t ilen = *isamp, olen = *osamp; in flow() local 63 while (ilen >= p->factor && olen) { in flow() 66 olen--; ilen -= p->factor; in flow() 69 if (ilen && olen) { in flow() 72 olen--; ilen = 0; in flow() 75 *isamp -= ilen, *osamp -= olen; in flow()
|
| /OK3568_Linux_fs/u-boot/drivers/i2c/ |
| H A D | fsl_i2c.c | 403 __i2c_read(const struct fsl_i2c_base *base, u8 chip_addr, u8 *offset, int olen, in __i2c_read() argument 418 if (olen < 0) { in __i2c_read() 420 ret = __i2c_write_data(base, data, -olen); in __i2c_read() 422 if (ret != -olen) in __i2c_read() 429 if ((!dlen || olen > 0) && in __i2c_read() 431 __i2c_write_data(base, offset, olen) == olen) in __i2c_read() 435 olen ? 1 : 0) != 0) in __i2c_read() 451 __i2c_write(const struct fsl_i2c_base *base, u8 chip_addr, u8 *offset, int olen, in __i2c_write() argument 460 __i2c_write_data(base, offset, olen) == olen) { in __i2c_write() 511 fsl_i2c_read(struct i2c_adapter *adap, u8 chip_addr, uint offset, int olen, in fsl_i2c_read() argument [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ppp/ |
| H A D | ppp_deflate.c | 189 int r, proto, off, olen, oavail; in z_compress() local 215 olen = PPP_HDRLEN + DEFLATE_OVHD; in z_compress() 217 state->strm.avail_out = oavail = osize - olen; in z_compress() 234 olen += oavail; in z_compress() 241 olen += oavail - state->strm.avail_out; in z_compress() 246 if (olen < isize && olen <= osize) { in z_compress() 247 state->stats.comp_bytes += olen; in z_compress() 252 olen = 0; in z_compress() 257 return olen; in z_compress() 415 int olen, seq, r; in z_decompress() local [all …]
|
| /OK3568_Linux_fs/kernel/arch/powerpc/boot/ |
| H A D | opal.c | 45 uint64_t olen, len; in opal_con_putc() local 48 rc = opal_console_write_buffer_space(opal_con_id, &olen); in opal_con_putc() 49 len = be64_to_cpu(olen); in opal_con_putc() 56 olen = cpu_to_be64(1); in opal_con_putc() 57 opal_console_write(opal_con_id, &olen, &c); in opal_con_putc()
|
| /OK3568_Linux_fs/kernel/drivers/i2c/busses/ |
| H A D | i2c-diolan-u2c.c | 84 int olen; /* Output buffer length */ member 102 if (!dev->olen || !dev->ocount) in diolan_usb_transfer() 107 dev->obuffer, dev->olen, &actual, in diolan_usb_transfer() 151 dev->olen = 0; in diolan_usb_transfer() 158 if (flush || dev->olen >= DIOLAN_FLUSH_LEN) in diolan_write_cmd() 166 dev->obuffer[dev->olen++] = command; in diolan_usb_cmd() 175 dev->obuffer[dev->olen++] = command; in diolan_usb_cmd_data() 176 dev->obuffer[dev->olen++] = data; in diolan_usb_cmd_data() 185 dev->obuffer[dev->olen++] = command; in diolan_usb_cmd_data2() 186 dev->obuffer[dev->olen++] = d1; in diolan_usb_cmd_data2() [all …]
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/host/openssl/include/openssl/ |
| H A D | comp.h | 23 unsigned char *out, unsigned int olen, 26 unsigned char *out, unsigned int olen, 46 int COMP_compress_block(COMP_CTX *ctx, unsigned char *out, int olen, 48 int COMP_expand_block(COMP_CTX *ctx, unsigned char *out, int olen,
|
| /OK3568_Linux_fs/kernel/drivers/iio/adc/ |
| H A D | dln2-adc.c | 149 int olen = sizeof(count); in dln2_adc_get_chan_count() local 152 &port, sizeof(port), &count, &olen); in dln2_adc_get_chan_count() 157 if (olen < sizeof(count)) in dln2_adc_get_chan_count() 202 int olen = sizeof(conflict); in dln2_adc_set_port_enabled() local 209 &conflict, &olen); in dln2_adc_set_port_enabled() 213 if (conflict_out && enable && olen >= sizeof(conflict)) in dln2_adc_set_port_enabled() 217 if (enable && olen < sizeof(conflict)) in dln2_adc_set_port_enabled() 253 int olen = sizeof(value); in dln2_adc_read() local 281 &value, &olen); in dln2_adc_read() 286 if (olen < sizeof(value)) { in dln2_adc_read() [all …]
|
| /OK3568_Linux_fs/external/security/librkcrypto/src/ |
| H A D | rkcrypto_rsa_helper.c | 341 uint32_t nb_pad, olen; in rsa_padding_add_pkcs15_type() local 349 olen = key_len; in rsa_padding_add_pkcs15_type() 352 if (in_len + 11 < in_len || olen < in_len + 11) in rsa_padding_add_pkcs15_type() 355 nb_pad = olen - 3 - in_len; in rsa_padding_add_pkcs15_type() 600 uint32_t olen; in rsa_padding_add_oaep_type() local 610 olen = key_len; in rsa_padding_add_oaep_type() 616 if (in_len + 2 * hlen + 2 < in_len || olen < in_len + 2 * hlen + 2) { in rsa_padding_add_oaep_type() 621 memset(out, 0, olen); in rsa_padding_add_oaep_type() 638 p += olen - 2 * hlen - 2 - in_len; in rsa_padding_add_oaep_type() 643 res = mgf_mask(out + hlen + 1, olen - hlen - 1, out + 1, hlen, hash_algo, hlen); in rsa_padding_add_oaep_type() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/core/ |
| H A D | uverbs.h | 58 size_t ilen, size_t olen) in ib_uverbs_init_udata() argument 63 udata->outlen = olen; in ib_uverbs_init_udata() 70 size_t ilen, size_t olen) in ib_uverbs_init_udata_buf_or_null() argument 73 ilen ? ibuf : NULL, olen ? obuf : NULL, in ib_uverbs_init_udata_buf_or_null() 74 ilen, olen); in ib_uverbs_init_udata_buf_or_null()
|
| /OK3568_Linux_fs/kernel/fs/btrfs/ |
| H A D | reflink.c | 17 const u64 olen, in clone_finish_inode_update() argument 30 if (endoff > destoff + olen) in clone_finish_inode_update() 31 endoff = destoff + olen; in clone_finish_inode_update() 329 const u64 off, const u64 olen, const u64 olen_aligned, in btrfs_clone() argument 537 destoff, olen, no_time_update); in btrfs_clone() 589 destoff, olen, no_time_update); in btrfs_clone() 637 static int btrfs_extent_same(struct inode *src, u64 loff, u64 olen, in btrfs_extent_same() argument 656 tail_len = olen % BTRFS_MAX_DEDUPE_LEN; in btrfs_extent_same() 657 chunk_count = div_u64(olen, BTRFS_MAX_DEDUPE_LEN); in btrfs_extent_same() 680 u64 off, u64 olen, u64 destoff) in btrfs_clone_files() argument [all …]
|