Home
last modified time | relevance | path

Searched refs:dlen (Results 1 – 14 of 14) sorted by relevance

/u-boot/fs/btrfs/
A Dcompression.c19 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 Dscan_manager.c114 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 Dlzo1x_decompress.c83 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 Ddns.c121 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 Dfsl_i2c.c409 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 Dubifs.c114 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 Drecovery.c471 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 Ddebug.c479 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 Dpci_rom.h24 uint16_t dlen; member
/u-boot/arch/mips/mach-octeon/include/mach/
A Dcvmx-bootloader.h51 uint32_t dlen; /* Length of data (following header) in bytes */ member
/u-boot/drivers/mtd/ubispl/
A Dubispl.c916 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 Dasn1_compiler.c321 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 Dupdate_octeon_header.c382 header.dlen = htonl(data_len); in main()
/u-boot/fs/zfs/
A Dzfs.c184 uint32_t slen, uint32_t dlen) in zlib_decompress() argument
186 if (zlib_decompress(s, d, slen, dlen) < 0) in zlib_decompress()

Completed in 26 milliseconds