Home
last modified time | relevance | path

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

/openbmc/linux/drivers/mtd/nand/raw/
H A Dnand_macronix.c377 size_t bytes_handled; in __macronix_30lfxg18ac_rw_otp() local
392 bytes_handled = 0; in __macronix_30lfxg18ac_rw_otp()
394 while (bytes_handled < len && in __macronix_30lfxg18ac_rw_otp()
399 bytes_to_handle = min_t(size_t, len - bytes_handled, in __macronix_30lfxg18ac_rw_otp()
405 &buf[bytes_handled], bytes_to_handle); in __macronix_30lfxg18ac_rw_otp()
408 &buf[bytes_handled], bytes_to_handle); in __macronix_30lfxg18ac_rw_otp()
412 bytes_handled += bytes_to_handle; in __macronix_30lfxg18ac_rw_otp()
417 *retlen = bytes_handled; in __macronix_30lfxg18ac_rw_otp()
/openbmc/qemu/block/
H A Dmirror.c112 int64_t *bytes_handled; member
360 *op->bytes_handled = op->bytes; in mirror_co_read()
363 *op->bytes_handled += mirror_cow_align(s, &op->offset, &op->bytes); in mirror_co_read()
366 assert(*op->bytes_handled <= UINT_MAX); in mirror_co_read()
414 *op->bytes_handled = op->bytes; in mirror_co_zero()
429 *op->bytes_handled = op->bytes; in mirror_co_discard()
441 int64_t bytes_handled = -1; in mirror_perform() local
448 .bytes_handled = &bytes_handled, in mirror_perform()
473 assert(bytes_handled >= 0); in mirror_perform()
478 assert(bytes_handled <= UINT_MAX); in mirror_perform()
[all …]