/u-boot/fs/btrfs/ |
A D | compression.c | 19 static u32 decompress_lzo(const u8 *cbuf, u32 clen, u8 *dbuf, u32 dlen) in decompress_lzo() argument 35 if (tot_len == 0 && dlen) in decompress_lzo() 55 out_len = dlen; in decompress_lzo() 63 dlen -= out_len; in decompress_lzo() 86 static u32 decompress_zlib(const u8 *_cbuf, u32 clen, u8 *dbuf, u32 dlen) in decompress_zlib() argument 100 stream.avail_out = dlen; in decompress_zlib() 166 out_buf.size = dlen; in decompress_zstd() 200 res = dlen < clen ? dlen : clen; in btrfs_decompress() 204 return decompress_zlib(cbuf, clen, dbuf, dlen); in btrfs_decompress() 206 return decompress_lzo(cbuf, clen, dbuf, dlen); in btrfs_decompress() [all …]
|
/u-boot/arch/arm/mach-socfpga/ |
A D | scan_manager.c | 114 const unsigned int dlen) in scan_mgr_jtag_insn_data() argument 118 scan_mgr_jtag_io(JTAG_BP_INSN | JTAG_BP_2BYTE, iarg, dlen - 1); in scan_mgr_jtag_insn_data() 121 for (i = 0; i < dlen / 32; i++) in scan_mgr_jtag_insn_data() 124 if ((dlen % 32) > 24) { /* 31...24 bits remain */ in scan_mgr_jtag_insn_data() 126 } else if (dlen % 32) { /* 24...1 bit remain */ in scan_mgr_jtag_insn_data() 127 for (j = 0; j < dlen % 32; j += 8) in scan_mgr_jtag_insn_data()
|
/u-boot/lib/lzo/ |
A D | lzo1x_decompress.c | 83 u32 slen, dlen; in lzop_decompress() local 94 dlen = get_unaligned_be32(src); in lzop_decompress() 98 if (dlen == 0) { in lzop_decompress() 107 if (slen <= 0 || slen > dlen) in lzop_decompress() 111 if (dlen > remaining) in lzop_decompress() 117 if (dlen == slen) { in lzop_decompress() 121 tmp = dlen; in lzop_decompress() 129 if (dlen != tmp) in lzop_decompress() 134 dst += dlen; in lzop_decompress() 135 remaining -= dlen; in lzop_decompress()
|
/u-boot/net/ |
A D | dns.c | 121 int found, stop, dlen; in dns_handler() local 177 dlen = get_unaligned_be16(p+10); in dns_handler() 178 debug("dlen = %d\n", dlen); in dns_handler() 179 p += 12 + dlen; in dns_handler() 191 dlen = get_unaligned_be16(p+10); in dns_handler() 195 if (p + dlen <= e) { in dns_handler()
|
/u-boot/drivers/i2c/ |
A D | fsl_i2c.c | 409 int olen, u8 *data, int dlen) in __i2c_read() argument 432 ret = __i2c_read_data(base, data, dlen); in __i2c_read() 434 if ((!dlen || olen > 0) && in __i2c_read() 441 ret = __i2c_read_data(base, data, dlen); in __i2c_read() 449 if (ret == dlen) in __i2c_read() 465 ret = __i2c_write_data(base, data, dlen); in __i2c_write() 472 if (ret == dlen) in __i2c_write() 513 int olen, u8 *data, int dlen) in fsl_i2c_read() argument 518 olen, data, dlen); in fsl_i2c_read() 522 int olen, u8 *data, int dlen) in fsl_i2c_write() argument [all …]
|
/u-boot/fs/ubifs/ |
A D | ubifs.c | 114 unsigned int *dlen) in crypto_comp_decompress() argument 118 size_t tmp_len = *dlen; in crypto_comp_decompress() 122 *dlen = slen; in crypto_comp_decompress() 131 *dlen = tmp_len; in crypto_comp_decompress() 681 unsigned int dlen; in read_block() local 698 dlen = le32_to_cpu(dn->ch.len) - UBIFS_DATA_NODE_SZ; in read_block() 700 err = ubifs_decompress(c, &dn->data, dlen, addr, &out_len, in read_block() 763 int dlen; in do_readpage() local 790 dlen = last_block_size; in do_readpage() 792 dlen = le32_to_cpu(dn->size); in do_readpage() [all …]
|
A D | recovery.c | 471 int skip, dlen = le32_to_cpu(ch->len); in no_more_nodes() local 486 skip = ALIGN(offs + dlen, c->max_write_size) - offs; in no_more_nodes()
|
A D | debug.c | 479 int dlen = le32_to_cpu(ch->len) - UBIFS_DATA_NODE_SZ; in ubifs_dump_node() local 487 pr_err("\tdata size %d\n", dlen); in ubifs_dump_node() 490 (void *)&dn->data, dlen, 0); in ubifs_dump_node()
|
/u-boot/include/ |
A D | pci_rom.h | 24 uint16_t dlen; member
|
/u-boot/arch/mips/mach-octeon/include/mach/ |
A D | cvmx-bootloader.h | 51 uint32_t dlen; /* Length of data (following header) in bytes */ member
|
/u-boot/drivers/mtd/ubispl/ |
A D | ubispl.c | 916 u32 pnum, crc, dlen; in ubi_load_block() local 966 dlen = be32_to_cpu(vh->data_size); in ubi_load_block() 973 ubi_io_read(ubi, laddr, pnum, ubi->leb_start, dlen); in ubi_load_block() 976 crc = crc32(UBI_CRC32_INIT, laddr, dlen); in ubi_load_block() 986 return dlen; in ubi_load_block()
|
/u-boot/tools/ |
A D | asn1_compiler.c | 321 size_t dlen, clen; in directive_compare() local 324 dlen = strlen(dir); in directive_compare() 325 clen = (dlen < token->size) ? dlen : token->size; in directive_compare() 335 if (dlen == token->size) { in directive_compare() 340 return dlen - token->size; /* shorter -> negative */ in directive_compare()
|
A D | update_octeon_header.c | 382 header.dlen = htonl(data_len); in main()
|
/u-boot/fs/zfs/ |
A D | zfs.c | 184 uint32_t slen, uint32_t dlen) in zlib_decompress() argument 186 if (zlib_decompress(s, d, slen, dlen) < 0) in zlib_decompress()
|