Home
last modified time | relevance | path

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

/OK3568_Linux_fs/external/recovery/update_engine/
H A Dupdate.c272 unsigned int dd_bs = 0; in ota_recovery_cmds() local
276 dd_bs = j * SECTOR_SIZE; in ota_recovery_cmds()
277 if ( !(flash_offset % dd_bs) ) { in ota_recovery_cmds()
278 dd_seek = flash_offset / dd_bs; in ota_recovery_cmds()
280 … flash_offset, j, dd_bs, dd_seek, (dd_bs * dd_seek == flash_offset) ? "YES" : "NO" ); in ota_recovery_cmds()
283 dd_bs = 1; in ota_recovery_cmds()
287 … bs=%d seek=%lld; \t###flash offset [%#10llx] \n", flash_name, dest_path, dd_bs, dd_seek, flash_of… in ota_recovery_cmds()
H A Dflash_image.c96 long long dd_bs = 1; in mtd_write() local
105 dd_bs = get_gcd(offset, size); in mtd_write()
106 dd_skip = offset / dd_bs; in mtd_write()
107 dd_count = size / dd_bs; in mtd_write()
111 src_path, dd_bs, dd_skip, dd_count, dest_path ); in mtd_write()