Home
last modified time | relevance | path

Searched refs:verlen (Results 1 – 2 of 2) sorted by relevance

/external/u-boot/drivers/mtd/nand/
Dnand_util.c482 size_t verlen = mtd->writesize + mtd->oobsize; in nand_verify_page_oob() local
486 vops.datbuf = memalign(ARCH_DMA_MINALIGN, verlen); in nand_verify_page_oob()
522 size_t verlen = mtd->writesize; in nand_verify() local
523 uint8_t *verbuf = memalign(ARCH_DMA_MINALIGN, verlen); in nand_verify()
530 verofs += verlen, buf += verlen) { in nand_verify()
531 verlen = min(mtd->writesize, (uint32_t)(ofs + len - verofs)); in nand_verify()
532 rval = nand_read(mtd, verofs, &verlen, verbuf); in nand_verify()
534 rval = memcmp(buf, verbuf, verlen); in nand_verify()
/external/kmod/libkmod/
Dlibkmod-elf.c905 size_t verlen, crclen, off; in kmod_elf_crc_find() local
910 verlen = sizeof(*mv); in kmod_elf_crc_find()
914 verlen = sizeof(*mv); in kmod_elf_crc_find()
919 for (i = 0; i < versionslen; i += verlen) { in kmod_elf_crc_find()
924 return i / verlen; in kmod_elf_crc_find()
944 size_t slen, verlen, symlen, crclen; in kmod_elf_get_dependency_symbols() local
954 verlen = 0; in kmod_elf_get_dependency_symbols()
959 verlen = sizeof(*mv); in kmod_elf_get_dependency_symbols()
963 verlen = sizeof(*mv); in kmod_elf_get_dependency_symbols()
966 if (versionslen % verlen != 0) { in kmod_elf_get_dependency_symbols()
[all …]